QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#621788#8743. 转化NailongGroup#WA 16ms63908kbC++205.2kb2024-10-08 16:58:312024-10-08 16:58:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 16ms
memory: 61812kb

input:

100 1000
327 833 558 253 722 710 811 779 789 919 750 288 611 674 670 264 815 701 304 615 9 943 713 633 392 706 687 847 78 999 368 55 913 61 686 512 696 0 695 285 485 877 533 54 621 925 339 319 597 536 285 701 186 933 234 360 284 546 545 185 112 735 147 851 824 512 695 734 237 381 777 449 880 675 614...

output:

2155053232761438
74047065246801194391656046
965
2426374234007181537825780832913
1213187117003590768912890416691
18077896788769822849609
282467137324528482092
144623174310158582796217
2007265
67345413524067
256902392
8220875576
564934274649056963984
34480851724185745
9478024351590552882131956367
1284...

result:

ok 100 lines

Test #2:

score: 0
Accepted
time: 7ms
memory: 61464kb

input:

100 1000
419 67 836 765 105 801 89 109 677 745 664 148 719 22 617 422 362 483 748 435 244 922 129 307 166 80 740 851 422 364 757 277 322 626 671 395 21 875 774 645 727 336 958 164 105 109 371 841 276 625 154 234 632 999 597 527 793 536 927 511 169 27 289 924 982 178 859 721 430 988 603 900 917 850 5...

output:

120220501669479055473315
15027562708684881933938
1834419275962510223
895712537091260
109339909112
1668501
13667488579
208275
16135722593097685769228065065040
984846349676372422438236478
437359637273
223928134272617
874719274601
114651204747656549
258171561489562972307649041041141
834061
27334977431
...

result:

ok 100 lines

Test #3:

score: 0
Accepted
time: 6ms
memory: 63140kb

input:

100 40
277 790 179 390 145 440 959 311 334 364 791 756 22 0 518 476 992 10 515 830 316 92 38 716 42 51 310 16 101 324 634 644 793 890 793 433 828 756 996 910 55 993 690 357 176 428 415 779 792 13 565 55 386 363 855 662 284 564 887 894 738 212 630 866 91 937 483 93 479 62 101 797 250 847 872 105 639 ...

output:

infinity
790
infinity
infinity
infinity
infinity
infinity
infinity
334
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
38
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
i...

result:

ok 100 lines

Test #4:

score: 0
Accepted
time: 4ms
memory: 61388kb

input:

100 40
338 5 608 722 335 92 306 237 534 205 6 503 192 304 433 960 828 352 578 658 230 413 617 603 407 208 702 31 685 443 209 848 700 453 566 971 485 13 881 213 885 849 798 979 50 866 738 126 958 494 271 754 951 739 937 470 356 374 317 903 197 762 48 105 199 104 921 974 308 609 950 130 83 188 304 526...

output:

infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
6
infinity
infinity
1225
infinity
infinity
infinity
infinity
578
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
31
infinity
infinity
infinity
infinity
700
infinity
infinity
infinity
inf...

result:

ok 100 lines

Test #5:

score: 0
Accepted
time: 8ms
memory: 63148kb

input:

100 40
818 149 271 956 869 50 786 402 223 295 451 708 548 973 335 51 871 118 906 911 694 175 67 700 196 5 615 100 868 978 401 348 484 974 412 213 144 110 36 620 708 657 583 435 791 954 947 646 893 790 947 699 988 314 917 797 437 616 886 769 6 179 831 781 265 206 348 539 267 529 271 695 355 556 194 3...

output:

infinity
infinity
infinity
956
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
903
infinity
infinity
infinity
infinity
infinity
infinity
infinity
836
infinity
infinity
infinity
infinity
...

result:

ok 100 lines

Test #6:

score: 0
Accepted
time: 4ms
memory: 61152kb

input:

100 40
304 57 357 802 923 636 126 589 811 687 954 327 650 414 530 546 27 361 221 693 751 277 370 542 555 308 810 898 602 576 933 52 335 196 620 913 645 154 151 277 735 875 921 908 488 945 586 738 697 202 479 930 216 581 949 525 168 422 151 964 293 172 171 950 872 2 64 602 371 32 72 728 773 723 157 3...

output:

infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
327
infinity
infinity
infinity
infinity
27
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
898
infinity
infinity
infinity
infinity
infinity
infinity
infinity
i...

result:

ok 100 lines

Test #7:

score: 0
Accepted
time: 8ms
memory: 63140kb

input:

100 40
517 196 952 233 938 175 139 908 288 845 8 476 802 511 207 76 727 759 588 322 551 101 240 893 179 461 380 158 253 589 868 301 923 485 910 282 478 837 804 387 950 810 919 813 13 327 251 467 476 252 988 887 331 396 870 139 124 751 226 679 440 919 323 168 976 869 808 880 463 928 921 256 935 248 4...

output:

infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
158
infinity
infinity
868
infinity
infinity
infinity
infi...

result:

ok 100 lines

Test #8:

score: 0
Accepted
time: 12ms
memory: 61088kb

input:

100 1000
203 490 906 794 916 370 399 136 842 750 865 587 399 472 699 802 90 693 803 0 227 837 487 186 301 40 868 862 298 4 806 855 249 978 312 591 858 810 421 969 242 205 727 100 550 645 622 607 692 259 315 140 157 203 410 852 37 706 30 634 716 605 426 966 499 66 820 284 304 984 820 24 365 327 580 9...

output:

361865269963248212
856696680691596060217346320
40298812
233250665203
12906750498055594558410205074
12006
264511499
341
76013472943419
140702362930910
26856064954999877594775762
4208089251
3019
216782668387880557967644936
6338
60054053468
1109987081214587
529075830813599767017425
17451626718557343957...

result:

ok 100 lines

Test #9:

score: 0
Accepted
time: 4ms
memory: 61156kb

input:

100 1000
307 131 400 903 703 641 753 21 902 244 1 668 994 616 469 180 189 784 334 801 443 294 419 406 857 163 538 400 132 427 138 239 717 804 694 60 756 572 680 654 575 625 360 873 511 102 220 78 694 453 9 460 699 191 262 191 623 355 232 899 292 405 152 313 88 744 504 816 528 452 840 877 842 623 88 ...

output:

7785576
2371184
885195120897372397599108
63609914183090627927103
38888846127440654840
53018598989552840881736970
578071
106366681674879106
2165354122324265321810736940124
89708940
8970302528821264715615
5752151187
35466398182684507463993921608092
4639111177235
194881222
31502288461482
36798728442896...

result:

ok 100 lines

Test #10:

score: 0
Accepted
time: 12ms
memory: 61160kb

input:

100 1000
161 366 926 540 960 49 772 226 597 473 317 56 82 539 398 765 912 481 333 111 486 229 766 602 724 935 313 305 358 716 617 223 765 376 155 715 407 155 472 912 5 756 936 7 50 275 895 91 319 474 943 41 597 419 74 32 170 909 757 370 209 130 661 231 428 562 294 222 14 968 181 337 410 604 165 338 ...

output:

4280
18397716445869310
49660254676939759
609797278365102685255
444617551977889137548879
100779905688597021801864102
176309656779919760781481481490
2020286972641967127005
16664
1005410
8322161485577151381630
4019626992292
31608215199650303
4830461568905518
875024058750458670253534
12617000
912
128100...

result:

ok 100 lines

Test #11:

score: 0
Accepted
time: 10ms
memory: 63256kb

input:

100 1000
875 97 974 549 484 156 828 778 455 130 443 360 80 138 470 108 0 998 325 512 250 788 685 542 923 511 657 736 279 954 19 654 169 761 722 794 12 119 833 623 755 823 24 754 349 425 567 320 889 62 824 671 557 622 992 33 990 171 530 682 991 94 95 119 874 580 703 858 6 723 740 659 202 760 490 256 ...

output:

917065923806673152851053313
5176021493337564514473814
370462314589520725563967308370
233520273165416
4753
418261706991775385
239175517239063784
269953198756513446551343108
5898574985151753046314904335054
3747683396610780058721367076
1956157
6815594438064559988
7733665488207095
3947288565197827542851...

result:

ok 100 lines

Test #12:

score: 0
Accepted
time: 7ms
memory: 63336kb

input:

100 1000
330 732 280 949 123 103 20 407 678 856 378 587 288 907 918 545 460 397 652 561 64 980 995 531 533 430 607 846 322 972 336 493 306 772 291 480 766 658 911 543 452 480 697 210 918 918 766 196 277 435 158 245 284 452 712 177 116 348 329 517 765 268 163 963 554 671 266 356 234 453 27 151 653 21...

output:

1796708531621823
320138474468764612
11091075
886469414841856
679308288931577589159330267
11940493602638612
135902542729373454453523677252
70446996778382685796647320395
3333772125689340473006108864277
38940407
140594192688253177050
97690168448842626
19608312900552907963360331
5786813
6314560339713277...

result:

ok 100 lines

Test #13:

score: -100
Wrong Answer
time: 0ms
memory: 63908kb

input:

100 1000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
87 50 89 3 30 36 22 39 74 98 53 87 61 51 66 73 1 82 79 26 92 97 23 5 78 85 2 44 83 12 37 75...

output:

infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
infinity
inf...

result:

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