fork(1) download
  1. import java.io.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) throws IOException {
  6. String linha;
  7.  
  8. while ((linha = br.readLine()) != null) {
  9. int n = Integer.parseInt(linha);
  10. // TODO: lógica
  11. System.out.println(n == 10);
  12. }
  13. }
  14.  
  15. }
Success #stdin #stdout 0.1s 320512KB
stdin
9
10
222
stdout
false
true
false