結果
| 問題 | No.2700 Please Hack Greedy Solution! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 21:35:36 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 500 ms |
| コード長 | 251 bytes |
| コンパイル時間 | 618 ms |
| コンパイル使用メモリ | 59,552 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-01-06 11:34:53 |
| 合計ジャッジ時間 | 970 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#include<iostream>
#include<cassert>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout<<1000<<" "<<1000<<"\n";
for(int w=1;w<=1000;w++)
{
int v=w==1?(int)1e5:(w-1)*((int)1e5+1);
cout<<v<<" "<<w<<"\n";
}
}