結果
問題 | No.331 CodeRunnerでやれ |
ユーザー | ciel |
提出日時 | 2015-12-24 00:21:02 |
言語 | C90 (gcc 11.4.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 466 bytes |
コンパイル時間 | 863 ms |
コンパイル使用メモリ | 23,328 KB |
実行使用メモリ | 87,144 KB |
平均クエリ数 | 60.29 |
最終ジャッジ日時 | 2023-09-23 22:35:29 |
合計ジャッジ時間 | 9,121 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 146 ms
23,616 KB |
testcase_01 | AC | 137 ms
24,072 KB |
testcase_02 | AC | 158 ms
23,668 KB |
testcase_03 | AC | 161 ms
23,848 KB |
testcase_04 | AC | 158 ms
24,300 KB |
testcase_05 | AC | 155 ms
23,640 KB |
testcase_06 | AC | 162 ms
23,844 KB |
testcase_07 | AC | 190 ms
23,632 KB |
testcase_08 | TLE | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
ソースコード
#include <stdio.h> int main(){ int N,x; scanf("%d",&N); if(N>50){ for(x=0;x<50;x++)puts("F"); return 0; } for(;N--;){ puts("F"); fflush(stdout); scanf("%d",&x); } puts("L"); fflush(stdout); scanf("%d",&N); for(;;){ puts("R"); fflush(stdout); scanf("%d",&N); for(;!N;){ puts("L"); fflush(stdout); scanf("%d",&N); } if(N>50){ for(x=0;x<50;x++)puts("F"); return 0; } puts("F"); fflush(stdout); scanf("%d",&N); } }