Submission #554437

# Submission time Handle Problem Language Result Execution time Memory
554437 2022-04-28T11:46:30 Z amunduzbaev Reconstruction Project (JOI22_reconstruction) C++17
0 / 100
0 ms 212 KB
#include "bits/stdc++.h"
using namespace std;

mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const int inf = 1e8;

signed main(){
	ios::sync_with_stdio(0); cin.tie(0);
	
	int n = 20, m = n + uniform_int_distribution<int>(5, 7)(rng);
	cout<<n<<" "<<m<<"\n";
	for(int i=0;i<m;i++){
		int a, b, c;
		a = uniform_int_distribution<int>(1, n)(rng);
		b = uniform_int_distribution<int>(1, n - 1)(rng);
		c = uniform_int_distribution<int>(inf, inf * 10)(rng);
		if(b >= a) b++;
		cout<<a<<" "<<b<<" "<<c<<"\n";
	}
	
	int q = 50; 
	cout<<q<<"\n";
	for(int i=0;i<q;i++){
		int c = uniform_int_distribution<int>(inf, inf * 10)(rng);
		cout<<c<<"\n";
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -