QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#111986#5141. Identical ParityMaMengQiWA 2ms3404kbC++231.3kb2023-06-09 12:12:092023-06-09 12:12:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3404kb

input:

3
3 1
4 2
5 3

output:

p=1
p=2
p=3
nums=1
starting_index=1
total=1
isOdd
nums=2
starting_index=2
total=2
isEven
nums=3
starting_index=3
total=3
isOdd
NO
p=1
p=2
p=3
p=4
nums=1
nums=2
starting_index=1
total=3
isOdd
nums=2
nums=3
starting_index=2
total=5
isOdd
nums=3
nums=4
starting_index=3
total=7
isOdd
Yes
p=1
p=2
p=3
p=4...

result:

wrong output format YES or NO expected, but P=1 found [1st token]