結果
問題 | No.1699 Unfair RPS |
ユーザー |
![]() |
提出日時 | 2025-03-20 21:04:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 179 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 82,900 KB |
実行使用メモリ | 53,436 KB |
最終ジャッジ日時 | 2025-03-20 21:04:21 |
合計ジャッジ時間 | 1,235 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
b, c = map(int, input().split())found = Falsefor a in [0, 1, 2]:if (a - b) % 3 == 1 and (a - c) % 3 == 1:found = Truebreakprint("Yes" if found else "No")