QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#730826#8934. Challenge NPCjimmyywangWA 2ms3640kbC++23433b2024-11-09 21:51:022024-11-09 21:51:03

Judging History

你现在查看的是最新测评结果

  • [2024-11-09 21:51:03]
  • 评测
  • 测评结果:WA
  • 用时:2ms
  • 内存:3640kb
  • [2024-11-09 21:51:02]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define f(i,a,b) for(ll i=a;i<=b;i++)
ll read(){
    ll x=0,f=1;char c=getchar();
    while(!isdigit(c)){if(c=='-')f=-1;c=getchar();}
    while(isdigit(c)){x=x*10+c-'0';c=getchar();}
    return x*f;
}
#define d read()
int main(){
    ll n=d;
    cout<<"1000 999 2\n";
    f(i,1,500)cout<<"1 2 ";
    f(i,1,999)cout<<i<<" "<<i+1<<endl;
    return 0;
}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3640kb

input:

1

output:

1000 999 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1...

result:

wrong answer The graph is not correct