Submission #00018
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0001 - 摂氏華氏 |
| ユーザー名 |
gousuper(r2204)
|
| 投稿日時 |
2022-07-29 09:16:27 |
| 言語 |
C++ |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
129 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:7:5: error: ‘printf’ was not declared in this scope
printf("%d\n",(f-30)/2);
^~~~~~
./Main.cpp:7:5: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
./Main.cpp:2:1:
+#include <cstdio>
using namespace std;
./Main.cpp:7:5:
printf("%d\n",(f-30)/2);
^~~~~~
セット
テストケース