#include <bits/stdc++.h>
using namespace std;
#define pii pair<int,int>
#define fs first
#define sc second
int main(){
int k;
cin>>k;
if(k>0){
vector<pii> v;
for(int i = 2;i<=k+2;i++){
v.push_back({1,i});
v.push_back({i,1000});
}
cout<<1000<<' '<<v.size()<<'\n';
for(auto &i:v)cout<<i.fs<<' '<<i.sc<<'\n';
}
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Correct. |
2 |
Correct |
1 ms |
212 KB |
Correct. |
3 |
Correct |
1 ms |
212 KB |
Correct. |
4 |
Correct |
1 ms |
212 KB |
Correct. |
5 |
Correct |
1 ms |
212 KB |
Correct. |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Unexpected end of file - int32 expected |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Correct. |
2 |
Correct |
1 ms |
212 KB |
Correct. |
3 |
Correct |
1 ms |
212 KB |
Correct. |
4 |
Correct |
1 ms |
212 KB |
Correct. |
5 |
Correct |
1 ms |
212 KB |
Correct. |
6 |
Incorrect |
1 ms |
212 KB |
Unexpected end of file - int32 expected |
7 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Correct. |
2 |
Correct |
1 ms |
212 KB |
Correct. |
3 |
Correct |
1 ms |
212 KB |
Correct. |
4 |
Correct |
1 ms |
212 KB |
Correct. |
5 |
Correct |
1 ms |
212 KB |
Correct. |
6 |
Incorrect |
1 ms |
212 KB |
Unexpected end of file - int32 expected |
7 |
Halted |
0 ms |
0 KB |
- |