結果
| 問題 | No.2700 Please Hack Greedy Solution! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 22:20:22 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 500 ms |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 1,823 ms |
| コンパイル使用メモリ | 199,996 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-07 00:19:35 |
| 合計ジャッジ時間 | 2,477 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int n = 1000;
int N = n,W = n;
cout << N << " " << W << endl;
int v = 10000;
cout << v << " 1" << endl;
for(int i=W; i>=2; i--) cout << v*i-(W-i+1) << " " << i << endl;
}