結果

問題 No.331 CodeRunnerでやれ
ユーザー ciel
提出日時 2015-12-24 00:29:33
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 435 bytes
コンパイル時間 509 ms
コンパイル使用メモリ 20,224 KB
実行使用メモリ 96,660 KB
平均クエリ数 3.06
最終ジャッジ日時 2024-07-16 08:12:10
合計ジャッジ時間 7,813 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample TLE * 1
other WA * 1 -- * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(){
	int N,x;
	for(;;){
		puts("L");
		fflush(stdout);
		scanf("%d",&N);
		for(x=99;--x;){
			puts("R");
			fflush(stdout);
			scanf("%d",&N);
			for(;!N;){
				puts("L");
				fflush(stdout);
				scanf("%d",&N);
			}
			if(N>50){
				for(x=50;--x;)puts("F");
				return 0;
			}
			puts("F");
			fflush(stdout);
			scanf("%d",&N);
		}
		for(;N--;){
			puts("F");
			fflush(stdout);
			scanf("%d",&x);
		}
	}
}
0