Logo Wy Online Judge

WyOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#46#4. 「WyOJ Round 1」启 · 破茧初阳Pigsyy40550ms3496kbC++23973b2025-04-14 18:44:252025-04-14 18:44:27

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 3ms
memory: 3496kb

input:

5
860162 209867 500351 439559
603171 218577 395789 743662
257237 83 83 97
771353 21 25 28
882442 63 ...

output:

5
2
2651
53995
38632

result:

ok 5 number(s): "5 2 2651 53995 38632"

Test #2:

score: 10
Accepted
time: 3ms
memory: 3200kb

input:

5
65586 755707 428352 829618
656029 940749 988704 99212
36268 81 74 19
30582 39 65 84
169669 10 30 86

output:

0
6
2326
969
13020

result:

ok 5 number(s): "0 6 2326 969 13020"

Test #3:

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

input:

5
1000000 823597 291727 302588
1000000 110582 88125 289933
1000000 56 41 6
1000000 97 68 23
1000000 ...

output:

4
12
178281
53194
27737

result:

ok 5 number(s): "4 12 178281 53194 27737"

Test #4:

score: 10
Accepted
time: 3ms
memory: 3216kb

input:

5
1000000 391577 925090 509576
1000000 602666 793626 529237
1000000 34 9 9
1000000 34 31 68
1000000 ...

output:

3
2
137255
28937
35714

result:

ok 5 number(s): "3 2 137255 28937 35714"

Test #5:

score: 0
Wrong Answer
time: 93ms
memory: 3492kb

input:

100000
296432115736998358 947322129 486697382 491023976
442633183062920521 378805523 642688939 22691...

output:

4
0
-30
28
-8
-12
-13
5
12
-15
9
16
2
-375
17
17
1
-10
-1
359
42
18
10
6
81
0
0
8
17
8
-7
30
1
5
0
-...

result:

wrong answer 1st numbers differ - expected: '916617773', found: '4'

Test #6:

score: 0
Wrong Answer
time: 81ms
memory: 3176kb

input:

100000
673374200126361826 331800367 162665250 387080263
144151428834647945 126886572 51580646 287850...

output:

26
-1
0
31
24
19
-4
2
9
-1
-11
-5
0
7
21
7
-1
-3
4
-1
-47
25
-124
-89
8
-6
4
-4
-39
6
4
5
33
3
77
4
...

result:

wrong answer 1st numbers differ - expected: '3769080063', found: '26'

Test #7:

score: 0
Wrong Answer
time: 86ms
memory: 3484kb

input:

100000
534714905018631481 79508556 404238398 161736622
3826684598814001 497377457 854258623 48373266...

output:

-59
32
8
14
2
-22
9
1
-1
-3
0
9
-1
1
217
-8
5
-17
28
28
39
-16
179
7
-8
293
1
-24
-37
70
2
-5
-4
-6
...

result:

wrong answer 1st numbers differ - expected: '10031334031', found: '-59'

Test #8:

score: 0
Wrong Answer
time: 110ms
memory: 3496kb

input:

100000
1000000000000000000 366727583 374716263 685187467
1000000000000000000 877263942 598947447 372...

output:

-1
-25
-56
-13
-12
-919
-1
-5
-6
-11
-25
-22
-27
-4
-333
-16
-10
-2
-6
-21
-31
-178
7
-57
-26
-18
-4...

result:

wrong answer 1st numbers differ - expected: '4186274294', found: '-1'

Test #9:

score: 0
Wrong Answer
time: 86ms
memory: 3152kb

input:

100000
1000000000000000000 979092025 33346302 238829786
1000000000000000000 460728333 175754163 3332...

output:

-9
-8
-15
-13
-9
4
-8
24
109
-10
-55
-297
-4
-13
-16
-21
-9
-26
-3
14
-24
-10
-14
-3
-20
-11
-82
51
...

result:

wrong answer 1st numbers differ - expected: '5208436845', found: '-9'

Test #10:

score: 0
Wrong Answer
time: 85ms
memory: 3160kb

input:

100000
1000000000000000000 437307257 195856865 910658369
1000000000000000000 384087547 596914446 797...

output:

-2
6
6
-112
-12
-34
-37
-15
-17
-7
-66
-20
32
-10
141
-15
-22
-11
-15
-12
2
41
-2
6
29
-7
4
-22
1
-9...

result:

wrong answer 1st numbers differ - expected: '3384828338', found: '-2'