Submission #00236
ソースコード
ステータス
項目 |
データ |
問題 |
0006 - 残り物には髪生える? |
ユーザー名 |
ei2212
|
投稿日時 |
2022-06-01 22:20:37 |
言語 |
C++ |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
392 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
#incldue <bits/stdc++.h>
^~~~~~~
include
./Main.cpp: In function ‘int main()’:
./Main.cpp:6:5: error: ‘cin’ was not declared in this scope
cin >> n;
^~~
./Main.cpp:6:5: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:1:1:
+#include <iostream>
#incldue <bits/stdc++.h>
./Main.cpp:6:5:
cin >> n;
^~~
./Main.cpp:11:17: error: ‘cout’ was not declared in this scope
cout << p << "\n";
^~~~
./Main.cpp:11:17: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:13:17: error: ‘cout’ was not declared in this scope
cout << k % p << "\n";
^~~~
./Main.cpp:13:17: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:16:13: error: ‘cout’ was not declared in this scope
cout << k << "\n";
^~~~
./Main.cpp:16:13: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
セット
テストケース