#include <bits/stdc++.h>
using namespace std;
int main()
{
int k;
cin>>k;
cout<<k+1<<"\n";
cout<<"0 -1\n";
for(int i=1;i<=k;i++)
cout<<i<<" 0\n";
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Partially correct |
0 ms |
212 KB |
Partially correct |
4 |
Partially correct |
0 ms |
212 KB |
Partially correct |
5 |
Partially correct |
0 ms |
300 KB |
Partially correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Partially correct |
0 ms |
212 KB |
Partially correct |
4 |
Partially correct |
0 ms |
212 KB |
Partially correct |
5 |
Partially correct |
0 ms |
300 KB |
Partially correct |
6 |
Partially correct |
0 ms |
296 KB |
Partially correct |
7 |
Partially correct |
1 ms |
212 KB |
Partially correct |
8 |
Partially correct |
1 ms |
212 KB |
Partially correct |
9 |
Partially correct |
0 ms |
212 KB |
Partially correct |
10 |
Partially correct |
0 ms |
212 KB |
Partially correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Partially correct |
0 ms |
212 KB |
Partially correct |
4 |
Partially correct |
0 ms |
212 KB |
Partially correct |
5 |
Partially correct |
0 ms |
300 KB |
Partially correct |
6 |
Partially correct |
0 ms |
296 KB |
Partially correct |
7 |
Partially correct |
1 ms |
212 KB |
Partially correct |
8 |
Partially correct |
1 ms |
212 KB |
Partially correct |
9 |
Partially correct |
0 ms |
212 KB |
Partially correct |
10 |
Partially correct |
0 ms |
212 KB |
Partially correct |
11 |
Execution timed out |
1071 ms |
132208 KB |
Time limit exceeded |
12 |
Halted |
0 ms |
0 KB |
- |