运行 ID: 350
Main.java:1: error: illegal character: '#'
#include
^
Main.java:1: error: class, interface, or enum expected
#include
^
Main.java:5: error: class, interface, or enum expected
scanf("%d%d",&a,&b);
^
Main.java:6: error: class, interface, or enum expected
switch(b)
^
Main.java:8: error: class, interface, or enum expected
case 1:case 3:case 5:case 7:case 8:case 10:case 12:printf("31");break;
^
Main.java:9: error: class, interface, or enum expected
case 4:case 6:case 9:case 11:
^
Main.java:11: error: class, interface, or enum expected
}
^
Main.java:13: error: class, interface, or enum expected
}
^
8 errors