# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
282961 | 2020-08-25T07:51:57 Z | 송준혁(#5748) | Lock Puzzle (innopolis2018_final_A) | C++17 | 18 ms | 416 KB |
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> pii; int N, cnt[30]; char S[2020], T[2020], B[2020]; vector<int> V; void sft(int x){ V.push_back(x); for (int i=1; i<=x; i++) B[N-x+i] = S[i]; for (int i=1; i<=N-x; i++) B[i] = S[N-i+1]; for (int i=1; i<=N; i++) S[i] = B[i]; } int main(){ scanf("%d %*d", &N); scanf("%s", S+1); sft(0); scanf("%s", T+1); for (int i=1; i<=N; i++) cnt[S[i]-'a']++; for (int i=1; i<=N; i++){ cnt[T[i]-'a']--; if (cnt[T[i]-'a'] < 0){ puts("-1"); return 0; } } int s=(N+1)/2, e=s; for (int i=1; i<=N; i++){ if (T[s] == S[i]){ sft(i), sft(0); break; } } for (int i=1; i<N; i++){ int t; if (i%4 == 1 || i%4 == 0) t=s-1, s--; else t=e+1, e++; if (i&1){ for (int j=i+1; j<=N; j++) if (T[t] == S[j]){ sft(j-1), sft(N+i-j+1); break; } } else{ for (int j=1; j<=N-i; j++) if (T[t] == S[j]){ sft(j), sft(N-1); break; } } } if (N%4 == 3 || N%4 == 0) sft(0); printf("%d\n", (int)V.size()); for (int x : V) printf("%d ", N-x); printf("\n"); return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
18 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
19 | Correct | 3 ms | 384 KB | [n = 999, m = 10000], OK, 2000 operations |
20 | Correct | 3 ms | 384 KB | [n = 998, m = 10000], OK, 1995 operations |
21 | Correct | 3 ms | 384 KB | [n = 997, m = 10000], OK, 1995 operations |
22 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
23 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
24 | Correct | 0 ms | 256 KB | [n = 1000, m = 10000], OK: No solution |
25 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
26 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
18 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
19 | Correct | 3 ms | 384 KB | [n = 999, m = 10000], OK, 2000 operations |
20 | Correct | 3 ms | 384 KB | [n = 998, m = 10000], OK, 1995 operations |
21 | Correct | 3 ms | 384 KB | [n = 997, m = 10000], OK, 1995 operations |
22 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
23 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
24 | Correct | 0 ms | 256 KB | [n = 1000, m = 10000], OK: No solution |
25 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
26 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
27 | Correct | 9 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
28 | Correct | 9 ms | 384 KB | [n = 1999, m = 10000], OK, 4000 operations |
29 | Correct | 9 ms | 384 KB | [n = 1998, m = 10000], OK, 3995 operations |
30 | Correct | 9 ms | 384 KB | [n = 1997, m = 10000], OK, 3995 operations |
31 | Correct | 10 ms | 416 KB | [n = 2000, m = 10000], OK, 4002 operations |
32 | Correct | 11 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
33 | Correct | 1 ms | 256 KB | [n = 2000, m = 10000], OK: No solution |
34 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
35 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
18 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
19 | Correct | 3 ms | 384 KB | [n = 999, m = 10000], OK, 2000 operations |
20 | Correct | 3 ms | 384 KB | [n = 998, m = 10000], OK, 1995 operations |
21 | Correct | 3 ms | 384 KB | [n = 997, m = 10000], OK, 1995 operations |
22 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
23 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
24 | Correct | 0 ms | 256 KB | [n = 1000, m = 10000], OK: No solution |
25 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
26 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
27 | Correct | 9 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
28 | Correct | 9 ms | 384 KB | [n = 1999, m = 10000], OK, 4000 operations |
29 | Correct | 9 ms | 384 KB | [n = 1998, m = 10000], OK, 3995 operations |
30 | Correct | 9 ms | 384 KB | [n = 1997, m = 10000], OK, 3995 operations |
31 | Correct | 10 ms | 416 KB | [n = 2000, m = 10000], OK, 4002 operations |
32 | Correct | 11 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
33 | Correct | 1 ms | 256 KB | [n = 2000, m = 10000], OK: No solution |
34 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
35 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
36 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
37 | Correct | 9 ms | 384 KB | [n = 1999, m = 8100], OK, 4000 operations |
38 | Correct | 9 ms | 384 KB | [n = 1998, m = 8100], OK, 3995 operations |
39 | Correct | 12 ms | 384 KB | [n = 1997, m = 8100], OK, 3995 operations |
40 | Correct | 9 ms | 384 KB | [n = 1996, m = 8100], OK, 3994 operations |
41 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
42 | Correct | 10 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
43 | Correct | 0 ms | 256 KB | [n = 2000, m = 8100], OK: No solution |
44 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
45 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
18 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
19 | Correct | 3 ms | 384 KB | [n = 999, m = 10000], OK, 2000 operations |
20 | Correct | 3 ms | 384 KB | [n = 998, m = 10000], OK, 1995 operations |
21 | Correct | 3 ms | 384 KB | [n = 997, m = 10000], OK, 1995 operations |
22 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
23 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
24 | Correct | 0 ms | 256 KB | [n = 1000, m = 10000], OK: No solution |
25 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
26 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
27 | Correct | 9 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
28 | Correct | 9 ms | 384 KB | [n = 1999, m = 10000], OK, 4000 operations |
29 | Correct | 9 ms | 384 KB | [n = 1998, m = 10000], OK, 3995 operations |
30 | Correct | 9 ms | 384 KB | [n = 1997, m = 10000], OK, 3995 operations |
31 | Correct | 10 ms | 416 KB | [n = 2000, m = 10000], OK, 4002 operations |
32 | Correct | 11 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
33 | Correct | 1 ms | 256 KB | [n = 2000, m = 10000], OK: No solution |
34 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
35 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
36 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
37 | Correct | 9 ms | 384 KB | [n = 1999, m = 8100], OK, 4000 operations |
38 | Correct | 9 ms | 384 KB | [n = 1998, m = 8100], OK, 3995 operations |
39 | Correct | 12 ms | 384 KB | [n = 1997, m = 8100], OK, 3995 operations |
40 | Correct | 9 ms | 384 KB | [n = 1996, m = 8100], OK, 3994 operations |
41 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
42 | Correct | 10 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
43 | Correct | 0 ms | 256 KB | [n = 2000, m = 8100], OK: No solution |
44 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
45 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
46 | Correct | 9 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
47 | Correct | 10 ms | 384 KB | [n = 1999, m = 6100], OK, 4000 operations |
48 | Correct | 9 ms | 384 KB | [n = 1998, m = 6100], OK, 3995 operations |
49 | Correct | 9 ms | 384 KB | [n = 1997, m = 6100], OK, 3995 operations |
50 | Correct | 9 ms | 416 KB | [n = 1996, m = 6100], OK, 3994 operations |
51 | Correct | 10 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
52 | Correct | 9 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
53 | Correct | 1 ms | 256 KB | [n = 2000, m = 6100], OK: No solution |
54 | Correct | 10 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
55 | Correct | 13 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 256 KB | [n = 1, m = 10000], OK, 3 operations |
2 | Correct | 1 ms | 256 KB | [n = 2, m = 10000], OK, 3 operations |
3 | Correct | 1 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
4 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
5 | Correct | 1 ms | 384 KB | [n = 8, m = 10000], OK, 18 operations |
6 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK: No solution |
7 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
8 | Correct | 0 ms | 256 KB | [n = 8, m = 10000], OK, 18 operations |
9 | Correct | 1 ms | 288 KB | [n = 49, m = 10000], OK, 99 operations |
10 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
11 | Correct | 1 ms | 256 KB | [n = 100, m = 10000], OK, 202 operations |
12 | Correct | 0 ms | 256 KB | [n = 99, m = 10000], OK, 200 operations |
13 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
14 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
15 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK: No solution |
16 | Correct | 1 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
17 | Correct | 0 ms | 256 KB | [n = 50, m = 10000], OK, 99 operations |
18 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
19 | Correct | 3 ms | 384 KB | [n = 999, m = 10000], OK, 2000 operations |
20 | Correct | 3 ms | 384 KB | [n = 998, m = 10000], OK, 1995 operations |
21 | Correct | 3 ms | 384 KB | [n = 997, m = 10000], OK, 1995 operations |
22 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
23 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
24 | Correct | 0 ms | 256 KB | [n = 1000, m = 10000], OK: No solution |
25 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
26 | Correct | 3 ms | 384 KB | [n = 1000, m = 10000], OK, 2002 operations |
27 | Correct | 9 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
28 | Correct | 9 ms | 384 KB | [n = 1999, m = 10000], OK, 4000 operations |
29 | Correct | 9 ms | 384 KB | [n = 1998, m = 10000], OK, 3995 operations |
30 | Correct | 9 ms | 384 KB | [n = 1997, m = 10000], OK, 3995 operations |
31 | Correct | 10 ms | 416 KB | [n = 2000, m = 10000], OK, 4002 operations |
32 | Correct | 11 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
33 | Correct | 1 ms | 256 KB | [n = 2000, m = 10000], OK: No solution |
34 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
35 | Correct | 10 ms | 384 KB | [n = 2000, m = 10000], OK, 4002 operations |
36 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
37 | Correct | 9 ms | 384 KB | [n = 1999, m = 8100], OK, 4000 operations |
38 | Correct | 9 ms | 384 KB | [n = 1998, m = 8100], OK, 3995 operations |
39 | Correct | 12 ms | 384 KB | [n = 1997, m = 8100], OK, 3995 operations |
40 | Correct | 9 ms | 384 KB | [n = 1996, m = 8100], OK, 3994 operations |
41 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
42 | Correct | 10 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
43 | Correct | 0 ms | 256 KB | [n = 2000, m = 8100], OK: No solution |
44 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
45 | Correct | 9 ms | 384 KB | [n = 2000, m = 8100], OK, 4002 operations |
46 | Correct | 9 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
47 | Correct | 10 ms | 384 KB | [n = 1999, m = 6100], OK, 4000 operations |
48 | Correct | 9 ms | 384 KB | [n = 1998, m = 6100], OK, 3995 operations |
49 | Correct | 9 ms | 384 KB | [n = 1997, m = 6100], OK, 3995 operations |
50 | Correct | 9 ms | 416 KB | [n = 1996, m = 6100], OK, 3994 operations |
51 | Correct | 10 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
52 | Correct | 9 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
53 | Correct | 1 ms | 256 KB | [n = 2000, m = 6100], OK: No solution |
54 | Correct | 10 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
55 | Correct | 13 ms | 384 KB | [n = 2000, m = 6100], OK, 4002 operations |
56 | Correct | 9 ms | 384 KB | [n = 2000, m = 5100], OK, 4002 operations |
57 | Correct | 9 ms | 384 KB | [n = 1999, m = 5100], OK, 4000 operations |
58 | Correct | 9 ms | 384 KB | [n = 1998, m = 5100], OK, 3995 operations |
59 | Correct | 18 ms | 384 KB | [n = 1997, m = 5100], OK, 3995 operations |
60 | Correct | 9 ms | 384 KB | [n = 1996, m = 5100], OK, 3994 operations |
61 | Correct | 12 ms | 384 KB | [n = 1995, m = 5100], OK, 3992 operations |
62 | Correct | 10 ms | 384 KB | [n = 1994, m = 5100], OK, 3987 operations |
63 | Correct | 9 ms | 384 KB | [n = 2000, m = 5100], OK, 4002 operations |
64 | Correct | 10 ms | 308 KB | [n = 2000, m = 5100], OK, 4002 operations |
65 | Correct | 10 ms | 384 KB | [n = 2000, m = 5100], OK, 4002 operations |
66 | Correct | 1 ms | 384 KB | [n = 2000, m = 5100], OK: No solution |
67 | Correct | 12 ms | 384 KB | [n = 2000, m = 5100], OK, 4002 operations |