UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#118987#2105. 上锁妖塔Body1003ms4640kbC++428b2020-09-12 21:01:132020-09-12 21:01:14

answer


详细

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

Test #1:

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

input:

10
37
1
93
67
25
51
83
47
64
21

output:

73

result:

ok single line: '73'

Test #2:

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

input:

100
15
61
18
68
35
68
17
85
87
23
12
73
44
27
81
54
36
29
52
76
4
24
91
14
43
67
49
91
40
79
55
54
2...

output:

1091

result:

ok single line: '1091'

Test #3:

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

input:

100
79
13
66
19
82
4
52
67
41
23
78
39
23
51
98
11
61
42
9
16
80
11
32
7
82
42
53
33
21
41
17
94
11
...

output:

875

result:

ok single line: '875'

Test #4:

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

input:

5000
87
32
44
61
2
28
40
32
42
3
47
60
62
21
64
99
86
69
89
38
10
30
45
40
25
15
39
60
79
82
11
20
3...

output:

58339

result:

ok single line: '58339'

Test #5:

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

input:

5000
38
43
16
69
51
18
8
90
34
26
49
57
20
58
47
66
96
57
18
79
86
54
98
59
36
9
49
18
20
63
51
53
3...

output:

58038

result:

ok single line: '58038'

Test #6:

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

input:

10000
31
53
83
34
89
82
71
21
44
67
5
74
49
25
47
68
72
97
63
10
18
12
94
17
67
63
87
74
69
51
77
86...

output:

117425

result:

ok single line: '117425'

Test #7:

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

input:

10000
78
64
97
56
72
42
85
5
99
46
79
83
44
81
47
97
92
14
90
72
80
40
95
50
36
50
8
28
30
37
86
34
...

output:

115619

result:

ok single line: '115619'

Test #8:

score: 10
Accepted
time: 2ms
memory: 4636kb

input:

10000
45
94
84
64
21
80
5
21
60
21
34
47
75
57
18
7
51
82
68
73
95
73
99
19
76
44
21
32
60
72
60
58
...

output:

116950

result:

ok single line: '116950'

Test #9:

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

input:

10000
32
22
31
63
37
94
52
65
67
97
80
93
13
33
75
14
2
62
58
69
34
47
90
30
72
24
68
56
96
57
60
24...

output:

116786

result:

ok single line: '116786'

Test #10:

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

input:

10
35
79
94
28
98
78
91
19
91
88

output:

160

result:

ok single line: '160'