結果

問題 No.5007 Steiner Space Travel
ユーザー a9ua1i0na9ua1i0n
提出日時 2022-07-30 14:38:15
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 937 bytes
コンパイル時間 1,155 ms
実行使用メモリ 3,592 KB
スコア 1,221,702
最終ジャッジ日時 2022-07-30 14:38:19
合計ジャッジ時間 2,944 ms
ジャッジサーバーID
(参考情報)
judge10 / judge15
純コード判定しない問題か言語
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
3,584 KB
testcase_01 AC 1 ms
3,504 KB
testcase_02 AC 2 ms
3,468 KB
testcase_03 AC 1 ms
3,472 KB
testcase_04 AC 2 ms
3,456 KB
testcase_05 AC 2 ms
3,472 KB
testcase_06 AC 1 ms
3,540 KB
testcase_07 AC 2 ms
3,576 KB
testcase_08 AC 1 ms
3,592 KB
testcase_09 AC 1 ms
3,588 KB
testcase_10 AC 1 ms
3,472 KB
testcase_11 AC 2 ms
3,508 KB
testcase_12 AC 1 ms
3,556 KB
testcase_13 AC 1 ms
3,456 KB
testcase_14 AC 1 ms
3,576 KB
testcase_15 AC 1 ms
3,476 KB
testcase_16 AC 1 ms
3,476 KB
testcase_17 AC 1 ms
3,536 KB
testcase_18 AC 2 ms
3,560 KB
testcase_19 AC 1 ms
3,408 KB
testcase_20 AC 1 ms
3,576 KB
testcase_21 AC 2 ms
3,540 KB
testcase_22 AC 1 ms
3,500 KB
testcase_23 AC 2 ms
3,528 KB
testcase_24 AC 1 ms
3,500 KB
testcase_25 AC 1 ms
3,560 KB
testcase_26 AC 2 ms
3,404 KB
testcase_27 AC 2 ms
3,496 KB
testcase_28 AC 2 ms
3,512 KB
testcase_29 AC 2 ms
3,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#if !__INCLUDE_LEVEL__
#include __FILE__

constexpr clock_t TL = 1.0*CLOCKS_PER_SEC;

signed main()
{
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    ll N,M;
    cin >> N >> M;
    vector<pair<ll,ll>> pos(N);
    REP(i,N)cin >> pos[i].first >> pos[i].second;

    REP(i,M)cout << 0 << " " << 0 << "\n";
    cout << N+1 << "\n";
    REP(i,N)cout << 1 << " " << i+1 << "\n";
    cout << 1 << " " << 0+1 << "\n";
    
    return 0;
}


//====================temp====================
#else
#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define RREP(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define REPITR(itr, ARRAY) for (auto itr = (ARRAY).begin(); itr != (ARRAY).end(); ++itr)
#define RREPITR(itr, ARRAY) for (auto itr = (ARRAY).rbegin(); itr != (ARRAY).end(); ++itr)
#define ALL(n) (n).begin(),(n).end()
using ll = long long;
using ull = unsigned long long;
#endif
0