結果

問題 No.1594 Three Classes
コンテスト
ユーザー 👑 tails
提出日時 2021-07-11 01:25:32
言語 Perl
(5.44.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 259 ms / 2,000 ms
+ 665µs
コード長 111 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 318 ms
コンパイル使用メモリ 20,224 KB
実行使用メモリ 20,352 KB
最終ジャッジ日時 2026-09-24 09:05:15
合計ジャッジ時間 7,471 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 6.
Main.pl syntax OK

ソースコード

diff #
raw source code

<>;@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