Submission #00011


ソースコード

ステータス

項目 データ
問題 0002 - 部活の人数
ユーザー名 r2422
投稿日時 2025-05-20 16:10:50
言語 C++17
状態 Compile Error
得点 0
ソースコード長 176 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp:4:14: error: stray ‘\’ in program
 #define endl \n
              ^
./Main.cpp:9:16: note: in expansion of macro ‘endl’
     cout<<a+b<<endl;
                ^~~~
./Main.cpp: In function ‘int main()’:
./Main.cpp:4:15: error: ‘n’ was not declared in this scope
 #define endl \n
               ^
./Main.cpp:9:16: note: in expansion of macro ‘endl’
     cout<<a+b<<endl;
                ^~~~

セット

セット 得点 Cases

テストケース

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