結果
問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
ユーザー |
![]() |
提出日時 | 2017-02-18 14:59:29 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 3,000 ms |
コード長 | 43 bytes |
コンパイル時間 | 712 ms |
コンパイル使用メモリ | 19,200 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-30 04:05:30 |
合計ジャッジ時間 | 1,054 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | r;main(){ | ^ main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘r’ [-Wimplicit-int] main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | r;main(){ | ^~~~ main.c: In function ‘main’: main.c:3:12: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] 3 | r=!puts("0"); | ^~~~ main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘puts’ +++ |+#include <stdio.h> 1 | r;main(){
ソースコード
r;main(){ for(;r++<1e9;); r=!puts("0"); }