QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#470328#4928. Game With NumbersZhangYiDe11 4ms3724kbC++17974b2024-07-10 11:56:392024-07-10 11:56:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 3
Accepted
time: 0ms
memory: 3700kb

input:

5 1
-5000111000 -5000222000 -15 5 2
5

output:

-10000333010

result:

ok single line: '-10000333010'

Test #2:

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

input:

1 1
4
4

output:

0

result:

ok single line: '0'

Test #3:

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

input:

1 1
-400000000000000
400000000000000

output:

-400000000000000

result:

ok single line: '-400000000000000'

Test #4:

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

input:

7 1
8 -1 -2 -9 5 3 -5
3

output:

-6

result:

ok single line: '-6'

Test #5:

score: -3
Wrong Answer
time: 4ms
memory: 3724kb

input:

20000 1
-400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -400000000000000 -40...

output:

0

result:

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

Subtask #2:

score: 0
Runtime Error

Test #15:

score: 0
Runtime Error

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
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Time Limit Exceeded

Test #151:

score: 0
Time Limit Exceeded

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:


result:


Subtask #8:

score: 11
Accepted

Test #155:

score: 11
Accepted
time: 4ms
memory: 3704kb

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: 4ms
memory: 3704kb

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: 2ms
memory: 3724kb

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:

0%