結果

問題 No.1556 Power Equality
コンテスト
ユーザー 👑 tails
提出日時 2021-06-25 21:21:34
言語 Perl
(5.42.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 58 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 373 ms
コンパイル使用メモリ 7,844 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2026-03-11 18:44:18
合計ジャッジ時間 824 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 2.
Possible precedence problem on bitwise | operator at Main.pl line 2.
Possible precedence problem on bitwise & operator at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #
raw source code

($a,$b)=glob<>;
print$a==$b|$a==2&$b==4|$a==4&$b==2?Yes:No
0