QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#815181#9881. Diverge and Convergeucup-team1878#WA 455ms4116kbC++237.2kb2024-12-15 06:48:152024-12-15 06:48:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3852kb

input:

4
1 2
2 3
3 4
1 2
2 4
2 3

output:

3 2 1
2 3 1

result:

ok Correct, N = 4

Test #2:

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

input:

2
1 2
2 1

output:

1
1

result:

ok Correct, N = 2

Test #3:

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

input:

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

output:

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

result:

ok Correct, N = 7

Test #4:

score: -100
Wrong Answer
time: 455ms
memory: 4116kb

input:

1000
780 67
364 281
934 245
121 472
460 233
574 534
91 687
91 832
413 613
815 638
519 196
992 120
150 157
198 365
643 700
279 698
623 215
578 330
869 333
874 570
879 697
897 671
962 670
108 137
779 9
988 91
919 314
696 722
431 270
810 692
769 49
254 915
737 580
229 888
379 612
19 161
787 346
280 753...

output:

734 448 458 215 703 286 134 486 538 259 484 210 381 532 178 883 188 124 497 895 530 667 602 306 128 837 375 449 731 418 687 195 153 47 511 314 131 429 149 154 526 614 509 775 34 164 868 186 889 803 809 546 28 641 810 956 297 845 913 754 541 787 462 72 59 615 938 310 126 86 878 706 334 920 947 797 48...

result:

wrong answer Integer 21949 violates the range [1, 999]