結果

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

テストケース

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

ソースコード

diff #

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