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