QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#317002#8041. Life is Hard and Undecidable, but...ship2077WA 0ms3864kbC++14312b2024-01-28 11:13:532024-01-28 11:13:54

Judging History

This is the latest submission verdict.

  • [2024-01-28 11:13:54]
  • Judged
  • Verdict: WA
  • Time: 0ms
  • Memory: 3864kb
  • [2024-01-28 11:13:53]
  • Submitted

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;
    for (int i=-n;i<=n;i++)
        printf("%d %d\n",i,i);
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3864kb

input:

1

output:

0 0

result:

wrong answer no alive vertices