結果
問題 |
No.5007 Steiner Space Travel
|
ユーザー |
![]() |
提出日時 | 2022-07-30 14:12:27 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,139 bytes |
コンパイル時間 | 3,502 ms |
実行使用メモリ | 3,640 KB |
スコア | 0 |
最終ジャッジ日時 | 2022-07-30 14:12:41 |
合計ジャッジ時間 | 13,219 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge10 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 30 |
ソースコード
#ifdef ONLINE_JUDGE #define NDEBUG 1 #endif #include <bits/stdc++.h> //ifブロックはインデントがいる #if __has_include(<atcoder/all>) #include <atcoder/all> using namespace atcoder; #endif #define repp(i,l,r)for(long long i=(l);i<(r);i++) #define rep(i,n) for (long long i = 0; i < (n); ++i) #define per(i,n) for (long long i = (n); i >= 0; --i) #define all(v) v.begin(), v.end() const int INF = 1<<30; const long long LINF = 1LL << 60; const long long int MOD = 1000000007; using namespace std; using ll = long long; using P = pair<int,int>; using PLI = pair<long long,long long>; template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } //ミョ(-ω- ?) int main() { cin.tie(nullptr) ; ios::sync_with_stdio(false) ; int n, m; cin >> n >> m; vector<P> points(n); rep(i, n) { cin >> points[i].first >> points[i].second; } cout << 3 << "\n"; rep(i, n ) { cout << "1 " << i + 1 << "\n"; } cout << "1 1" << "\n"; return 0; }