Submission #845679

# Submission time Handle Problem Language Result Execution time Memory
845679 2023-09-06T14:54:22 Z vjudge1 Konstrukcija (COCI20_konstrukcija) C++17
0 / 110
1 ms 344 KB
#include <bits/stdc++.h>
#define fast cin.tie(0)->sync_with_stdio(0);
#define int long long
#define inf ((int)1e18)
using namespace std;

int32_t main(){
	fast
	int k;
	cin>>k;
	if(k == 0) {
		int a = 0, b = 0;
		while(true) {
			a += b;
		}
	}
	if(false) {

	}
	else {
		cout<<k + 2<<" "<<k * 2<<"\n";
		for(int i = 0; i < k; i++) {
			cout<<1<<" "<<i + 2<<"\n";
		}
		for(int i = 0; i < k; i++) {
			cout<<i + 2<<" "<<k + 2<<"\n";
		}
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Wrong answer.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Integer parameter [name=N] equals to -34, violates the range [1, 1000]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Wrong answer.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Wrong answer.
2 Halted 0 ms 0 KB -