結果
問題 |
No.3211 NAND Oracle
|
ユーザー |
![]() |
提出日時 | 2025-07-25 22:27:04 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 275 ms |
コンパイル使用メモリ | 82,244 KB |
実行使用メモリ | 81,712 KB |
最終ジャッジ日時 | 2025-07-25 22:27:11 |
合計ジャッジ時間 | 5,145 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 18 WA * 10 |
ソースコード
Q,K = list(map(int,input().split())) if(K >= 5 or (K == 4 and Q <= 4) or (K == 3 and Q <= 3) or (K == 2 and Q == 1)): print("Yes") ans = [(1,2), (1,3), (3,4), (4,5), (4,5)] + [(6,7)]*(2*10**5+5) for i in ans[:Q]: print(*i) else: print("No")