QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#472279 | #4928. Game With Numbers | MaMengQi | 32 | 9ms | 4060kb | C++14 | 611b | 2024-07-11 15:23:43 | 2024-07-11 15:23:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 3
Accepted
Test #1:
score: 3
Accepted
time: 0ms
memory: 3584kb
input:
5 1 -5000111000 -5000222000 -15 5 2 5
output:
-10000333010
result:
ok single line: '-10000333010'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 1 4 4
output:
0
result:
ok single line: '0'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
1 1 -400000000000000 400000000000000
output:
-400000000000000
result:
ok single line: '-400000000000000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
7 1 8 -1 -2 -9 5 3 -5 3
output:
-6
result:
ok single line: '-6'
Test #5:
score: 0
Accepted
time: 8ms
memory: 3936kb
input:
20000 1 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -40...
output:
-8000000000000000000
result:
ok single line: '-8000000000000000000'
Test #6:
score: 0
Accepted
time: 5ms
memory: 3868kb
input:
20000 1 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 4000...
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 9ms
memory: 3936kb
input:
20000 1 -71369186400903 -21303325779163 -97827461296555 -214132697955012 -196334833414389 -301936452329789 -382174513230544 -367394070689093 -219406802243067 -9558534773577 -330359703722617 24771323320621 15923681295764 -301614836381862 28586018531489 -74683043436219 -124135635944320 -10648832568409...
output:
-3607837516244021000
result:
ok single line: '-3607837516244021000'
Test #8:
score: 0
Accepted
time: 5ms
memory: 4060kb
input:
20000 1 233033381367060 60861233878571 347212183474786 -84818202084737 -233828045019529 -393504707324582 353159561005753 -110028076672707 -114833693071773 199219445924758 166468140403099 54437974337128 302678275176822 -172792066320760 -39393106960029 -282021409620224 186724411035278 31109977318229 -...
output:
-51353784701877908
result:
ok single line: '-51353784701877908'
Test #9:
score: 0
Accepted
time: 8ms
memory: 3772kb
input:
20000 1 259276559450483 289816807429370 -346039222749615 27387823542230 375860934333993 -389352017613855 -311669269024107 321679266510763 -218467767104130 233355728228893 254623964396522 -367362969133313 266826918011316 -353725186724477 165128555208345 -200053627141839 79271694277875 253842426527683...
output:
-10720899572053746
result:
ok single line: '-10720899572053746'
Test #10:
score: 0
Accepted
time: 8ms
memory: 4048kb
input:
20000 1 -88391647220872 -175567802945542 -94353632762792 391060829840745 -206001066596400 -100611354221508 247179539541950 -380451534230002 -225503152746259 -144103704919724 170417897772421 174103054198099 -360195042352095 -392060207792192 -171502962366959 -38829126455905 16483057220004 381740942015...
output:
-454451956756021
result:
ok single line: '-454451956756021'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
8 1 5 3 6 6 4 4 4 5 3
output:
15
result:
ok single line: '15'
Test #12:
score: 0
Accepted
time: 6ms
memory: 3868kb
input:
20000 1 940322649 402959068 973703458 965399272 577786939 994768517 249675444 613581460 708982687 256093383 658262534 670606780 692856607 699530317 331043774 401861670 985171722 848569239 871522931 711432362 31877347 682027384 968965939 247043512 152194528 985888664 323630590 966824399 89552748 2601...
output:
2740638602
result:
ok single line: '2740638602'
Test #13:
score: 0
Accepted
time: 6ms
memory: 3984kb
input:
20000 1 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 100000...
output:
0
result:
ok single line: '0'
Test #14:
score: 0
Accepted
time: 6ms
memory: 3856kb
input:
20000 1 999999999 1000000000 1000000000 999999999 999999999 1000000000 999999999 1000000000 999999999 1000000000 999999999 999999999 999999999 1000000000 1000000000 1000000000 1000000000 999999999 1000000000 1000000000 999999999 999999999 1000000000 1000000000 999999999 999999999 1000000000 10000000...
output:
9950999990049
result:
ok single line: '9950999990049'
Subtask #2:
score: 0
Time Limit Exceeded
Test #15:
score: 0
Time Limit Exceeded
input:
20000 2 400000000000000 400000000000000 400000000000000 399999999999999 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 400000000000000 399999999999999 400000000000000 399999999999999 400000000000000 400000000000000 399999999999999 400000000000000 399999999999999 4000...
output:
result:
Subtask #3:
score: 0
Skipped
Dependency #2:
0%
Subtask #4:
score: 0
Memory Limit Exceeded
Dependency #1:
100%
Accepted
Test #70:
score: 0
Memory Limit Exceeded
input:
6 2 2 2 5 2 2 7 2 5
output:
result:
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Skipped
Dependency #5:
0%
Subtask #7:
score: 18
Accepted
Test #151:
score: 18
Accepted
time: 0ms
memory: 3584kb
input:
20000 200000 251159317 887191501 857733752 384683418 134050448 506121340 780905769 276370704 109535211 872899439 556774439 434676879 148563667 12737512 153656019 878376794 609869178 575053645 396025679 379898138 703697683 487484329 551835906 619319386 488957017 16140328 920609560 848562444 895060489...
output:
0
result:
ok single line: '0'
Test #152:
score: 0
Accepted
time: 0ms
memory: 3472kb
input:
20000 200000 724210037 755707641 156547010 555537088 113399702 50600117 805645048 324587396 330469367 155203622 231034879 491203919 381331054 37563945 670593638 955824711 893116900 434333908 269456401 524195082 850761432 962407914 66943416 841193769 216303578 741226345 633703781 428987304 213742097 ...
output:
0
result:
ok single line: '0'
Test #153:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
20000 200000 374812600 994082310 605134761 684542859 982411551 843412691 291261765 330739292 783372065 282879285 236674945 191231950 205139415 671527412 718556510 298378287 690211050 314845758 727982772 546915798 418003633 440038852 722428850 350395773 313451593 886716447 653810460 441437689 6576444...
output:
0
result:
ok single line: '0'
Test #154:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
20000 200000 922502763 107609502 103470675 95666571 55541265 612819636 381916150 444880709 795379767 2430890 658581770 555137154 206155831 593685430 200503941 204169478 460090356 547836575 486245188 833131418 548238350 227908135 269796072 956669021 301543110 26102010 813507527 825832865 774750219 93...
output:
0
result:
ok single line: '0'
Subtask #8:
score: 11
Accepted
Test #155:
score: 11
Accepted
time: 0ms
memory: 3580kb
input:
20000 200000 396977329688022 -8423371363214 383571122639006 99712372108087 291078785047968 388310484655305 362117849739665 -120348551555749 26985765506461 192508503736541 185676740370600 -214164742554207 352594619152236 382485504805765 -152156638968634 -12362549868218 381290775270609 -39341784805470...
output:
0
result:
ok single line: '0'
Test #156:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
20000 200000 -376779492228556 220532202187586 -309688873519988 39881542970776 100767764401490 -235495675902395 -302715275257491 311354496660425 -76644013558600 226644786040675 101791414632449 336066873772337 316747556954027 201556679369344 52360728232444 -102427327186816 273838058513205 -17068539884...
output:
0
result:
ok single line: '0'
Test #157:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
20000 200000 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -386480064480510 -38648006448051...
output:
0
result:
ok single line: '0'
Subtask #9:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
0%