結果
| 問題 |
No.2700 Please Hack Greedy Solution!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-15 09:49:22 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 547 bytes |
| コンパイル時間 | 5,614 ms |
| コンパイル使用メモリ | 254,364 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2025-01-06 11:39:00 |
| 合計ジャッジ時間 | 5,868 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 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 << "1 10000\n";
for (int i = 2; i <= n; ++i) {
cout << i << " " << (i - 1) * 10001 << endl;
}
}
void init() {
}
int main() {
init();
int testCases = 1;
// cin >> testCases;
for (int testCase = 1; testCase <= testCases; ++testCase) {
solve();
}
}