結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
|
提出日時 | 2016-01-29 21:57:36 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 97 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 20,480 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-21 17:53:31 |
合計ジャッジ時間 | 505 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 4 |
コンパイルメッセージ
main.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2 | main(){ | ^~~~ main.c: In function ‘main’: main.c:5:21: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration] 5 | for (i=0;i<13;i++)putchar(str[i]); | ^~~~~~~ main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’ +++ |+#include <stdio.h> 1 |
ソースコード
main(){ char str[]="Hello World!"; int i; for (i=0;i<13;i++)putchar(str[i]); return 0; }