結果
| 問題 |
No.5007 Steiner Space Travel
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-30 14:38:15 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.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 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#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