結果
| 問題 | 
                            No.5009 Draw A Convex Polygon
                             | 
                    
| コンテスト | |
| ユーザー | 
                             O--O
                         | 
                    
| 提出日時 | 2022-12-02 17:31:08 | 
| 言語 | C++17(gcc12)  (gcc 12.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 954 bytes | 
| コンパイル時間 | 2,249 ms | 
| 実行使用メモリ | 22,504 KB | 
| スコア | 0 | 
| 平均クエリ数 | 1000001.00 | 
| 最終ジャッジ日時 | 2022-12-02 17:31:15 | 
| 合計ジャッジ時間 | 6,605 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge13 / judge12 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 1 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define int ll
#define double ld
#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pii pair<int , int>
#define pb emplace_back
//#define endl '\n'
#define all(x) x.begin() , x.end()
#define rall(x) x.rbegin() , x.rend()
#define F first
#define S second
const int mod = 1e9 + 7;
const int MAXX = 1e5 + 5;
const int N = 1e5;
char a , b , c;
signed main()
{
    _FastIO;
//  freopen("input.txt", "r", stdin);
//	freopen("output.txt", "w", stdout);
    int n = 1e6;
    cout << n << endl;
    cout << "10000000 0" << endl;
    cout << "0 0" << endl;
    cout << "0 5" << endl;
    n -= 3;
    int x = 0;
    int y = 5;
    bool f = true;
    while(n--){
        if(f){
            x++;
            f = false;
        }else{
            y++;
            f = true;
        }
        cout << x << " " << y << endl;
    }
    return 0;
}
            
            
            
        
            
O--O