QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#50672#4911. 造数据repoman100 ✓9ms10644kbC++21.8kb2022-09-28 15:23:492022-09-28 15:23:51

详细

Test #1:

score: 5
Accepted
time: 2ms
memory: 10340kb

input:

3

output:

13
4
1 4
2 4
1 3

result:

ok Accepted

Test #2:

score: 5
Accepted
time: 2ms
memory: 10256kb

input:

5

output:

59
6
1 6
3 6
4 6
1 5
1 2

result:

ok Accepted

Test #3:

score: 5
Accepted
time: 4ms
memory: 10368kb

input:

7

output:

257
8
1 8
2 8
3 8
1 7
4 7
5 7
6 7

result:

ok Accepted

Test #4:

score: 5
Accepted
time: 2ms
memory: 10256kb

input:

8

output:

557
9
1 9
2 9
3 9
4 9
1 8
5 8
6 8
7 8

result:

ok Accepted

Test #5:

score: 5
Accepted
time: 1ms
memory: 10268kb

input:

9

output:

1210
10
1 10
2 10
3 10
4 10
1 9
5 9
6 9
7 9
8 9

result:

ok Accepted

Test #6:

score: 5
Accepted
time: 1ms
memory: 10264kb

input:

10

output:

2543
11
1 11
2 11
3 11
4 11
5 11
1 10
6 10
7 10
8 10
9 10

result:

ok Accepted

Test #7:

score: 5
Accepted
time: 9ms
memory: 10340kb

input:

11

output:

5349
12
1 12
2 12
3 12
4 12
5 12
1 11
6 11
7 11
8 11
9 11
10 11

result:

ok Accepted

Test #8:

score: 5
Accepted
time: 4ms
memory: 10352kb

input:

15

output:

110617
16
1 16
8 16
9 16
9 14
9 13
9 12
9 11
9 10
1 15
1 7
1 6
2 6
3 6
4 6
5 6

result:

ok Accepted

Test #9:

score: 5
Accepted
time: 3ms
memory: 10332kb

input:

20

output:

4810737
21
1 21
2 21
3 21
4 21
5 21
5 10
5 9
5 8
5 7
5 6
1 20
11 20
12 20
13 20
14 20
15 20
15 19
15 18
15 17
15 16

result:

ok Accepted

Test #10:

score: 5
Accepted
time: 2ms
memory: 10360kb

input:

50

output:

32551381316499551
51
1 51
2 51
3 51
4 51
5 51
5 25
5 24
5 23
5 22
5 21
6 21
7 21
8 21
9 21
10 21
10 20
10 19
10 18
10 17
10 16
11 16
12 16
13 16
14 16
15 16
1 50
26 50
27 50
28 50
29 50
30 50
30 49
30 48
30 47
30 46
30 45
31 45
32 45
33 45
34 45
35 45
35 44
35 43
35 42
35 41
35 40
36 40
37 40
38 40
...

result:

ok Accepted

Test #11:

score: 5
Accepted
time: 2ms
memory: 10372kb

input:

75

output:

5064471918394716185818793
76
1 76
38 76
39 76
39 74
39 73
39 72
39 71
39 70
40 70
41 70
42 70
43 70
44 70
44 69
44 68
44 67
44 66
44 65
45 65
46 65
47 65
48 65
49 65
49 64
49 63
49 62
49 61
49 60
50 60
51 60
52 60
53 60
54 60
54 59
54 58
54 57
54 56
54 55
1 75
1 37
1 36
2 36
3 36
4 36
5 36
6 36
6 35...

result:

ok Accepted

Test #12:

score: 5
Accepted
time: 6ms
memory: 10312kb

input:

100

output:

787950457856847108688588439712081
101
1 101
2 101
3 101
4 101
5 101
5 50
5 49
5 48
5 47
5 46
6 46
7 46
8 46
9 46
10 46
10 45
10 44
10 43
10 42
10 41
11 41
12 41
13 41
14 41
15 41
15 40
15 39
15 38
15 37
15 36
16 36
17 36
18 36
19 36
20 36
20 35
20 34
20 33
20 32
20 31
21 31
22 31
23 31
24 31
25 31
2...

result:

ok Accepted

Test #13:

score: 5
Accepted
time: 2ms
memory: 10312kb

input:

150

output:

19073412522807805936171451101046180484374166698119
151
1 151
2 151
3 151
4 151
5 151
5 75
5 74
5 73
5 72
5 71
6 71
7 71
8 71
9 71
10 71
10 70
10 69
10 68
10 67
10 66
11 66
12 66
13 66
14 66
15 66
15 65
15 64
15 63
15 62
15 61
16 61
17 61
18 61
19 61
20 61
20 60
20 59
20 58
20 57
20 56
21 56
22 56
23...

result:

ok Accepted

Test #14:

score: 5
Accepted
time: 1ms
memory: 10364kb

input:

200

output:

461697891837883823312995599879277757576207826948506333740022403033
201
1 201
2 201
3 201
4 201
5 201
5 100
5 99
5 98
5 97
5 96
6 96
7 96
8 96
9 96
10 96
10 95
10 94
10 93
10 92
10 91
11 91
12 91
13 91
14 91
15 91
15 90
15 89
15 88
15 87
15 86
16 86
17 86
18 86
19 86
20 86
20 85
20 84
20 83
20 82
20 ...

result:

ok Accepted

Test #15:

score: 5
Accepted
time: 2ms
memory: 10480kb

input:

250

output:

11176025426632263675257706835434503730284986749237624935226969853832799786507751823
251
1 251
2 251
3 251
4 251
5 251
5 125
5 124
5 123
5 122
5 121
6 121
7 121
8 121
9 121
10 121
10 120
10 119
10 118
10 117
10 116
11 116
12 116
13 116
14 116
15 116
15 115
15 114
15 113
15 112
15 111
16 111
17 111
18...

result:

ok Accepted

Test #16:

score: 5
Accepted
time: 7ms
memory: 10432kb

input:

300

output:

270530895949137896052201331765919757216413091197338466873020277503414507400039934629539976268189057
301
1 301
2 301
3 301
4 301
5 301
5 150
5 149
5 148
5 147
5 146
6 146
7 146
8 146
9 146
10 146
10 145
10 144
10 143
10 142
10 141
11 141
12 141
13 141
14 141
15 141
15 140
15 139
15 138
15 137
15 136
...

result:

ok Accepted

Test #17:

score: 5
Accepted
time: 2ms
memory: 10404kb

input:

325

output:

42090260694961674145011704114080973238245161078623315982050154741567608589212648207015261493973771450688875
326
1 326
163 326
164 326
164 324
164 323
164 322
164 321
164 320
165 320
166 320
167 320
168 320
169 320
169 319
169 318
169 317
169 316
169 315
170 315
171 315
172 315
173 315
174 315
174 31...

result:

ok Accepted

Test #18:

score: 5
Accepted
time: 6ms
memory: 10552kb

input:

350

output:

6548568285165142665992191689091774699104268412094134278757549209751675845382090202485775517538726036924104490839159
351
1 351
2 351
3 351
4 351
5 351
5 175
5 174
5 173
5 172
5 171
6 171
7 171
8 171
9 171
10 171
10 170
10 169
10 168
10 167
10 166
11 166
12 166
13 166
14 166
15 166
15 165
15 164
15 16...

result:

ok Accepted

Test #19:

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

input:

375

output:

1018852007029836374581686608753588256606780138614351080335745613231231502577350362525622040527404062058174015555297345988697
376
1 376
188 376
189 376
189 374
189 373
189 372
189 371
189 370
190 370
191 370
192 370
193 370
194 370
194 369
194 368
194 367
194 366
194 365
195 365
196 365
197 365
198 3...

result:

ok Accepted

Test #20:

score: 5
Accepted
time: 4ms
memory: 10644kb

input:

400

output:

158517002041545914631471235811957888138755459976466905885841583972694007539220127367241456471218479364602339492642236309561813645129
401
1 401
2 401
3 401
4 401
5 401
5 200
5 199
5 198
5 197
5 196
6 196
7 196
8 196
9 196
10 196
10 195
10 194
10 193
10 192
10 191
11 191
12 191
13 191
14 191
15 191
15...

result:

ok Accepted