結果
| 問題 |
No.2700 Please Hack Greedy Solution!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-15 09:53:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 500 ms |
| コード長 | 547 bytes |
| コンパイル時間 | 1,224 ms |
| コンパイル使用メモリ | 160,668 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2025-01-06 11:39:04 |
| 合計ジャッジ時間 | 1,685 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int N = 4e5 + 1, M = 51, K = 26, mod = 1e9 + 7;
mt19937 rnd(time(nullptr));
void solve() {
int n = 1000, w = 1000;
cout << n << " " << w << endl;
cout << "10000 1\n";
for (int i = 2; i <= n; ++i) {
cout << (i - 1) * 10001 << " " << i << endl;
}
}
void init() {
}
int main() {
init();
int testCases = 1;
// cin >> testCases;
for (int testCase = 1; testCase <= testCases; ++testCase) {
solve();
}
}