結果

問題 No.1594 Three Classes
ユーザー tailstails
提出日時 2021-07-11 01:25:32
言語 Perl
(5.38.2)
結果
AC  
実行時間 394 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 329 ms
コンパイル使用メモリ 19,968 KB
実行使用メモリ 19,968 KB
最終ジャッジ日時 2024-04-28 00:39:19
合計ジャッジ時間 8,455 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 394 ms
19,968 KB
testcase_01 AC 185 ms
19,840 KB
testcase_02 AC 177 ms
19,968 KB
testcase_03 AC 382 ms
19,840 KB
testcase_04 AC 382 ms
19,968 KB
testcase_05 AC 382 ms
19,968 KB
testcase_06 AC 381 ms
19,840 KB
testcase_07 AC 381 ms
19,968 KB
testcase_08 AC 391 ms
19,968 KB
testcase_09 AC 384 ms
19,840 KB
testcase_10 AC 392 ms
19,968 KB
testcase_11 AC 381 ms
19,840 KB
testcase_12 AC 375 ms
19,968 KB
testcase_13 AC 242 ms
19,968 KB
testcase_14 AC 378 ms
19,840 KB
testcase_15 AC 381 ms
19,968 KB
testcase_16 AC 344 ms
19,968 KB
testcase_17 AC 373 ms
19,840 KB
testcase_18 AC 224 ms
19,840 KB
testcase_19 AC 270 ms
19,968 KB
testcase_20 AC 317 ms
19,840 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