結果
| 問題 |
No.3211 NAND Oracle
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-25 21:28:15 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 301 bytes |
| コンパイル時間 | 2,155 ms |
| コンパイル使用メモリ | 194,616 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-07-25 21:28:21 |
| 合計ジャッジ時間 | 4,828 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 18 WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int N,K; cin >> N >> K;
K -= 2;
if(N/2 > K) cout << "No\n";
else{
cout << "Yes\n";
for(int i=0; i<N; i++) cout << i+1 << " " << i+2 << "\n";
}
}