Submission #60233
ソースコード
ステータス
コンパイルメッセージ
./Main.c: In function ‘main’:
./Main.c:39:8: error: ‘low’ undeclared (first use in this function)
ans[i]=low;
^~~
./Main.c:39:8: note: each undeclared identifier is reported only once for each function it appears in
./Main.c: At top level:
./Main.c:42:1: error: expected identifier or ‘(’ before ‘for’
for(i=0;i<n;i++){
^~~
./Main.c:42:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
for(i=0;i<n;i++){
^
./Main.c:42:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
for(i=0;i<n;i++){
^~
./Main.c:48:1: error: expected identifier or ‘(’ before ‘return’
return(0);
^~~~~~
./Main.c:49:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
セット
テストケース