結果
| 問題 | No.690 E869120 and Constructing Array 4 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-25 00:53:29 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 442 bytes |
| 記録 | |
| コンパイル時間 | 385 ms |
| コンパイル使用メモリ | 75,392 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-25 00:53:37 |
| 合計ジャッジ時間 | 6,384 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | AC * 1 WA * 4 TLE * 1 OLE * 1 -- * 12 |
ソースコード
#include <iostream>
#include <algorithm>
#include <cstdio>
using namespace std;
const int N = 16;
int k;
int main() {
// freopen("path.in", "r", stdin);
// freopen("path.out", "w", stdout);
scanf("%d", &k);
int n = k + 2, m = 2 * k;
cout << n << ' ' << m << endl;
for (int i = 2; i <= k + 1; ++i) cout << 1 << ' ' << i << endl;
for (int i = 2; i <= k + 1; ++i) cout << i << ' ' << n << endl;
return 0;
}