Submission #00015


ソースコード

ステータス

項目 データ
問題 0001 - 桃太郎伝説
ユーザー名 ei1616
投稿日時 2016-05-13 17:44:44
言語 C++
状態 Compile Error
得点 0
ソースコード長 182 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp: In function ‘int main()’:
./Main.cpp:3:13: error: expected unqualified-id before numeric constant
   int i=0,S,1<=S<=100,ans=0;
             ^
./Main.cpp:6:3: error: ‘ans’ was not declared in this scope
   ans+=S;
   ^
./Main.cpp:10:17: error: ‘ans’ was not declared in this scope
   printf("%d\n",ans);
                 ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #