結果
| 問題 |
No.9000 Hello World! (テスト用)
|
| ユーザー |
|
| 提出日時 | 2018-02-10 22:58:00 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 51 bytes |
| コンパイル時間 | 1,157 ms |
| コンパイル使用メモリ | 24,960 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-06 14:20:37 |
| 合計ジャッジ時間 | 1,469 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 4 |
コンパイルメッセージ
main.c: In function 'main':
main.c:2:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
2 | printf("Hello World!\n");
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | int main(){
main.c:2:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
2 | printf("Hello World!\n");
| ^~~~~~
main.c:2:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:3:3: warning: 'return' with no value, in function returning non-void
3 | return;
| ^~~~~~
main.c:1:5: note: declared here
1 | int main(){
| ^~~~
ソースコード
int main(){
printf("Hello World!\n");
return;
}