feat(codeforces/1020): a-e

This commit is contained in:
Barrett Ruth 2025-04-24 19:30:13 -04:00
parent 4094b4cd7b
commit 7795f9e52f
25 changed files with 973 additions and 1 deletions

11
codeforces/1020/io/a.in Normal file
View file

@ -0,0 +1,11 @@
5
3
101
1
1
5
00000
2
11
3
010

8
codeforces/1020/io/a.out Normal file
View file

@ -0,0 +1,8 @@
5
0
5
2
4
[code]: 0
[time]: 4.38595 ms

8
codeforces/1020/io/b.in Normal file
View file

@ -0,0 +1,8 @@
7
4 2
4 0
5 0
1 1
3 3
1 0
4 3

10
codeforces/1020/io/b.out Normal file
View file

@ -0,0 +1,10 @@
0 1 3 2
3 2 1 0
4 3 2 1 0
0
0 1 2
0
0 1 2 3
[code]: 0
[time]: 4.17566 ms

22
codeforces/1020/io/c.in Normal file
View file

@ -0,0 +1,22 @@
7
3 10
1 3 2
-1 -1 1
5 1
0 1 0 0 1
-1 0 1 0 -1
5 1
0 1 0 0 1
-1 1 -1 1 -1
5 10
1 3 2 5 4
-1 -1 -1 -1 -1
5 4
1 3 2 1 3
1 -1 -1 1 -1
5 4
1 3 2 1 3
2 -1 -1 2 0
5 5
5 0 5 4 3
5 -1 -1 -1 -1

10
codeforces/1020/io/c.out Normal file
View file

@ -0,0 +1,10 @@
1
0
0
7
0
1
0
[code]: 0
[time]: 3.83496 ms

22
codeforces/1020/io/d.in Normal file
View file

@ -0,0 +1,22 @@
7
9 5
3 5 2 3 3 5 8 1 2
4 6 2 4 6
6 3
1 2 6 8 2 1
5 4 3
5 3
4 3 5 4 3
7 4 5
6 3
8 4 2 1 2 5
6 1 4
5 5
1 2 3 4 5
5 4 3 2 1
6 3
1 2 3 4 5 6
9 8 7
5 5
7 7 6 7 7
7 7 7 7 7

10
codeforces/1020/io/d.out Normal file
View file

@ -0,0 +1,10 @@
6
3
7
0
-1
-1
7
[code]: 0
[time]: 3.83306 ms

30
codeforces/1020/io/e.in Normal file
View file

@ -0,0 +1,30 @@
8
5 3
1 2 3 4 5
1 5 4
1 3 4
3 4 4
7 4
3 1 5 2 7 6 4
3 4 2
2 3 5
1 5 6
1 7 3
2 1
2 1
1 2 1
1 1
1
1 1 1
7 1
3 4 2 5 7 1 6
1 7 1
16 1
16 10 12 6 13 9 14 3 8 11 15 2 7 1 5 4
1 16 4
16 1
14 1 3 15 4 5 6 16 7 8 9 10 11 12 13 2
1 16 14
13 1
12 13 10 9 8 4 11 5 7 6 2 1 3
1 13 2

11
codeforces/1020/io/e.out Normal file
View file

@ -0,0 +1,11 @@
0 -1 0
2 0 -1 4
-1
0
-1
-1
-1
-1
[code]: 0
[time]: 4.73356 ms