Submission #00008
ソースコード
ステータス
コンパイルメッセージ
./Main.java:1: error: illegal character: '#'
#include<bits/stdc++.h>
^
./Main.java:1: error: class, interface, or enum expected
#include<bits/stdc++.h>
^
./Main.java:3: error: class, interface, or enum expected
int main(){
^
./Main.java:5: error: class, interface, or enum expected
int a[100];
^
./Main.java:6: error: class, interface, or enum expected
cin>>n>>w;
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<n;i++){
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<n;i++){
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<n;i++){
^
./Main.java:9: error: class, interface, or enum expected
b+=a[i];
^
./Main.java:10: error: class, interface, or enum expected
}
^
./Main.java:13: error: class, interface, or enum expected
c++;
^
./Main.java:14: error: class, interface, or enum expected
if(b<=0)
^
./Main.java:16: error: class, interface, or enum expected
c++;
^
./Main.java:17: error: class, interface, or enum expected
}
^
./Main.java:19: error: class, interface, or enum expected
return(0);
^
./Main.java:20: error: class, interface, or enum expected
}
^
16 errors
セット
テストケース