Submission #845626

# Submission time Handle Problem Language Result Execution time Memory
845626 2023-09-06T14:33:03 Z vjudge1 Konstrukcija (COCI20_konstrukcija) C++17
0 / 110
1 ms 348 KB
#include <bits/stdc++.h>
using namespace std;
#define int long long
const int MOD = 1e9+7;
int32_t main(){
	int k;cin>>k;
	if (k<0){
		k=-k;
		cout<<k+3<<" "<<(k+1)*2<<endl;
		for (int i = 2; i < k+3; i++){
			cout<<1<<" "<<i<<endl;
			cout<<i<<" "<<k+3<<endl;
		}
		return 0;
	}
	assert(false);
}
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 348 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Wrong answer.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 348 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 348 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -