제출 #845679

#제출 시각아이디문제언어결과실행 시간메모리
845679vjudge1Konstrukcija (COCI20_konstrukcija)C++17
0 / 110
1 ms344 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...