結果

問題 No.9000 Hello World! (テスト用)
ユーザー ishot-lishot-l
提出日時 2018-02-10 22:58:00
言語 C
(gcc 12.3.0)
結果
RE  
実行時間 -
コード長 51 bytes
コンパイル時間 695 ms
コンパイル使用メモリ 25,472 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-24 07:08:58
合計ジャッジ時間 892 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

int main(){
  printf("Hello World!\n");
  return;
}
0