QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#605383#9354. Justifying the ConjectureTheliser#WA 0ms3552kbC++20472b2024-10-02 16:56:072024-10-02 16:56:08

Judging History

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

  • [2024-10-02 16:56:08]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3552kb
  • [2024-10-02 16:56:07]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int T;
    cin >> T;
    while (T --) {
        int n;
        cin >> n;
        if (n <= 5) {
            cout << -1 << '\n';
            return 0;
        }
        if (n % 2 == 0) {
            cout << 2 << ' ' << n - 2 << '\n';
        } else {
            cout << 3 << ' ' << n - 3 << '\n';
        }
    }
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
4
6
7

output:

-1

result:

wrong output format Unexpected end of file - int64 expected