結果

問題 No.85 TVザッピング(1)
ユーザー pessimist
提出日時 2025-06-18 22:30:58
言語 Perl
(5.40.0)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 73 bytes
コンパイル時間 515 ms
コンパイル使用メモリ 8,100 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-06-18 22:31:00
合計ジャッジ時間 1,974 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 1.
Possible precedence problem on bitwise & operator at Main.pl line 1.
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>=~/(\d+)\s+(\d+)\s+(\d+)/;print $1*$2<3|$1>1&$2>1&$1*$2%2<1?"YES":"NO";
0