結果

問題 No.508 超ゆとり教育
ユーザー nxterunxteru
提出日時 2017-05-25 23:29:52
言語 C
(gcc 12.3.0)
結果
RE  
実行時間 -
コード長 22 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 25,952 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 23:22:25
合計ジャッジ時間 3,168 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){puts(1000000);}
      | ^~~~
main.c: In function 'main':
main.c:1:8: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | main(){puts(1000000);}
      |        ^~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts'
  +++ |+#include <stdio.h>
    1 | main(){puts(1000000);}
main.c:1:13: warning: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    1 | main(){puts(1000000);}
      |             ^~~~~~~
      |             |
      |             int
main.c:1:13: note: expected 'const char *' but argument is of type 'int'

ソースコード

diff #

main(){puts(1000000);}
0