結果
| 問題 | No.2700 Please Hack Greedy Solution! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-15 09:53:35 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 500 ms |
| コード長 | 547 bytes |
| 記録 | |
| コンパイル時間 | 926 ms |
| コンパイル使用メモリ | 179,920 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-07 00:23:14 |
| 合計ジャッジ時間 | 1,691 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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();
}
}