Submission #00001
ソースコード
ステータス
項目 |
データ |
問題 |
0001 - Kitty! |
ユーザー名 |
r2422
|
投稿日時 |
2025-05-20 16:10:07 |
言語 |
C++17 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
157 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:4:14: error: stray ‘\’ in program
#define endl \n
^
./Main.cpp:7:27: note: in expansion of macro ‘endl’
cout<<"Hello Kitty!"<<endl;
^~~~
./Main.cpp: In function ‘int main()’:
./Main.cpp:4:15: error: ‘n’ was not declared in this scope
#define endl \n
^
./Main.cpp:7:27: note: in expansion of macro ‘endl’
cout<<"Hello Kitty!"<<endl;
^~~~
./Main.cpp:4:15: note: suggested alternative: ‘yn’
#define endl \n
^
./Main.cpp:7:27: note: in expansion of macro ‘endl’
cout<<"Hello Kitty!"<<endl;
^~~~
セット
テストケース