結果
| 問題 |
No.9000 Hello World! (テスト用)
|
| ユーザー |
|
| 提出日時 | 2017-06-13 17:54:19 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 71 bytes |
| コンパイル時間 | 195 ms |
| コンパイル使用メモリ | 26,112 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-25 14:50:06 |
| 合計ジャッジ時間 | 586 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
main.c: In function 'main':
main.c:3:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
3 | printf("Hello World!\n");
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | char main(void)
main.c:3:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
3 | printf("Hello World!\n");
| ^~~~~~
main.c:3:9: note: include '<stdio.h>' or provide a declaration of 'printf'
ソースコード
char main(void)
{
printf("Hello World!\n");
return 0;
}