結果
問題 | No.2700 Please Hack Greedy Solution! |
ユーザー |
|
提出日時 | 2024-03-29 22:20:22 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 500 ms |
コード長 | 315 bytes |
コンパイル時間 | 5,598 ms |
コンパイル使用メモリ | 252,704 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-06 11:37:00 |
合計ジャッジ時間 | 6,189 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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;}