結果

問題 No.5007 Steiner Space Travel
ユーザー rinrionrinrion
提出日時 2022-08-03 15:01:43
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 1,101 bytes
コンパイル時間 1,436 ms
実行使用メモリ 6,952 KB
スコア 1,221,702
最終ジャッジ日時 2022-08-03 15:01:49
合計ジャッジ時間 3,148 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,948 KB
testcase_01 AC 1 ms
6,948 KB
testcase_02 AC 1 ms
4,900 KB
testcase_03 AC 1 ms
6,952 KB
testcase_04 AC 1 ms
6,948 KB
testcase_05 AC 2 ms
6,948 KB
testcase_06 AC 2 ms
4,904 KB
testcase_07 AC 1 ms
4,900 KB
testcase_08 AC 1 ms
4,908 KB
testcase_09 AC 2 ms
6,952 KB
testcase_10 AC 1 ms
6,948 KB
testcase_11 AC 3 ms
4,900 KB
testcase_12 AC 1 ms
6,952 KB
testcase_13 AC 1 ms
6,948 KB
testcase_14 AC 2 ms
4,900 KB
testcase_15 AC 2 ms
6,948 KB
testcase_16 AC 1 ms
4,900 KB
testcase_17 AC 1 ms
4,904 KB
testcase_18 AC 2 ms
4,904 KB
testcase_19 AC 1 ms
6,948 KB
testcase_20 AC 1 ms
4,900 KB
testcase_21 AC 1 ms
4,904 KB
testcase_22 AC 1 ms
4,904 KB
testcase_23 AC 1 ms
4,900 KB
testcase_24 AC 1 ms
4,904 KB
testcase_25 AC 1 ms
4,908 KB
testcase_26 AC 1 ms
6,948 KB
testcase_27 AC 2 ms
6,948 KB
testcase_28 AC 2 ms
4,904 KB
testcase_29 AC 2 ms
4,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include<chrono> //時間計測
using namespace std;

static uint32_t randxor(){//ランダム数(int)
	static uint32_t x = 123456789;
	static uint32_t y = 362436069;
	static uint32_t z = 521288629;
	static uint32_t w = 88675123;
	uint32_t t = x ^ (x << 11);
	x = y; y = z; z = w;
	return w = (w ^ (w >> 19)) ^ (t ^ (t >> 8));
}

static double rand01(){//ランダム数(0.0以上1.0未満の小数)
	return(randxor()+0.5)*(1.0/UINT_MAX);
}

double time_limit=950;//終了時間
double gettime;//経過時間
chrono::system_clock::time_point  time_now; //現在の時間

double start_temp=2000, end_temp=0.001;

int main(){
	int n,m;
	cin>>n>>m;
	
	vector<int>a(n),b(n);
	for(int i=0; i<n; i++){
		cin>>a[i]>>b[i];
	}
	
	vector<tuple<int,int>>cd(8);
	for(int i=0; i<8; i++){
		get<0>(cd[i])=0;
		get<1>(cd[i])=0;
	}
	
	vector<tuple<int,int>>tr(101);
	for(int i=0; i<101; i++){
		get<0>(tr[i])=1;
		get<1>(tr[i])=i%100+1;
	}
	
	for(auto x:cd){
		cout<<get<0>(x)<<" "<<get<1>(x)<<endl;
	}
	cout<<tr.size()<<endl;
	for(auto x:tr){
		cout<<get<0>(x)<<" "<<get<1>(x)<<endl;
	}

}
0