답안 #823129

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
823129 2023-08-12T08:17:55 Z Trumling 자동 인형 (IOI18_doll) C++14
2 / 100
29 ms 3028 KB
#include "doll.h"
#include<bits/stdc++.h>
using namespace  std;
#define F first 
#define S second 
#define all(x) x.begin(),x.end()  
typedef long long ll;
#define INF 99999999999999
#define pb  push_back

void create_circuit(int M, std::vector<int> A) {
  int N = A.size();
  vector<int> C(M + 1);
  C[0]=A[0];

  for(int i=1;i<N;i++)
    C[A[i-1]]=A[i];

  C[A[N-1]]=0;

  vector<int> X, Y;
  answer(C, X, Y);
}
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 14 ms 2444 KB Output is correct
3 Correct 13 ms 2004 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 29 ms 2912 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 14 ms 2444 KB Output is correct
3 Correct 13 ms 2004 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 29 ms 2912 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
8 Incorrect 19 ms 3028 KB wrong motion
9 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 14 ms 2444 KB Output is correct
3 Correct 13 ms 2004 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 29 ms 2912 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
8 Incorrect 19 ms 3028 KB wrong motion
9 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -