submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s768791830
p03693
C++
#include<iostream> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; int ans=0; ans = 100*a+10*b+c; if (ans % 4 == 0) cout << "YES" << endl; else cout ,< "NO" << endl; }
a.cc: In function 'int main()': a.cc:11:14: error: expected primary-expression before '<' token 11 | else cout ,< "NO" << endl; | ^ a.cc:11:21: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<' 11 | else cout ,< "NO" << endl...
s323233490
p03693
C++
#include <iostream> // import 標準入出力 using namespace std; // as * int main() { int r, g, b, c; cin >> r >> g >> b; // cin: キーボード入力 int c = r *100 + g * 10 + b; if (c % 4 == 0) cout << "YES" << endl; else cout << "NO" << endl; }
a.cc: In function 'int main()': a.cc:6:9: error: redeclaration of 'int c' 6 | int c = r *100 + g * 10 + b; | ^ a.cc:4:18: note: 'int c' previously declared here 4 | int r, g, b, c; | ^
s244907489
p03693
C++
#include <bits/stdc++.h> using namespace std; int main() { int r, g, b; cin >> r >> g >> b >> endl; if((100*r+10*g+b)%4 == 0){ cout << "YES" << endl; } else{ cout << "NO" << endl; } }
a.cc: In function 'int main()': a.cc:6:20: error: no match for 'operator>>' (operand types are 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} and '<unresolved overloaded function type>') 6 | cin >> r >> g >> b >> endl; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/includ...
s097473532
p03693
C++
#include<iostream> using namespace std; int main(){ string a,b,c; cin >> a >> b >> c; string num = a + b + c; if(num%4 == 0) cout >> "Yes" >> "\n"; else cout >> "No" >> "\n"; return 0; }
a.cc: In function 'int main()': a.cc:7:9: error: no match for 'operator%' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int') 7 | if(num%4 == 0) | ~~~^~ | | | | | int | std::string {aka std::__cxx11::basic_string<char>} a.cc:8:10: er...
s298249148
p03693
C++
#include <bits/stdc++.h> using namespace std; int main() { if((10*g+b)%4==0)cout<<"YES"<<endl; else cout<<"NO"<<endl; }
a.cc: In function 'int main()': a.cc:5:10: error: 'g' was not declared in this scope 5 | if((10*g+b)%4==0)cout<<"YES"<<endl; | ^ a.cc:5:12: error: 'b' was not declared in this scope 5 | if((10*g+b)%4==0)cout<<"YES"<<endl; | ^
s683920691
p03693
Java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10) + b) % 4 == 0) { System.out.println("YES"); } else { System.out/println("NO"); ...
Main.java:12: error: not a statement System.out/println("NO"); ^ 1 error
s444585813
p03693
Java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10) + b) % 4 == 0) { System.out.println("YES"); } else { System.out/println("NO"); ...
Main.java:12: error: not a statement System.out/println("NO"); ^ 1 error
s176068083
p03693
C++
#include <iostream> int main() { int r,g,b,rx100,gx10; int integer; cin >> r >> g >> b; rx100 = r * 100; gx10 = g * 10; integer = rx100 + gx10 + b; if(integer % 4 == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }
a.cc: In function 'int main()': a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'? 6 | cin >> r >> g >> b; | ^~~ | std::cin In file included from a.cc:1: /usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here 62 | extern istream cin; //...
s867038207
p03693
C++
#include <iostream> int main() { int r,g,b; int integer; cin >> r >> g >> b; rx100 = r * 100; gx10 = g * 10; integer = rx100 + gx10 + b; if(integer % 4 == 0) { cout << 'YES' << endl; } else { cout << 'NO' << endl; } return 0; }
a.cc:14:17: warning: multi-character character constant [-Wmultichar] 14 | cout << 'YES' << endl; | ^~~~~ a.cc:16:17: warning: multi-character character constant [-Wmultichar] 16 | cout << 'NO' << endl; | ^~~~ a.cc: In function 'int main()': a.cc:6:5: er...
s404656698
p03693
C++
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll,ll> P; const double PI = 3.14159265358979323846; const double EPS = 1e-12; const ll INF = 1LL<<29; const ll mod = 1e9+7; #define rep(i, a, b) for(ll (i) = (a); (i) < (b);++i) ll gcd(ll x, ll y) { if (x % y == 0) { return...
a.cc: In function 'int main()': a.cc:27:53: error: expected primary-expression before '%' token 27 | if (int(a[0]) * 100 + int(a[1]) * 10 + int(a[2])) % 4 == 0){ | ^
s251989127
p03693
C++
#include <iostream> using namespace std; int main() { int r, g, b; cin >> r; cin >> g; cin >> b; int num = r * 100 + g * 10 + b; //cout << num; if (num % 4 == 0) { cout < "YES"; } else { cout << "NO"; } }
a.cc: In function 'int main()': a.cc:13:14: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'const char [4]') 13 | cout < "YES"; | ~~~~ ^ ~~~~~ | | | | | const char [4] | std::ostream {aka...
s974387121
p03693
Java
import java.util.Scanner; public class RGBCards { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10 + b) % 4) == 0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Main.java:3: error: class RGBCards is public, should be declared in a file named RGBCards.java public class RGBCards { ^ 1 error
s949415938
p03693
C++
#include <iostream> using namespace std; int main() { int r, g, b; cin >> r >> g >> b; int num = 10 * g + b; if (num % 4 == 0) cout << "YES" <<endl else cout << "NO" << endl }
a.cc: In function 'int main()': a.cc:8:43: error: expected ';' before 'else' 8 | if (num % 4 == 0) cout << "YES" <<endl | ^ | ; 9 | else cout << "NO" << endl | ~~~~ ...
s601985091
p03693
C++
#include <iostream> #include <string> #include <algorithm> #include <utility> #include <iomanip> #include <functional> #include <queue> #include <stack> #include <cmath> #define INF 100000000 #define MOD 1000000007 using namespace std; int main(){ int r,g,b; cin>>r>>g>>b; if(rgb%4==0){cout<<"YES"<<endl;} else{cou...
a.cc: In function 'int main()': a.cc:16:4: error: 'rgb' was not declared in this scope 16 | if(rgb%4==0){cout<<"YES"<<endl;} | ^~~
s824927861
p03693
C++
#include <cstdio> #include <cstring> #include <cmath> #include <string> #include <algorithm> using namespace std; int a, int b, int c; int main(){ while(~scanf("%d%d%d", &a, &b, &c)){ if((a * 100+b* 10+c) % 4 == 0) puts("YES"); else puts("NO"); } }
a.cc:7:8: error: expected unqualified-id before 'int' 7 | int a, int b, int c; | ^~~ a.cc: In function 'int main()': a.cc:9:29: error: 'b' was not declared in this scope 9 | while(~scanf("%d%d%d", &a, &b, &c)){ | ^ a.cc:9:33: error: 'c' was not declared in this sco...
s494332790
p03693
C++
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <string> #include <algorithm> using namespace std; int a, int b, int c; int main(){ while(~scanf("%d%d%d", &a, &b, &c){ if((a * 100+b* 10+c) % 4 == 0) puts("YES"); else puts("NO"); } }
a.cc:8:8: error: expected unqualified-id before 'int' 8 | int a, int b, int c; | ^~~ a.cc: In function 'int main()': a.cc:10:29: error: 'b' was not declared in this scope 10 | while(~scanf("%d%d%d", &a, &b, &c){ | ^ a.cc:10:33: error: 'c' was not declared in this sc...
s883392859
p03693
C++
#include <cstdio> #include <cstring> #include <cmath> #include <string> #include <algorithm> using namespace std; int a, int b, int c; int main(){ while(~scanf("%d%d%d", &a, &b, &c){ if((a * 100+b* 10+c) % 4 == 0) puts("YES"); else puts("NO"); } }
a.cc:7:8: error: expected unqualified-id before 'int' 7 | int a, int b, int c; | ^~~ a.cc: In function 'int main()': a.cc:9:29: error: 'b' was not declared in this scope 9 | while(~scanf("%d%d%d", &a, &b, &c){ | ^ a.cc:9:33: error: 'c' was not declared in this scop...
s459354703
p03693
C++
#include <bits/stdc++.h> using namespace std; int main() { int r, g, b; cin >> r >> g >> v; if ( (2*g+b)%2 == 0) cout << "Yes" << endl; else cout << "No" << endl; }
a.cc: In function 'int main()': a.cc:6:20: error: 'v' was not declared in this scope 6 | cin >> r >> g >> v; | ^
s266131347
p03693
C++
#include<iostream> using namespace std; int main(){ int r,g,b; cin >> r >> g >> b; c = r * g * b; if(c%4 == 0){ cout << "Yes\n"; }else{ cout << "No\n"; } }
a.cc: In function 'int main()': a.cc:7:5: error: 'c' was not declared in this scope 7 | c = r * g * b; | ^
s446254861
p03693
C++
#include <iostream> using namespace std; int main(){ int r, g, b; cin >> r >> g >> b; if((10g+b)%4==0) cout << "YES"; else cout << "NO"; }
a.cc: In function 'int main()': a.cc:7:13: error: unable to find numeric literal operator 'operator""g' 7 | if((10g+b)%4==0) cout << "YES"; | ^~~
s182534639
p03693
C
#include <stdio.h> int abs(int n){ if(n<0){ return -1*n;}else return n;} int main(void) {int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp; scanf("%d%d%d",&r,&g,&b); if((r*100+g*10+b)%4==0){ printf("YES");} else printf("NO"); return 0; }
main.c: In function 'main': main.c:7:32: error: redeclaration of 'b' with no linkage 7 | {int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp; | ^ main.c:7:22: note: previous declaration of 'b' with type 'int' 7 | {int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp; | ^
s466048964
p03693
C++
#include <bits/stdc++.h> #define P pair<int,int> #define All(v) (v).begin(), (v).end() #define pb(x) push_back(x) typedef long long ll; using namespace std; const int INF = 1e9 + 7, MOD = 1e9 + 7; const ll LINF = 1e18; int main() { int n, cnt = 0, tmp = 0, ans; bool f[8] = {}; cin >> n; int a[n]; for (int i = 0; i...
a.cc: In function 'int main()': a.cc:27:13: error: redeclaration of 'int ans' 27 | int ans = cnt + tmp; | ^~~ a.cc:10:34: note: 'int ans' previously declared here 10 | int n, cnt = 0, tmp = 0, ans; | ^~~
s665225668
p03693
C++
#include <iostream> #include <string> #include <string.h> #include <map> #include <set> #include <vector> #include <stdio.h> #include <math.h> #include <algorithm> #include <queue> #include <cmath> #include <cstdio> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; int d=100*a+10*b+c; if(d%4==0) cout<<"YES": el...
a.cc: In function 'int main()': a.cc:19:12: error: expected ';' before ':' token 19 | cout<<"YES": | ^ | ;
s120424883
p03693
C++
#include <iostream> #include <string> #include <string.h> #include <map> #include <set> #include <vector> #include <stdio.h> #include <math.h> #include <algorithm> #include <queue> #include <cmath> #include <cstdio> using namespace std; int main(){ int a,b,c; cin>>a>>>b>>c; int d=100*a+10*b+c; if(d%4==0) cout<<"YES": e...
a.cc: In function 'int main()': a.cc:16:9: error: expected primary-expression before '>' token 16 | cin>>a>>>b>>c; | ^ a.cc:19:12: error: expected ';' before ':' token 19 | cout<<"YES": | ^ | ;
s154215628
p03693
C++
int main() { int r,g,b; cin >>r>>g>>b; if((10*g+b)%4==0){ cout << "YES" << endl; }else{ cout << "NO" << endl; } return 0; }
a.cc: In function 'int main()': a.cc:3:9: error: 'cin' was not declared in this scope 3 | cin >>r>>g>>b; | ^~~ a.cc:5:17: error: 'cout' was not declared in this scope 5 | cout << "YES" << endl; | ^~~~ a.cc:5:34: error: 'endl' was not declared in this s...
s952120649
p03693
C
#include<stdio.h> #include<math.h> #include<algorithm> #include<queue> #include<deque> #include<string> #include<string.h> #include<vector> #include<set> #include<map> #include<bitset> #include<stdlib.h> #include<cassert> #include<time.h> #include<bitset> using namespace std; const long long mod=1000000007; const long ...
main.c:3:9: fatal error: algorithm: No such file or directory 3 | #include<algorithm> | ^~~~~~~~~~~ compilation terminated.
s094488501
p03693
C++
#include<iostream> #include<string> #include<cstdio> #include<algorithm> #include<cstdlib> #include<cmath> #include<vector> #include<deque> #include<queue> #include<stack> #include<utility> #include<array> #include<cassert> #include<list> #include<experimental/any> #include<cstring> #include<cctype> #include<ctime> #in...
a.cc: In function 'int main()': a.cc:72:24: error: 'c' was not declared in this scope 72 | if((n*100+a*10+c)%4==0){ | ^
s353168496
p03693
C++
#include <iostream> #include <string> using namespace std; int main(void){ // Your code here! int x,y,a,b,r,g,b; cin>>r>>g>>b; x=r*100+g*10+b; if(x%4==0){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } }
a.cc: In function 'int main()': a.cc:6:21: error: redeclaration of 'int b' 6 | int x,y,a,b,r,g,b; | ^ a.cc:6:15: note: 'int b' previously declared here 6 | int x,y,a,b,r,g,b; | ^
s475003927
p03693
C++
#include<iostream> #include<string> #include<algorithm> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if((100*a+10*b+c)%4=0){ cout<<"YES"<<endl; } else cout<<"NO"<<endl; }
a.cc: In function 'int main()': a.cc:8:26: error: lvalue required as left operand of assignment 8 | if((100*a+10*b+c)%4=0){ | ~~~~~~~~~~~~~~^~
s524198823
p03693
C++
#include<iostream> using namespace std; int main() { int a,b,c,x; cin >> a >> b >> c; x=100*a+10*b+c; if(x%4==0) cout << "YES" << endl; else cout << "NO" << endl; return 0;
a.cc: In function 'int main()': a.cc:12:10: error: expected '}' at end of input 12 | return 0; | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
s641600048
p03693
C++
#include <bits/stdc++.h> using namespace std; int main (){ int r,g,b; cin >> r >> g >> b; if((100*r+10*g+b)%4==0){ cout << “YES” << endl; }else{ cout << “NO” << endl; } return 0; }
a.cc:7:11: error: extended character “ is not valid in an identifier 7 | cout << “YES” << endl; | ^ a.cc:7:11: error: extended character ” is not valid in an identifier a.cc:9:11: error: extended character “ is not valid in an identifier 9 | cout << “NO” << endl; | ^ a.cc:9:1...
s005635775
p03693
C
int a, b, c; int main() { cin >> a >> b >> c; if((a * 100 + b * 10 + c) % 4 == 0) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
main.c: In function 'main': main.c:5:9: error: 'cin' undeclared (first use in this function) 5 | cin >> a >> b >> c; | ^~~ main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in main.c:6:45: error: 'cout' undeclared (first use in this function) 6...
s659406734
p03693
C
#include <iostream> using namespace std; int a,b,c; int main() { cin >> a >> b >> c; if((a * 100 + b * 10 + c) % 4 == 0){ cout << "YES"" << endI; }else { cout << "NO" << endI; } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s490469316
p03693
Java
import java.util.Scanner;   public class Main {   public static void main(String[] args) {   Scanner sc = new Scanner(System.in); int r=sc.nextInt(); int g=sc.nextInt(); int b=sc.nextInt(); if((2*g+b)%4==0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Main.java:2: error: illegal character: '\u00a0' ? ^ Main.java:4: error: illegal character: '\u00a0' ? ^ Main.java:6: error: illegal character: '\u00a0' ? ^ 3 errors
s913111475
p03693
C++
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r=sc.nextInt(); int g=sc.nextInt(); int b=sc.nextInt(); if((2*g+b)%4==0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
a.cc:1:1: error: 'import' does not name a type 1 | import java.util.Scanner; | ^~~~~~ a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts' a.cc:3:1: error: expected unqualified-id before 'public' 3 | public class Main { | ^~~~~~
s469809282
p03693
C++
main :: IO () main = do [r, g, b] <- map (read :: String -> Int) . words <$> getLine putStr $ (solver g b) ++ "\n" solver g b = if (g * 10 + b) `mod` 4 == 0 then "YES" else "NO"
a.cc:7:21: error: stray '`' in program 7 | if (g * 10 + b) `mod` 4 == 0 | ^ a.cc:7:25: error: stray '`' in program 7 | if (g * 10 + b) `mod` 4 == 0 | ^ a.cc:1:1: error: 'main' does not name a type 1 | main :: IO () | ^~~~
s929609215
p03693
C++
#include<bits/stdc+.h> using namespace std; int main(){ int r,g,b; cin>>r>>g>>b; cout<<((r*100+g*10+b)%4==0?"YES":"NO")<<endl; return 0; }
a.cc:1:9: fatal error: bits/stdc+.h: No such file or directory 1 | #include<bits/stdc+.h> | ^~~~~~~~~~~~~~ compilation terminated.
s643673182
p03693
C++
r,g,b = gets.split.map(&:to_i) puts (g+b)%4==0 ? "YES" : "NO"
a.cc:1:1: error: 'r' does not name a type 1 | r,g,b = gets.split.map(&:to_i) | ^
s091390031
p03693
C++
#include<bits/stdc++.h> using namespace std; int main(){ int r, g, b, a = 0; cin >> r >> g >> b; if( g % 2 = 1){ if( b == 2 ){ cout << "YES" << endl; a = 1; }else if( b == 6 ){ cout << "YES" << endl; a = 1; } } else if( g % 2 = 0){ if(b == 0){ cout << "YES" << endl; a = 1; }else if( b == 4){ cout << "YES"...
a.cc: In function 'int main()': a.cc:6:7: error: lvalue required as left operand of assignment 6 | if( g % 2 = 1){ | ~~^~~ a.cc:15:13: error: lvalue required as left operand of assignment 15 | else if( g % 2 = 0){ | ~~^~~
s574116817
p03693
C++
#include<bits/stdc++.h> using namespace std; int main(){ int r, g, b, a = 0; cin >> r >> g >> b; if( g % 2 = 1){ if( b == 2 ){ cout << "YES" << endl; a = 1; }else if( b == 6 ){ cout << "YES" << endl; a = 1; } } else if if( b == 0 ){ cout << "YES" << endl; a = 1; }else if( b == 4){ cout << "YES" << endl; a...
a.cc: In function 'int main()': a.cc:6:7: error: lvalue required as left operand of assignment 6 | if( g % 2 = 1){ | ~~^~~ a.cc:16:2: error: expected '(' before 'if' 16 | if( b == 0 ){ | ^~ | ( a.cc:19:3: error: 'else' without a previous 'if' 19 | }else if( b == 4){ | ^~~~ a....
s393211336
p03693
C++
#include<bits/stdc++.h> using namespace std; int main(){ int r, g, b, a = 0; cin >> r >> g >> b; if( g/2 %= 1){ if( b == 2 ){ cout << "YES" << endl; a = 1; }else if( b == 6 ){ cout << "YES" << endl; a = 1; } } else if if( b == 0 ){ cout << "YES" << endl; a = 1; }else if( b == 4){ cout << "YES" << endl; a ...
a.cc: In function 'int main()': a.cc:6:6: error: lvalue required as left operand of assignment 6 | if( g/2 %= 1){ | ~^~ a.cc:16:2: error: expected '(' before 'if' 16 | if( b == 0 ){ | ^~ | ( a.cc:19:3: error: 'else' without a previous 'if' 19 | }else if( b == 4){ | ^~~~ a.cc:...
s488833146
p03693
C++
#include<bits/stdc++.h> using namespace std; int main(){ int r, g, b, a = 0; cin >> r >> g >> b; if( g/2 %= 1){ if( b == 2 ){ cout << "YES" << endl; a = 1 }else if( b == 6 ){ cout << "YES" << endl; a = 1 } } else if if( b == 0 ){ cout << "YES" << endl; a = 1 }else if( b == 4){ cout << "YES" << endl; a = 1...
a.cc: In function 'int main()': a.cc:6:6: error: lvalue required as left operand of assignment 6 | if( g/2 %= 1){ | ~^~ a.cc:9:7: error: expected ';' before '}' token 9 | a = 1 | ^ | ; 10 | }else if( b == 6 ){ | ~ a.cc:12:7: error: expected ';' before '}' token...
s447293469
p03693
C
#include <stdio.h> int main(void) { int a, b, c; scanf("%d %d %d", &a, &b, &c); a=(b*10+c)%4; printf("%s\n", a?"NO","YES"); return 0; }
main.c: In function 'main': main.c:7:30: error: expected ':' before ')' token 7 | printf("%s\n", a?"NO","YES"); | ^ | :
s542188065
p03693
Java
import java.util.*; public class main { public static void main(String args[]) { Scanner reader = new Scanner(System.in); int a=reader.nextInt(); int b=reader.nextInt(); int c=reader.nextInt(); if((100*a+10*b+c)%4==0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Main.java:3: error: class main is public, should be declared in a file named main.java public class main ^ 1 error
s920927589
p03693
C++
#include <bits/stdc++.h> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; if ((a*100 + b*10 + c) % 4 == 0) cout << "Yes" << endl; else cout << "No << endl; return 0; }
a.cc:7:18: warning: missing terminating " character 7 | else cout << "No << endl; | ^ a.cc:7:18: error: missing terminating " character 7 | else cout << "No << endl; | ^~~~~~~~~~~~ a.cc: In function 'int main()': a.cc:8:5: error: expected primary-expression ...
s171380163
p03693
Java
System.out.println("YES");
Main.java:1: error: class, interface, enum, or record expected System.out.println("YES"); ^ 1 error
s052176896
p03693
Java
import java.util.*; import java.io.*; public class RGB { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Scanner in = new Scanner(new File("RGB")); int[]arr = new int[3]; String empty = ""; for(int i = 0; i < arr.length; i++) { arr[i] = in.nextInt...
Main.java:3: error: class RGB is public, should be declared in a file named RGB.java public class RGB { ^ 1 error
s661639781
p03693
Java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Scanner in = new Scanner(System.in)); int[]arr = new int[3]; String empty = ""; for(int i = 0; i < arr.length; i++) { arr[i] = in.nextInt(); ...
Main.java:8: error: ';' expected Scanner in = new Scanner(System.in)); ^ 1 error
s427531257
p03693
Java
import java.util.Scanner; public class Prob1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); String rs = String.valueOf(r); String gs = String.valueOf(g); Stri...
Main.java:3: error: class Prob1 is public, should be declared in a file named Prob1.java public class Prob1 { ^ 1 error
s984936958
p03693
Java
public class Prob1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); String rs = String.valueOf(r); String gs = String.valueOf(g); String bs = String.valueOf(b); ...
Main.java:1: error: class Prob1 is public, should be declared in a file named Prob1.java public class Prob1 { ^ Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Prob1 Main.java:4: error: cannot find symbol Scanner sc...
s414017921
p03693
Java
import Scanner.util.*; public class Main{ public static void main(String [] args){ inp = new Scanner(System.in); int r = inp.nextInt(); int g = inp.nextInt(); int b = inp.nextInt(); if(10 * g + b % 4 == 0) System.out.println("YES"); else System.out.println("NO"); } }
Main.java:2: error: package Scanner.util does not exist import Scanner.util.*; ^ Main.java:6: error: cannot find symbol inp = new Scanner(System.in); ^ symbol: variable inp location: class Main Main.java:6: error: cannot find symbol inp = new Scanner(System.in); ^ symbol: class Scann...
s647348447
p03693
Java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); String rs = String.valueOf(r); String gs = String.valueOf(g); String bs = String.valueOf(b); String num = rs +...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
s499165109
p03693
Java
import java.io.*; import java.util.*; public class Exp { // "Main" should be used for most online judges public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if ((r * 100 + g * 10 + b) % 4 == 0) System.out.println(...
Main.java:4: error: class Exp is public, should be declared in a file named Exp.java public class Exp { // "Main" should be used for most online judges ^ 1 error
s548983732
p03693
Java
import java.util.Scanner; public class mult4{ public static void main(String[] args){ Scanner reader = new Scanner(System.in); int number = 0; for(int i = 2; i >= 0; i--){ number += reader.nextInt()*Math.pow(10, i); } double det = number/4.0; if((...
Main.java:3: error: class mult4 is public, should be declared in a file named mult4.java public class mult4{ ^ 1 error
s635884206
p03693
Java
public class Main{ import Scanner.util.* public static void main(String [] args){ inp = new Scanner(System.in); int r = inp.nextInt(); int g = inp.nextInt(); int b = inp.nextInt(); if(10 * g + b % 4 == 0) System.out.println("YES"); else System.out.println("NO"); } }
Main.java:3: error: illegal start of type import Scanner.util.* ^ Main.java:3: error: <identifier> expected import Scanner.util.* ^ 2 errors
s532055603
p03693
Java
import java.io.*; import java.util.*; public class ICPC_1_P1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int threeDigitValue = 100*x + 10*y + z; if (threeDigitValue%4 == 0) { System.out.println(...
Main.java:4: error: class ICPC_1_P1 is public, should be declared in a file named ICPC_1_P1.java public class ICPC_1_P1 { ^ 1 error
s573521720
p03693
Java
import java.util.Scanner; public class RGB_Cards { static void main() { Scanner sc=new Scanner(System.in); System.out.print("Enter the integers: "); String in=sc.next(); in+=sc.nextLine(); int r=in.charAt(0); int g=in.charAt(1); int b=in.charAt(2); ...
Main.java:2: error: class RGB_Cards is public, should be declared in a file named RGB_Cards.java public class RGB_Cards ^ 1 error
s237543032
p03693
Java
public Main() throws IOException { Scanner input = new Scanner(System.in); int r = input.nextInt(); int g = input.nextInt(); int b = input.nextInt(); int newNum = r * 100 + g * 10 + b; if (newNum % 4 == 0) { System.out.println("YES"); } else { System.out.println("NO"); } }
Main.java:1: error: class, interface, enum, or record expected public Main() throws IOException { ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int r = input.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:10: error: class, interface, enum,...
s856940990
p03693
Java
public class Main { public static void main(String [] argv) throws Exception{ Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int number = a* 100 + b * 10 + c; if (number % 4 == 0) { System.out.println("YES"); } else { System.out.println("N...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
s800680815
p03693
Java
import java.util.*; import java.io.*; public class main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int r = in.nextInt(); int g = in.nextInt(); int b = in.nextInt(); System.out.println(Integer.parseInt(r+""+g+""+b)%4==0?"YES":"NO"); } }
Main.java:4: error: class main is public, should be declared in a file named main.java public class main { ^ 1 error
s994219064
p03693
Java
public class Main { // "Main" should be used for most online judges public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(), g = sc.nextInt(), b = sc.nextInt(); int result = 0; result = r * 100 + g * 10 + b; if (result % 4 == 0) { System.out.println("YES"); } e...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
s142253853
p03693
C
#include<stdio.h> int main (void){ int r,g,b,a; scanf("%d",&r); scanf("%d",&g); scanf("%d",&b); a=r*100+g*10+b; if(a%4==0){ printf("YES\n");} else{printf("NO\n"); } rerurn 0; }
main.c: In function 'main': main.c:12:1: error: 'rerurn' undeclared (first use in this function) 12 | rerurn 0; | ^~~~~~ main.c:12:1: note: each undeclared identifier is reported only once for each function it appears in main.c:12:7: error: expected ';' before numeric constant 12 | rerurn 0; | ^...
s852101605
p03693
C
#include <stdio.h> int main(){ int x,y,z,sum; scanf("%d %d %d",&x,&y,&z); sum = x*100+y+10+z; if(sum%4=0){ printf("Yes"); } else{ printf("No"); } return 0; }
main.c: In function 'main': main.c:7:9: error: lvalue required as left operand of assignment 7 | if(sum%4=0){ | ^
s720030340
p03693
C++
#include <iostream> #include <stdio.h> #include <string> #include <math.h> using namespace std; int main(){ int r, g, b; cin >> r >> g >> b; if((10*g+b)%4 == 0) cout << "YES" << endl; else cout << "NO" << endl;:w return 0; }
a.cc: In function 'int main()': a.cc:12:35: error: expected primary-expression before ':' token 12 | else cout << "NO" << endl;:w | ^
s469730230
p03693
C++
#include<cstdio> #include<iostream> #include<algorithm> #include<cstring> using namespace std; int main(void){ int r,g,b,sum; cin>>r>>g>>b; sum+=r*100+g*10+b; if(sum%4==) cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }
a.cc: In function 'int main()': a.cc:10:19: error: expected primary-expression before ')' token 10 | if(sum%4==) cout<<"YES"<<endl; | ^
s923183416
p03693
C++
#include<bits/stdc++.h> typedef long long ll; using namespace std; main(){ int A,B,C,n; cin >> A >> B >> C; n = A*100+B*10+C; if(n%4)cout << "NO" << endl; else << "YES" << endl; }
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 4 | main(){ | ^~~~ a.cc: In function 'int main()': a.cc:9:10: error: expected primary-expression before '<<' token 9 | else << "YES" << endl; | ^~
s573575816
p03693
Java
import java.utill.Scanner; public class main { public static void main(String[] args) {   Scanner scan = new Scanner(System.in);      int r = scan.nextInt();   int g = scan.nextInt();   int b = scan.nextInt();      scan.close();      if((r * 100 + g * 10 + b)%4 == 0) {    System.out.print("YES");      } else {...
Main.java:6: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ Main.java:6: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ Main.java:7: error: illegal character: '\u3000' ?? ^ Main.java:7: error: illegal character: '\u3000' ?? ^ Main.java:8: error: illegal ch...
s130261960
p03693
C++
#include <stdio.h> int main() { int r,g,b,a; scanf("%d", %r); scanf("%d", %g); scanf("%d", %b); a = r*100 + g*10 + b; if(a%4 == 0){ printf("YES"); }else{ printf("NO"); } return 0; }
a.cc: In function 'int main()': a.cc:6:16: error: expected primary-expression before '%' token 6 | scanf("%d", %r); | ^ a.cc:7:16: error: expected primary-expression before '%' token 7 | scanf("%d", %g); | ^ a.cc:8:16: error: expected primary-expression before '%'...
s935452609
p03693
C++
#include <stdio.h> int main(void){ int r; int g; int b; int goukei; scanf("%d%d%d",&r,&g,&b); goukei = ((100*r)+(10*g)+b)%4; if(goukei==0){ printf(YES); }else{ printf("NO"); } }
a.cc: In function 'int main()': a.cc:14:8: error: 'YES' was not declared in this scope 14 | printf(YES); | ^~~
s256423507
p03693
Java
import java.io.BufferedReader; import java.io.InputStreamReader; public class BC64a { public static void main(String args[]) { int r, g, b; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String buf = br.readLine(); String color[]...
Main.java:4: error: class BC64a is public, should be declared in a file named BC64a.java public class BC64a { ^ 1 error
s637990952
p03693
C++
#include <stdio.h> int main() { int r, g, b, result; scanf("%d %d %d", &r, &g, &b); if(r<1 || g<1 || b<1 || r>9 | g>9 || b>9){ printf("error.\n"); retutn 1; } result = r*100 + g*10 + b; if(result%4 == 0) printf("YES."); else printf("NO."); return 0; }
a.cc: In function 'int main()': a.cc:7:25: error: 'retutn' was not declared in this scope 7 | retutn 1; | ^~~~~~
s470232444
p03693
C
#include <stdio.h> int main() { int r; int g; int b; char buf[128]; *fgets(buf, 128, stdin); sscanf(buf, "%d", &r); *fgets(buf, 128, stdin); sscanf(buf, "%d", &g); char*fgets(buf, 128, stdin); sscanf(buf, "%d", &b); ...
main.c: In function 'main': main.c:14:24: error: expected ')' before numeric constant 14 | char*fgets(buf, 128, stdin); | ^~~~ | )
s012876203
p03693
C++
#include <stdlib.h> int main() { int r, g, b, result, n; scanf("%d %d %d", &r, &g, &b); result = r*100 + g*10 + b; if(result%4 == 0) printf("YES."); else printf("NO."); }
a.cc: In function 'int main()': a.cc:4:17: error: 'scanf' was not declared in this scope 4 | scanf("%d %d %d", &r, &g, &b); | ^~~~~ a.cc:6:35: error: 'printf' was not declared in this scope 6 | if(result%4 == 0) printf("YES."); | ...
s909722435
p03693
C++
#include <stdio.h> void main() { int r, g, b, result; do{ scanf("%d %d %d", &r, &g, &b); }while(r<0 || g<0 || b<0 || r>9 || g>9 ||b>9); result = r*100 + g*10 + b; if(result%4 == 0) printf("YES."); else printf("NO."); }
a.cc:2:9: error: '::main' must return 'int' 2 | void main() { | ^~~~
s169639962
p03693
C
#include <stdio.h> int main(){ int r,g,b,color; scanf("%d %d %d",&r,&g,%b); color = 100*r+10*g+b; if((color%4)==0){ printf("YES\n"); }else{ printf("NO\n"); } }
main.c: In function 'main': main.c:5:26: error: expected expression before '%' token 5 | scanf("%d %d %d",&r,&g,%b); | ^
s836379471
p03693
C
#include <stdio.h> int main(void) { int r, g, b; int j; scanf("%d", &r); scanf("%d", &g); scanf("%d", &b); j = r * 100 + g * 10 + b; if (j % 4 == 0) { printf("Yes\n"); } else { print("No\n"); } return 0; }
main.c: In function 'main': main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 16 | print("No\n"); | ^~~~~ | printf
s270749808
p03693
C
#include <stdio.h> int main(void) { int r, g, b; int j; scanf("%d,%d,%d", &r, &g, &b); j = r * 100 + g * 10 + b; if (j % 4 == 0) { printf("Yes\n"); } else { print("No\n"); } return 0; }
main.c: In function 'main': main.c:14:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 14 | print("No\n"); | ^~~~~ | printf
s184452188
p03693
C
#include <stdio.h> int main(void) { int a[3]; int j; scanf("%d,%d,%d", &a[0],&a[1],&a[2]); j = a[0] * 100 + a[1] * 10 + a[2]; if (j % 4 == 0) printf("Yes\n"); else print("No\n"); return 0; }
main.c: In function 'main': main.c:13:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 13 | print("No\n"); | ^~~~~ | printf
s123465537
p03693
C
#include <stdio.h> int main(void) { int a[3]; int j; scanf("%d,%d,%d", &a[0],&a[1],&a[2]); j = a[0] * 100 + a[1] * 10 + a[2]; if (j % 4 == 0) printf("Yes\n"); else print("No\n"); return 0; }
main.c: In function 'main': main.c:13:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 13 | print("No\n"); | ^~~~~ | printf
s612851022
p03693
C
#include <stdio.h> int main(void) { int a[3]; int i,j; for (i = 0; i < 3; i++) { do { scanf("%d", &a[i]); } while (a[i] < 0 || 9 < a[i]); } j = a[0] * 100 + a[1] * 10 + a[2]; if (j % 4 == 0) printf("Yes"); else print("No"); return 0; }
main.c: In function 'main': main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 16 | print("No"); | ^~~~~ | printf
s102779525
p03693
C
#include <stdio.h> int main(void) { int a[3]; int i,j; for (i = 0; i < 3; i++) { do { scanf("%d", &a[i]); } while (a[i] < 0 || 9 < a[i]); } j = a[0] * 100 + a[1] * 10 + a[2]; if (j % 4 == 0) printf("Yes"); else print("No"); return 0; }
main.c: In function 'main': main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 16 | print("No"); | ^~~~~ | printf
s410675387
p03693
C
#include <stdio.h> int main(void) { int a[3]; int i,j; for (i = 0; i < 3; i++) { do { scanf("%d", &a[i]); } while (a[i] < 0 || 9 < a[i]); } j = a[0] * 100 + a[1] * 10 + a[2]; if (j % 4 == 0) printf("Yes"); else print("No"); return 0; }
main.c: In function 'main': main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 16 | print("No"); | ^~~~~ | printf
s794802201
p03693
C++
#include <stdio.h> #include <iostream> using namespace std; int main(){ int r,g,b; cin>>r>>g>>b; if((100×r+10×g+b)%4==0){ cout<<"yes"<<endl; }else{ cout<<"no"<<endl; } }
a.cc:8:5: error: extended character × is not valid in an identifier 8 | if((100×r+10×g+b)%4==0){ | ^ a.cc:8:11: error: extended character × is not valid in an identifier 8 | if((100×r+10×g+b)%4==0){ | ^ a.cc: In function 'int main()': a.cc:8:5: error: unable to find numeric literal ope...
s565365681
p03693
C++
#include <stdio.h> #include <iostream> using namespace std; int main(){ int r,g,b; cin>>r>>g>>b; if((100*r+10*g+b)%4==0){ cout<<"yes"<<endl; }else{ cout<<"no"<<endl; } }
a.cc: In function 'int main()': a.cc:8:5: error: unable to find numeric literal operator 'operator""\U0000ff0ar' 8 | if((100*r+10*g+b)%4==0){ | ^~~~~~ a.cc:8:12: error: unable to find numeric literal operator 'operator""\U0000ff0ag' 8 | if((100*r+10*g+b)%4==0){ | ^~~~~
s821347547
p03693
C++
#include <stdio.h> #include <iostream> using namespace std; int main(){ int r,g,b; cin>>r>>g>>b; if((100r+10g+b)%4==0){ cout<<"yes"<<endl; }else{ cout<<"no"<<endl; } }
a.cc:8:1: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow] 8 | if((100r+10g+b)%4==0){ | ^~ a.cc: In function 'int main()': a.cc:8:5: error: fixed-point types not supported in C++ 8 | if((100r+10g+b)%4==0){ | ^~~~ a.cc:8:10: error: unable to find numeric l...
s002882684
p03693
C++
using System; using System.Collections.Generic; namespace ProCon { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int r = int.Parse(input[0]); int g = int.Parse(input[1]); int b = int.Parse(input[...
a.cc:1:7: error: expected nested-name-specifier before 'System' 1 | using System; | ^~~~~~ a.cc:2:7: error: expected nested-name-specifier before 'System' 2 | using System.Collections.Generic; | ^~~~~~ a.cc:8:26: error: 'string' has not been declared 8 | static void Main(stri...
s582204239
p03693
C++
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProCon { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int r = int.Parse(inpu...
a.cc:1:7: error: expected nested-name-specifier before 'System' 1 | using System; | ^~~~~~ a.cc:2:7: error: expected nested-name-specifier before 'System' 2 | using System.Collections.Generic; | ^~~~~~ a.cc:3:7: error: expected nested-name-specifier before 'System' 3 | using System.I...
s176174184
p03693
C++
#include<iostream> #include<cstdio> using namespace std; int main() { int r,g,b,num; cin >> r,g,b; num = 100*r + 10*g + b % 4 if(num % 4 == 0){ cout << "YES"; } else{ cout << "NO"; } getchar(); return 0; }
a.cc: In function 'int main()': a.cc:12:35: error: expected ';' before 'if' 12 | num = 100*r + 10*g + b % 4 | ^ | ; 13 | if(num % 4 == 0){ | ~~ a.cc:16:9: error: 'else' without a ...
s512818112
p03693
Java
import java.util.Scanner; public class Main { private static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int r = Integer.parseInt(scan.next()); int g = Integer.parseInt(scan.next()); int b = Integer.parseInt(scan.next()); int numm = 100*r + 10*g + b; String ans = (n...
Main.java:14: error: cannot find symbol String ans = (num%4 == 0 ? "YES" : "NO"); ^ symbol: variable num location: class Main 1 error
s040001270
p03693
Java
import java.util.Scanner; public class Main { private static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int r = Integer.parseInt(scan.close()); int g = Integer.parseInt(scan.close()); int b = Integer.parseInt(scan.close()); int numm = 100*r + 10*g + b; String ans =...
Main.java:9: error: 'void' type not allowed here int r = Integer.parseInt(scan.close()); ^ Main.java:10: error: 'void' type not allowed here int g = Integer.parseInt(scan.close()); ^ Main.java:11: error: 'void' type not allowed here int b = Inte...
s616820502
p03693
C++
#include<iostream> using namespace std; int main(void){ int r; int g; int b; cin >> r >> g >> b ; if((r*100 + g*10 + c)% 4 == 0){ cout << "YES"; }else{ cout << "No"; } return 0; }
a.cc: In function 'int main()': a.cc:10:28: error: 'c' was not declared in this scope 10 | if((r*100 + g*10 + c)% 4 == 0){ | ^
s732187787
p03693
C++
#include<iostream> using namespace std; int main(void){ int r; int g; int b; cin >> r >> g >> b ; if((r*100 + g+10 + c)% 4 == 0){ cout << "YES"; }else{ cout << "No"; } return 0; }
a.cc: In function 'int main()': a.cc:10:28: error: 'c' was not declared in this scope 10 | if((r*100 + g+10 + c)% 4 == 0){ | ^
s305489638
p03693
C++
#include<iostream> using namespace std; int main(void){ int r; int g; int b; cin >> r >> g >> b ; if((r*100 + g+10 + c)% 4 == 0){ cout << "YES"; }else{ cout << "No"; } return 0; }
a.cc: In function 'int main()': a.cc:10:28: error: 'c' was not declared in this scope 10 | if((r*100 + g+10 + c)% 4 == 0){ | ^
s699191830
p03693
C++
# -*- coding: utf-8 -*- import sys import subprocess import json import time import math import re import sqlite3 r, g, b = map(int, input().split()) if (g*10 + b) % 4 == 0: print("YES") else: print("NO")
a.cc:1:3: error: invalid preprocessing directive #- 1 | # -*- coding: utf-8 -*- | ^ a.cc:3:1: error: 'import' does not name a type 3 | import sys | ^~~~~~ a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
s494917787
p03693
Java
import java.util.Scanner; public class main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] a = { 0, 0, 0, 0 }; int[] b = { 0, 0, 0, 0 }; int n = 0; for (int i = 1; i < 4; i++) { do { do { a[i] = stdIn.nextInt(); } while (a[i] < 0 && 10 < a[i]); ...
Main.java:3: error: class main is public, should be declared in a file named main.java public class main { ^ 1 error
s953123761
p03693
C
include<stdio.h> int main{ int r,b,g; int sum; printf("数字の入力"); scanf("%d %d %d",&r,&b,&g); sum = r*100 + b*10 + g; if(sum%4 == 0){ printf("YES"); }else { printf("NO"); } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s976699380
p03693
Java
import java.util.Scanner; public class test { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); int d = a * 100 + b * 10 + c; Boolean h = (d % 4 == 0); if (h == tru...
Main.java:2: error: class test is public, should be declared in a file named test.java public class test { ^ 1 error
s054687054
p03693
Java
import java.util.Scanner; public class atooder01 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] a = { 0, 0, 0, 0 }; int[] b = { 0, 0, 0, 0 }; int n = 0; for (int i = 1; i < 4; i++) { do { do { a[i] = stdIn.nextInt(); } while (a[i] < 0 && 10 < a[i]...
Main.java:3: error: class atooder01 is public, should be declared in a file named atooder01.java public class atooder01 { ^ 1 error
s883817616
p03693
Java
import java.util.Scanner; public class main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] a = { 0, 0, 0, 0 }; int[] b = { 0, 0, 0, 0 }; int n = 0; for (int i = 1; i < 4; i++) { do { do { a[i] = stdIn.nextInt(); } while (a[i] < 0 && 10 < a[i]); ...
Main.java:3: error: class main is public, should be declared in a file named main.java public class main { ^ 1 error
s642128301
p03693
Java
import java.util.Scanner; public class atooder01 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] a = { 0, 0, 0, 0 }; int[] b = { 0, 0, 0, 0 }; int n = 0; for (int i = 1; i < 4; i++) { do { do { a[i] = stdIn.nextInt(); } while (a[i] < 0 && 10 < a[i]...
Main.java:3: error: class atooder01 is public, should be declared in a file named atooder01.java public class atooder01 { ^ 1 error