結果
| 問題 |
No.2700 Please Hack Greedy Solution!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 22:18:52 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 297 bytes |
| コンパイル時間 | 5,834 ms |
| コンパイル使用メモリ | 251,640 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-01-06 11:36:54 |
| 合計ジャッジ時間 | 6,057 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int N = 1000,W = 1000;
cout << N << " " << W << endl;
int v = 10000;
cout << v << " 1" << endl;
for(int i=N; i>=2; i--) cout << v*i-1 << " " << i << endl;
}