#include "doll.h"
#include<bits/stdc++.h>
using namespace std;
void create_circuit(int M, std::vector<int> A) {
int N = A.size();
std::vector<int> C(M + 1);
C[0] = A[0]; C[A[N - 1]] = 0;
for (int i = 0; i < N - 1; i++) {
C[A[i]] = A[i + 1];
}
// C[0] = -1;
for (int i = 1; i <= M; ++i) {
// C[i] = 1;
}
int S = 0;
std::vector<int> X(S), Y(S);
for (int k = 0; k < S; ++k) {
// X[k] = Y[k] = A[k];
}
answer(C, X, Y);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
336 KB |
Output is correct |
2 |
Correct |
12 ms |
2384 KB |
Output is correct |
3 |
Correct |
10 ms |
1616 KB |
Output is correct |
4 |
Correct |
1 ms |
500 KB |
Output is correct |
5 |
Correct |
6 ms |
1360 KB |
Output is correct |
6 |
Correct |
13 ms |
2556 KB |
Output is correct |
7 |
Correct |
1 ms |
336 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
336 KB |
Output is correct |
2 |
Correct |
12 ms |
2384 KB |
Output is correct |
3 |
Correct |
10 ms |
1616 KB |
Output is correct |
4 |
Correct |
1 ms |
500 KB |
Output is correct |
5 |
Correct |
6 ms |
1360 KB |
Output is correct |
6 |
Correct |
13 ms |
2556 KB |
Output is correct |
7 |
Correct |
1 ms |
336 KB |
Output is correct |
8 |
Incorrect |
14 ms |
3152 KB |
wrong motion |
9 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
336 KB |
Output is correct |
2 |
Correct |
12 ms |
2384 KB |
Output is correct |
3 |
Correct |
10 ms |
1616 KB |
Output is correct |
4 |
Correct |
1 ms |
500 KB |
Output is correct |
5 |
Correct |
6 ms |
1360 KB |
Output is correct |
6 |
Correct |
13 ms |
2556 KB |
Output is correct |
7 |
Correct |
1 ms |
336 KB |
Output is correct |
8 |
Incorrect |
14 ms |
3152 KB |
wrong motion |
9 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
336 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
504 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
504 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |