QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#594139 | #9354. Justifying the Conjecture | zanq# | WA | 0ms | 3856kb | C++98 | 444b | 2024-09-27 19:37:49 | 2024-09-27 19:37:50 |
Judging History
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;
}
Details
Tip: Click on the bar to expand more detailed information
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