#include<bits/stdc++.h>
#include "doll.h"
using namespace std ;
#define pb push_back
#define ll long long
#define ld long double
#define mp make_pair
#define MOD 1000000007
#define endl '\n'
#pragma GCC optimize ("O3")
#define MAXN 105
void create_circuit(int M, vector<int> A) {
int N = A.size();
vector<int> C(M + 1);
A.pb(0);
for (int i=0;i<N;++i)
C[A[i]] = A[i+1];
C[0]=A[0];
vector<int> X,Y;
answer(C,X,Y);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
204 KB |
Output is correct |
2 |
Correct |
31 ms |
1984 KB |
Output is correct |
3 |
Correct |
16 ms |
1576 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
11 ms |
1356 KB |
Output is correct |
6 |
Correct |
25 ms |
2216 KB |
Output is correct |
7 |
Correct |
1 ms |
256 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
204 KB |
Output is correct |
2 |
Correct |
31 ms |
1984 KB |
Output is correct |
3 |
Correct |
16 ms |
1576 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
11 ms |
1356 KB |
Output is correct |
6 |
Correct |
25 ms |
2216 KB |
Output is correct |
7 |
Correct |
1 ms |
256 KB |
Output is correct |
8 |
Incorrect |
25 ms |
2092 KB |
wrong motion |
9 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
204 KB |
Output is correct |
2 |
Correct |
31 ms |
1984 KB |
Output is correct |
3 |
Correct |
16 ms |
1576 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
11 ms |
1356 KB |
Output is correct |
6 |
Correct |
25 ms |
2216 KB |
Output is correct |
7 |
Correct |
1 ms |
256 KB |
Output is correct |
8 |
Incorrect |
25 ms |
2092 KB |
wrong motion |
9 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
wrong motion |
2 |
Halted |
0 ms |
0 KB |
- |