답안 #95711

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
95711 2019-02-02T07:59:18 Z jamielim 자동 인형 (IOI18_doll) C++14
2 / 100
30 ms 2252 KB
#include <bits/stdc++.h>
#include "doll.h"

void create_circuit(int M, std::vector<int> A) {
    int N = A.size();
    std::vector<int> C(M + 1);
    int cur=0;
    for(int i=0;i<=M;i++)C[i]=0;
    for(int i=0;i<N;i++){
        C[cur]=A[i];
        cur=A[i];
    }
    C[cur]=0;
    std::vector<int> X,Y;
    answer(C, X, Y);
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 30 ms 1996 KB Output is correct
3 Correct 25 ms 1584 KB Output is correct
4 Correct 2 ms 204 KB Output is correct
5 Correct 14 ms 1356 KB Output is correct
6 Correct 24 ms 2252 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 30 ms 1996 KB Output is correct
3 Correct 25 ms 1584 KB Output is correct
4 Correct 2 ms 204 KB Output is correct
5 Correct 14 ms 1356 KB Output is correct
6 Correct 24 ms 2252 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
8 Incorrect 27 ms 2100 KB wrong motion
9 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 30 ms 1996 KB Output is correct
3 Correct 25 ms 1584 KB Output is correct
4 Correct 2 ms 204 KB Output is correct
5 Correct 14 ms 1356 KB Output is correct
6 Correct 24 ms 2252 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
8 Incorrect 27 ms 2100 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 -