結果

問題 No.9000 Hello World! (テスト用)
ユーザー maimai
提出日時 2016-01-29 21:57:36
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 20,652 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-21 16:37:18
合計ジャッジ時間 517 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 | 

ソースコード

diff #

main(){
  char str[]="Hello World!";
  int i;
  for (i=0;i<13;i++)putchar(str[i]);
  return 0;
}
0