by@taiyoslime
WA
1188ms
import java.util.*;interface A{static void main(String[]s){ int c=0; for(Scanner s=new Scanner(System.in);c<99;)if(s.nextInt()%8%3<2);System.out.print("1")else c++; } }
10 12 10 10 02 01 21 10 12 12 10 10 12 10 12 01 02 12 12 20 12 12 02 20 12 02 21 10 10 10 01 02 20 01 21 21 01 01 20 01 02 20 21 02 21 10 12 21 21 20 10 12 02 12 12 10 21 10 02 01 01 01 20 21 10 01 21 01 02 12 12 21 21 12 01 02 20 01 10 12 10 12 20 21 10 12 12 01 21 01 01 12 20 10 20 10 21 21 02 12 20 21 02 10 12 21 10 10 12 02 20 01 20 20 21 01 12 01 10 20 02 10 01 01 01 21 21 01 21 21 01 12 02 20 20 20 20 02 21 01 21 10 12 12 20 10 01 02 20 20 01 20 01 10 10 01 10 01 02 20 01 02 12 01 20 20 01 20 02 20 10 01 01 10 01 02 12 12 20 21 20 01 10 10 01 01 01 20 20 21 10 10 02 12 10 21 10 20 10 01 20 01 01 02 02 12 12 21 10 01 02 10 02 20 01 21 21 21 12 12 21 12 12 02 12 01 02 21 01 20 12 02 20 10 12 01 21 12 10 02 02 01 20 10 01 21 02 01 20 21 02 10 20 20 12 02 10 01 12 20 21 10 10 01 20 10 02 12 10 12 02 02 10 01 02 10 20 01 12 02 20 10 10 10 02 01 21 10 10 21 12 01 10 02 10 21 01 12 01 02
/tmp/A.java:3: error: ';' expected for(Scanner s=new Scanner(System.in);c<99;)if(s.nextInt()%8%3<2);System.out.print("1")else c++; ^ 1 error Error: Could not find or load main class A Caused by: java.lang.ClassNotFoundException: A rm: can't remove '/tmp/A.class': No such file or directory