結果

問題 No.331 CodeRunnerでやれ
ユーザー cielciel
提出日時 2015-12-24 00:36:02
言語 C90
(gcc 11.4.0)
結果
AC  
実行時間 298 ms / 5,000 ms
コード長 282 bytes
コンパイル時間 336 ms
コンパイル使用メモリ 23,504 KB
実行使用メモリ 24,376 KB
平均クエリ数 390.53
最終ジャッジ日時 2023-09-23 22:39:00
合計ジャッジ時間 5,342 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
23,400 KB
testcase_01 AC 172 ms
24,312 KB
testcase_02 AC 153 ms
24,004 KB
testcase_03 AC 202 ms
23,944 KB
testcase_04 AC 159 ms
23,352 KB
testcase_05 AC 150 ms
23,616 KB
testcase_06 AC 204 ms
24,336 KB
testcase_07 AC 171 ms
24,316 KB
testcase_08 AC 229 ms
23,644 KB
testcase_09 AC 225 ms
24,376 KB
testcase_10 AC 239 ms
24,364 KB
testcase_11 AC 209 ms
24,048 KB
testcase_12 AC 203 ms
23,668 KB
testcase_13 AC 254 ms
24,012 KB
testcase_14 AC 230 ms
23,544 KB
testcase_15 AC 242 ms
23,680 KB
testcase_16 AC 298 ms
23,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#import<stdio.h>
#define Z(S,N)puts(S),fflush(stdout),scanf("%d",&N);
N;main(x){
	for(gets(&N);;){
		Z("L",N)
		for(x=99;--x;){
			Z("R",N)
			for(;!N;){
				Z("L",N)
			}
			if(N>50){
				for(x=50;--x;)puts("F");
				exit(0);
			}
			Z("F",N)
		}
		for(;N--;){
			Z("F",x)
		}
	}
}
0