結果
問題 |
No.3211 NAND Oracle
|
ユーザー |
👑 |
提出日時 | 2025-07-26 08:24:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 439 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-07-26 08:25:03 |
合計ジャッジ時間 | 6,116 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 WA * 7 |
ソースコード
R=range Q,K=map(int,input().split()) if 1<Q<4 and K<3:exit(print("No")) if Q==4 and K<4:exit(print("No")) if Q==5 and K<5:exit(print("No")) if Q>5 and K<6:exit(print("No")) print("Yes") for i in R(Q): if i<2:print(1,2) elif i<3:print(3,4) elif i<5:print(4,5) else:print(6,7)