QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#239575#7680. Subwayucup-team130#WA 1ms4032kbC++202.2kb2023-11-04 21:27:382023-11-04 21:27:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2 1
2 1 2
3 3 2

output:

2
13 -1101 999999900 2 999999899 3 3 2 999999791 -1101 999999790 1 999999789 2 1 1 999999681 -1101 999999680 0 999999679 1 2 0 999999571 -1101 999999570
10 -1102 999999900 2 999999898 3 3 2 999999792 -1102 999999790 1 999999788 2 1 1 999999682 -1102 999999680 -1102 999999570

result:

ok ok Sum L = 23

Test #2:

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

input:

1
1 1 1

output:

1
5 -1101 999999900 0 999999899 1 1 0 999999791 -1101 999999790

result:

ok ok Sum L = 5

Test #3:

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

input:

1
1 1 50

output:

50
5 -1101 999999900 0 999999899 1 1 0 999999791 -1101 999999790
5 -1102 999999900 0 999999898 1 1 0 999999792 -1102 999999790
5 -1103 999999900 0 999999897 1 1 0 999999793 -1103 999999790
5 -1104 999999900 0 999999896 1 1 0 999999794 -1104 999999790
5 -1105 999999900 0 999999895 1 1 0 999999795 -11...

result:

ok ok Sum L = 250

Test #4:

score: 0
Accepted
time: 1ms
memory: 3900kb

input:

50
662 -567 48
728 -120 7
307 669 27
-885 -775 21
100 242 9
-784 -537 41
940 198 46
736 -551 30
-449 456 16
-945 382 18
-182 810 49
213 187 44
853 245 48
617 -305 19
-81 261 3
617 208 8
-548 -652 6
-888 -667 14
-371 -812 43
202 -702 10
-668 -725 5
961 -919 33
-870 -697 50
428 810 29
560 405 7
348 -3...

output:

50
201 -1101 999999900 960 999999899 961 -919 960 999999791 -1101 999999790 939 999999789 940 198 939 999999681 -1101 999999680 884 999999679 885 -57 884 999999571 -1101 999999570 852 999999569 853 245 852 999999461 -1101 999999460 845 999999459 846 -163 845 999999351 -1101 999999350 735 999999349 7...

result:

ok ok Sum L = 6129

Test #5:

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

input:

50
-772 697 1
-756 -909 1
659 923 1
850 471 1
260 -24 1
473 -639 1
-575 393 1
-466 197 1
333 -637 1
-192 -890 1
103 546 1
749 -723 1
-573 613 1
214 -138 1
277 928 1
266 291 1
911 275 1
-680 -67 1
69 190 1
-197 -795 1
684 618 1
729 -115 1
-658 -229 1
-595 -470 1
898 -172 1
401 81 1
133 685 1
223 400 ...

output:

1
201 -1101 999999900 994 999999899 995 711 994 999999791 -1101 999999790 910 999999789 911 275 910 999999681 -1101 999999680 897 999999679 898 -172 897 999999571 -1101 999999570 849 999999569 850 471 849 999999461 -1101 999999460 748 999999459 749 -723 748 999999351 -1101 999999350 728 999999349 72...

result:

ok ok Sum L = 201

Test #6:

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

input:

50
-56 747 3
993 -490 4
930 -139 1
-298 -330 1
938 -351 5
-973 100 5
-472 44 4
345 628 5
481 -91 4
789 581 5
457 -29 4
871 -799 1
692 994 4
699 854 2
893 -33 1
-483 256 3
-962 -540 2
846 -893 1
830 609 5
845 -383 2
-552 -966 1
-544 -51 1
564 186 4
-615 -675 1
618 -911 3
-561 -302 4
-293 667 3
-334 -...

output:

5
201 -1101 999999900 992 999999899 993 -490 992 999999791 -1101 999999790 937 999999789 938 -351 937 999999681 -1101 999999680 929 999999679 930 -139 929 999999571 -1101 999999570 892 999999569 893 -33 892 999999461 -1101 999999460 870 999999459 871 -799 870 999999351 -1101 999999350 845 999999349 ...

result:

ok ok Sum L = 678

Test #7:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

50
600 997 5
-893 -204 3
408 443 1
-560 -748 7
-647 161 6
-285 -980 1
87 -582 7
-48 -721 7
997 285 2
-189 -728 8
525 222 4
-324 816 9
760 317 3
753 -480 10
-813 -921 3
-325 -875 8
-747 816 10
-627 605 7
775 786 6
136 -54 2
274 948 10
216 -113 7
924 68 3
101 576 8
60 -501 2
898 801 8
-767 -974 10
-99...

output:

10
201 -1101 999999900 996 999999899 997 285 996 999999791 -1101 999999790 931 999999789 932 -941 931 999999681 -1101 999999680 923 999999679 924 68 923 999999571 -1101 999999570 897 999999569 898 801 897 999999461 -1101 999999460 774 999999459 775 786 774 999999351 -1101 999999350 759 999999349 760...

result:

ok ok Sum L = 1353

Test #8:

score: 0
Accepted
time: 1ms
memory: 3980kb

input:

50
24 -889 49
117 418 49
25 524 44
980 -416 43
-494 357 41
-287 -285 46
151 574 41
-289 68 49
-515 -540 41
-367 -178 47
-887 151 45
197 -272 47
714 724 45
-737 94 49
810 830 47
808 -695 41
537 -637 49
-142 -167 44
-749 -631 47
445 -444 42
801 910 43
59 363 42
-912 466 50
-649 -479 48
-958 -511 49
88...

output:

50
201 -1101 999999900 979 999999899 980 -416 979 999999791 -1101 999999790 937 999999789 938 -596 937 999999681 -1101 999999680 880 999999679 881 158 880 999999571 -1101 999999570 809 999999569 810 830 809 999999461 -1101 999999460 807 999999459 808 -695 807 999999351 -1101 999999350 800 999999349 ...

result:

ok ok Sum L = 9354

Test #9:

score: -100
Wrong Answer
time: 1ms
memory: 3908kb

input:

50
151 -171 50
-367 -951 50
808 569 50
150 -618 50
27 -476 50
-846 729 50
549 -456 50
50 646 50
294 -70 50
-571 104 50
128 -265 50
913 -700 50
267 -965 50
896 846 50
-2 713 50
21 679 50
-515 975 50
168 180 50
-369 -98 50
676 115 50
643 -779 50
920 -237 50
-324 450 50
149 -378 50
-882 -602 50
-126 -7...

output:

50
201 -1101 999999900 944 999999899 945 -250 944 999999791 -1101 999999790 919 999999789 920 -237 919 999999681 -1101 999999680 912 999999679 913 -700 912 999999571 -1101 999999570 895 999999569 896 846 895 999999461 -1101 999999460 894 999999459 895 -564 894 999999351 -1101 999999350 841 999999349...

result:

wrong answer Sum of L too large.