0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 18:56:26 +00:00
OI-codes/S2OJ/1230/data/seq7.out
2022-05-29 07:47:12 +08:00

10001 lines
20 KiB (Stored with Git LFS)
Plaintext

0
3
7
0
0
125
0
1
0
0
0
8
0
0
0
0
5
5
0
0
3
3
0
4
0
1
0
7
8
0
0
0
0
0
7
8
3
7
0
0
0
4
5
6
1
0
0
0
35
0
6
1
3
0
0
0
4
6
0
8
0
5
107
0
0
0
7
0
6
6
5
0
2
0
0
107
2
0
0
8
4
5
0
5
6
0
3
0
6
0
8
0
107
2
0
0
80
0
0
0
0
7
1
1
0
8
6
8
1
0
0
0
7
0
0
6
0
0
6
5
0
0
1
6
98
6
6
8
0
3
0
0
4
0
6
8
0
0
3
0
0
0
8
0
7
17
2
5
0
0
3
1
0
8
0
0
0
7
0
6
7
6
0
4
0
6
0
4
0
6
0
7
0
0
0
8
7
0
0
0
0
0
0
62
0
0
0
0
0
0
1
7
0
1
1
161
0
0
134
0
0
0
0
0
0
0
0
0
134
7
0
0
8
0
2
4
0
7
161
152
6
5
0
0
5
5
6
0
44
6
8
3
8
4
0
8
0
7
0
5
0
0
5
2
0
3
3
0
0
134
0
1
0
0
7
2
4
0
0
0
0
5
4
4
0
0
6
4
1
0
7
2
1
0
8
0
3
0
4
7
0
0
7
125
35
0
0
5
116
26
2
7
0
5
0
0
0
4
2
0
3
1
3
3
6
8
3
0
2
0
3
1
8
7
152
0
4
80
2
1
0
0
0
8
0
3
0
6
0
0
7
0
0
1
0
0
0
7
0
4
4
6
0
0
5
0
1
0
0
0
3
3
134
5
3
0
0
0
0
0
2
2
1
8
6
5
4
143
0
0
0
0
3
0
7
5
0
7
2
2
0
0
0
4
0
2
5
0
0
0
8
3
0
0
6
0
3
0
0
0
0
0
0
0
4
0
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0
0
0
3
170
1
0
2
6
0
0
7
0
0
6
2
3
62
4
2
7
8
0
7
0
6
2
1
7
4
0
1
0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