#include<iostream>
using namespace std;
int main()
{
int k;
cin >> k;
cout << k + 3 << ' ' << 2 * (k + 1) << endl;
for(int i = 2; i < k + 3; i++)
cout << 1 << ' ' << i << endl;
for(int i = 2; i < k + 3; i++)
cout << i << ' ' << k + 3 << endl;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
348 KB |
Correct. |
2 |
Correct |
0 ms |
348 KB |
Correct. |
3 |
Correct |
1 ms |
348 KB |
Correct. |
4 |
Correct |
0 ms |
348 KB |
Correct. |
5 |
Correct |
1 ms |
348 KB |
Correct. |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Integer parameter [name=N] equals to -33, violates the range [1, 1000] |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
348 KB |
Correct. |
2 |
Correct |
0 ms |
348 KB |
Correct. |
3 |
Correct |
1 ms |
348 KB |
Correct. |
4 |
Correct |
0 ms |
348 KB |
Correct. |
5 |
Correct |
1 ms |
348 KB |
Correct. |
6 |
Incorrect |
0 ms |
344 KB |
Integer parameter [name=N] equals to -33, violates the range [1, 1000] |
7 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
348 KB |
Correct. |
2 |
Correct |
0 ms |
348 KB |
Correct. |
3 |
Correct |
1 ms |
348 KB |
Correct. |
4 |
Correct |
0 ms |
348 KB |
Correct. |
5 |
Correct |
1 ms |
348 KB |
Correct. |
6 |
Incorrect |
0 ms |
344 KB |
Integer parameter [name=N] equals to -33, violates the range [1, 1000] |
7 |
Halted |
0 ms |
0 KB |
- |