QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#137050#3274. 随机游走slime20 5ms3628kbC++141.4kb2023-08-09 17:38:182023-08-09 17:38:21

详细

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3368kb

input:

10
1 4 13
5 5 13
4 1 5
5 4 19
5 3 13
4 3 5
5 5 3
5 0 13
5 3 11
5 2 11

output:

0
9
1
14
9
0
0
4
0
3

result:

ok 10 numbers

Test #2:

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

input:

10
2 1 83
1 5 13
5 5 79
5 2 13
5 3 73
5 2 2
5 5 3
2 5 31
2 5 31
5 4 19

output:

2
0
48
1
22
0
0
6
6
14

result:

ok 10 numbers

Test #3:

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

input:

10
5 3 881
4 3 857
5 1 709
5 2 991
4 4 523
2 1 709
3 4 613
3 3 109
5 2 983
2 0 461

output:

22
15
8
14
21
2
12
9
14
1

result:

ok 10 numbers

Subtask #2:

score: 10
Accepted

Dependency #1:

100%
Accepted

Subtask #3:

score: 0
Runtime Error

Dependency #2:

100%
Accepted

Test #1:

score: 25
Accepted
time: 0ms
memory: 3476kb

input:

10
1 4 13
5 5 13
4 1 5
5 4 19
5 3 13
4 3 5
5 5 3
5 0 13
5 3 11
5 2 11

output:

0
9
1
14
9
0
0
4
0
3

result:

ok 10 numbers

Test #2:

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

input:

10
2 1 83
1 5 13
5 5 79
5 2 13
5 3 73
5 2 2
5 5 3
2 5 31
2 5 31
5 4 19

output:

2
0
48
1
22
0
0
6
6
14

result:

ok 10 numbers

Test #3:

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

input:

10
5 3 881
4 3 857
5 1 709
5 2 991
4 4 523
2 1 709
3 4 613
3 3 109
5 2 983
2 0 461

output:

22
15
8
14
21
2
12
9
14
1

result:

ok 10 numbers

Test #4:

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

input:

10
2 95 487
4 100 601
3 83 311
5 34 821
2 17 211
5 99 499
4 99 233
5 63 883
5 98 41
2 100 491

output:

96
216
294
79
18
95
186
825
8
101

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 5ms
memory: 3408kb

input:

10
5 100 1153
5 100 6367
5 99 9137
2 100 1217
5 99 4463
5 100 2441
2 100 4783
5 98 4289
3 100 2477
3 100 907

output:

245
4123
828
101
2452
1727
101
2624
175
838

result:

ok 10 numbers

Test #6:

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

input:

10
5 98 73897
5 43 67679
4 56 25457
5 41 27943
5 25 81931
5 98 71881
5 34 75161
5 87 56237
5 53 20113
5 88 67523

output:

70617
20892
8020
17580
3208
8816
9110
55445
4114
22492

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 2ms
memory: 3628kb

input:

10
5 99 817646801
5 98 874706501
5 99 709025203
5 33 557309839
5 58 997029919
4 77 665716297
5 98 872663633
2 100 406914323
5 99 91695431
5 77 351306607

output:

457678
440102
457678
8210
61712
19710
440102
101
457678
176862

result:

ok 10 numbers

Test #8:

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

input:

10
5 15 23
5 70 17
5 51 71
5 99 71
5 98 11
3 82 71
5 100 43
4 49 5
5 50 3
4 100 89

output:

11
14
2
12
3
31
2
1
2
33

result:

ok 10 numbers

Test #9:

score: -25
Runtime Error

input:

100
100000000 2 870093649
54714882 1 168384413
100000000 0 997415491
100000000 2 646551557
100000000 2 530441423
100000000 2 423084341
87100099 2 852128831
72104934 48 140019563
100000000 1 157370611
100000000 25 686224471
97123306 20 229903939
100000000 2 283605827
72437516 51 752676721
100000000 3...

output:


result:


Subtask #4:

score: 0
Time Limit Exceeded

Test #12:

score: 0
Time Limit Exceeded

input:

3
50 1176 996401303
32 2987 155037041
50 2988 151905847

output:


result:


Subtask #5:

score: 0
Runtime Error

Test #21:

score: 0
Runtime Error

input:

100000
131041815 82425709 973269833
1000000000 133485914 914586097
1000000000 656456127 710371681
997582513 565181843 562372439
408132767 155729069 769555159
1000000000 273473664 948428059
1000000000 316183756 256824341
1000000000 545457176 316221341
1000000000 543611855 725299283
1000000000 2768170...

output:


result:


Subtask #6:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%