結果
問題 |
No.3211 NAND Oracle
|
ユーザー |
👑 |
提出日時 | 2025-07-26 11:33:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 516 bytes |
コンパイル時間 | 256 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2025-07-26 11:33:55 |
合計ジャッジ時間 | 6,656 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 19 WA * 9 |
ソースコード
R=range Q,K=map(int,input().split()) if 2<=Q<=3 and K<3:print("No") elif 4<=Q<=5 and K<4:print("No") elif 6<=Q and K<5:print("No") else: print("Yes") if Q==5: for q in R(1,Q+1): if 1<=q<=2:print(1,2) elif q==3:print(3,4) elif 4<=q<=5:print(4,5) else:print(6,7) else: for q in R(1,Q+1): if 1<=q<=2:print(1,2) elif 3<=q<=4:print(3,4) else:print(5,6) #__1234567 #123456789 #001101100 #011101100 #101101100 #110011100 #122334555 #__12345 #1234567 #0011001 #0111001 #1011001 #1100110 #1223344