QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#594139#9354. Justifying the Conjecturezanq#WA 0ms3856kbC++98444b2024-09-27 19:37:492024-09-27 19:37:50

Judging History

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

  • [2024-09-27 19:37:50]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3856kb
  • [2024-09-27 19:37:49]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define int long long
int t;
signed main(){
    scanf("%lld", &t);
    while(t--){
        int a;
        scanf("%lld", &a);
        if(a<6){
            printf("-1\n");
        }
        else{
            if(a%2==1){
                printf("3 %lld", a - 3);
            }
            else{
                printf("2 %lld", a - 2);
            }
        }
    }
    return 0;
}

详细

Test #1:

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

input:

3
4
6
7

output:

-1
2 43 4

result:

wrong answer x + y != n