QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#539234#8934. Challenge NPCucup-team3699#WA 17ms3616kbC++14742b2024-08-31 14:19:392024-08-31 14:19:40

Judging History

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

  • [2024-08-31 14:19:40]
  • 评测
  • 测评结果:WA
  • 用时:17ms
  • 内存:3616kb
  • [2024-08-31 14:19:39]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    int k;
    cin >> k;
    LL n = 1006, m = 502 * 503 + 503, c = 2;
    cout << n << ' ' << m << ' ' << c << '\n';
    int cnt = 0;
    for(int i = 1; i <= n; i++){
        if(i & 1){
            cout << 1 << ' ';
        }else{
            cout << 2 << ' ';
        }
    }
    cout << '\n';
    for(int i = 1; i <= n / 2; i++){
        int x = i * 2 - 1, y = i * 2;
        cout << x << ' ' << y << '\n';
        for(int j = 1; j < i; j++){
            int u = j * 2 - 1, v = j * 2;
            cout << x << ' ' << v << '\n';
            cout << y << ' ' << u << '\n';
        }
    }
}

详细

Test #1:

score: 0
Wrong Answer
time: 17ms
memory: 3616kb

input:

1

output:

1006 253009 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