結果
問題 |
No.331 CodeRunnerでやれ
|
ユーザー |
|
提出日時 | 2015-12-24 00:21:02 |
言語 | C90 (gcc 12.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 466 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 20,480 KB |
実行使用メモリ | 83,080 KB |
平均クエリ数 | 60.29 |
最終ジャッジ日時 | 2024-07-16 22:18:52 |
合計ジャッジ時間 | 9,227 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 TLE * 1 -- * 8 |
ソースコード
#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); } }