結果
| 問題 | No.338 アンケート機能 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-01-31 20:11:53 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 117 bytes |
| 記録 | |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 20,864 KB |
| 実行使用メモリ | 13,760 KB |
| 最終ジャッジ日時 | 2024-09-21 19:43:35 |
| 合計ジャッジ時間 | 3,643 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 2 TLE * 1 -- * 25 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
main.c:1:3: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^
main.c:1:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^
main.c:1:7: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^~~~
main.c: In function ‘main’:
main.c:1:7: warning: type of ‘t’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:19: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
main.c:1:19: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
| ^~~~~
main.c:1:19: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:81: warning: implicit declaration of function ‘printf�
ソースコード
i,a,b;main(t){for(scanf("%d%d",&a,&b);!i||(t*200/i+1)/2-a|((i-t)*200/i+1)/2-b||!printf("%d",i);)t=(a*2+.99)*++i/200;}
testestest