QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#225405#4941. Tree Beautynew_dawn_2#WA 105ms49284kbC++174.3kb2023-10-24 16:56:272023-10-24 16:56:27

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 15988kb

input:

5 5
1 1 3 3
1 1 99 2
2 1
2 3
1 3 2 3
2 3

output:

245
97
99

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 15900kb

input:

1 1

2 1

output:

0

result:

ok single line: '0'

Test #3:

score: -100
Wrong Answer
time: 105ms
memory: 49284kb

input:

100000 100000
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

1818724600
1818724600
1818724600
4442894025572164728
-2005598784094602789
2225395669795700704
-1217936945799368268
-4071858045137511859
2366272646956060616
2366272646956060616
-2758612086222405666
-2458119731431942197
2662361984154515292
-1705048720262749344
-3931621796706321757
2196762593237642727
...

result:

wrong answer 4th lines differ - expected: '672469600', found: '4442894025572164728'