結果

問題 No.2678 Minmax Independent Set (Hack)
ユーザー ぷらぷら
提出日時 2024-03-15 22:45:07
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 977 bytes
コンパイル時間 1,362 ms
コンパイル使用メモリ 136,236 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-03-15 22:45:10
合計ジャッジ時間 1,856 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <string.h>
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout << 7001 << "\n";
    for(int i = 2; i <= 7001; i += 7) {
        cout << 1 << " " << i << endl;
        cout << i << " " << i+1 << endl;
        cout << i << " " << i+2 << endl;
        cout << i << " " << i+3 << endl;
        cout << i+1 << " " << i+4 << endl;
        cout << i+2 << " " << i+5 << endl;
        cout << i+3 << " " << i+6 << endl;
    }
}
0