QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384649#6846. Wiring EngineeringdsostWA 32ms5680kbC++205.1kb2024-04-10 08:35:592024-04-10 08:35:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3652kb

input:

3 4
1 2 1
2 1 2
1 2 3
4 5 6
3 2 1
1 3 1 3
2 3 1 2
1 1 2 3
1 2 2 3

output:

8
5
1
7

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 32ms
memory: 5680kb

input:

24 90000
8793 8115 9643 2814 6394 7070 3822 4788 6737 6506 2901 4772 5347 5050 3493 2803 584 2544 3834 678 9891 2958 5475 522
9057 3674 3163 6433 5937 8480 4815 1201 5509 1303 4151 8190 6229 9339 9765 3011 2256 3682 8442 3641 2268 5609 4948 9632
5872 4006 7690 2611 5381 6184 9483 8527 8248 960 8124 ...

output:

75881
87595
87595
68037
81226
81226
69230
69230
69230
86397
86397
82428
79147
72830
72830
72830
72830
72830
86377
72254
81567
71099
75881
87595
87595
68037
81226
81226
83922
81567
72889
84843
68058
75271
75271
70783
79182
79182
82459
82459
82459
82459
76164
76164
76164
85155
89095
89930
80937
84843
...

result:

wrong answer 1st lines differ - expected: '0', found: '75881'