Submission #845538

# Submission time Handle Problem Language Result Execution time Memory
845538 2023-09-06T14:02:45 Z vjudge1 Konstrukcija (COCI20_konstrukcija) C++17
0 / 110
1 ms 344 KB
#include <bits/stdc++.h>
using namespace std;
 
#define fast ios::sync_with_stdio(0);cin.tie(0);
#define s second
#define f first
typedef long long ll;
const ll MOD = 998244353;
const ll LOGN = 20;
const ll MAXN = 3e5 + 5;

int main() {
	fast
	int K;
	cin >> K;

	int N = abs(K)+4;

	cout << N << " " << (N-2)*2 << "\n";
	for (int i = 2; i <= N-2; i++) {
		cout << "1 " << i << "\n";
		cout << i << " " << N << "\n";
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -