QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#317005 | #8041. Life is Hard and Undecidable, but... | ship2077 | WA | 0ms | 3776kb | C++14 | 340b | 2024-01-28 11:14:34 | 2024-01-28 11:14:35 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int n;
int read(){
int x=0;char ch=getchar();
while (!isdigit(ch)) ch=getchar();
while (isdigit(ch)) x=x*10+ch-48,ch=getchar();
return x;
}
int main(){ n=read()-1;
printf("%d\n",n<<1|1);
for (int i=-n;i<=n;i++)
printf("%d %d\n",i,i);
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3776kb
input:
1
output:
1 0 0
result:
wrong answer Coordinate too small