QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#357648#8132. Freshman's Dreamsquishybanana#WA 9ms9436kbPython3130b2024-03-19 06:39:372024-03-19 06:39:37

Judging History

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

  • [2024-03-19 06:39:37]
  • 评测
  • 测评结果:WA
  • 用时:9ms
  • 内存:9436kb
  • [2024-03-19 06:39:37]
  • 提交

answer

t = int(input())

for _ in range(t):
    n = int(input())
    if n%2 == 0:
        print(n//2, n//2)
    else: print(-1)


Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 9ms
memory: 9436kb

input:

5
2
3
6
10
18

output:

1 1
-1
3 3
5 5
9 9

result:

wrong answer sides not equal