結果
問題 |
No.508 超ゆとり教育
|
ユーザー |
![]() |
提出日時 | 2017-05-25 23:29:52 |
言語 | C (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 22 bytes |
コンパイル時間 | 1,031 ms |
コンパイル使用メモリ | 25,600 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-19 19:17:33 |
合計ジャッジ時間 | 2,988 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 7 |
コンパイルメッセージ
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'
ソースコード
main(){puts(1000000);}