結果

問題 No.1594 Three Classes
ユーザー tailstails
提出日時 2021-07-11 01:25:32
言語 Perl
(5.38.2)
結果
AC  
実行時間 439 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 627 ms
コンパイル使用メモリ 19,152 KB
実行使用メモリ 19,208 KB
最終ジャッジ日時 2023-08-10 07:02:24
合計ジャッジ時間 9,933 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 425 ms
19,120 KB
testcase_01 AC 209 ms
19,140 KB
testcase_02 AC 209 ms
18,948 KB
testcase_03 AC 432 ms
19,016 KB
testcase_04 AC 434 ms
19,124 KB
testcase_05 AC 434 ms
19,112 KB
testcase_06 AC 427 ms
19,100 KB
testcase_07 AC 432 ms
19,044 KB
testcase_08 AC 415 ms
19,008 KB
testcase_09 AC 425 ms
19,208 KB
testcase_10 AC 426 ms
19,044 KB
testcase_11 AC 439 ms
19,016 KB
testcase_12 AC 424 ms
18,928 KB
testcase_13 AC 282 ms
19,056 KB
testcase_14 AC 417 ms
19,112 KB
testcase_15 AC 417 ms
19,140 KB
testcase_16 AC 395 ms
19,116 KB
testcase_17 AC 415 ms
18,988 KB
testcase_18 AC 253 ms
18,944 KB
testcase_19 AC 295 ms
18,936 KB
testcase_20 AC 345 ms
18,988 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 6.
Main.pl syntax OK

ソースコード

diff #

<>;@e=glob<>;
print grep({
	$i=$_;
	my@a;
	$a[$i%3]+=$_,$i/=3for@e;
	$a[0]==$a[1]&$a[0]==$a[2];
}0..2e5)?Yes:No
0