結果

問題 No.2357 Guess the Function
ユーザー tailstails
提出日時 2023-06-23 21:33:38
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 24,312 KB
平均クエリ数 4.55
最終ジャッジ日時 2023-09-13 16:33:28
合計ジャッジ時間 1,264 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
23,988 KB
testcase_01 AC 27 ms
23,412 KB
testcase_02 AC 28 ms
24,288 KB
testcase_03 AC 27 ms
23,484 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 26 ms
23,604 KB
testcase_08 AC 28 ms
23,592 KB
testcase_09 WA -
testcase_10 AC 27 ms
23,784 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$|=print"? 50\n? 100\n";
$c=<>;
$d=<>;
for$a(0..99){
	for$b($a+1..100){
		if(($a+50)%$b==$c&&($a+100)%$b==$d){
			print"! $a $b\n";
		}
	}
}
0