답안 #800771

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
800771 2023-08-01T20:19:02 Z biank 자동 인형 (IOI18_doll) C++14
2 / 100
16 ms 2220 KB
#include "doll.h"

using namespace std;

#define SIZE(x) (int)x.size()

void create_circuit(int M, vector<int> A) {
  int N = SIZE(A);
  vector<int> C(M + 1);
  int k = 0;
  for (int i=0; i<N; i++) {
	  C[k] = A[i];
	  k = A[i];
  }
  answer(C, {}, {});
}
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Incorrect 15 ms 2004 KB wrong motion
9 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Incorrect 15 ms 2004 KB wrong motion
9 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 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -