結果
| 問題 |
No.1509 Swap!!
|
| コンテスト | |
| ユーザー |
nasubi24
|
| 提出日時 | 2021-05-14 22:51:11 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 151 bytes |
| コンパイル時間 | 626 ms |
| コンパイル使用メモリ | 81,792 KB |
| 実行使用メモリ | 76,672 KB |
| 最終ジャッジ日時 | 2024-10-02 03:16:10 |
| 合計ジャッジ時間 | 8,145 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 WA * 13 |
ソースコード
for _ in range(int(input())):
n,a,b=map(int,input().split())
if min(a,b)==1 or abs(a-b)==1:
print("YES")
else:
print("NO")
nasubi24