제출 #463635

#제출 시각아이디문제언어결과실행 시간메모리
463635tomsyd자동 인형 (IOI18_doll)C++17
0 / 100
0 ms204 KiB
#include "doll.h" using namespace std; void create_circuit(int M, vector<int> A) { int N = A.size(); vector<int> C(M + 1); C[0] = 1; for (int i = 1; i <= M; ++i) { C[i] = (i+1)%(M+1); } vector<int> X,Y; /* for (int k = 0; k < N; ++k) { X[k] = Y[k] = A[k]; }*/ answer(C, X, Y); }

컴파일 시 표준 에러 (stderr) 메시지

doll.cpp: In function 'void create_circuit(int, std::vector<int>)':
doll.cpp:5:7: warning: unused variable 'N' [-Wunused-variable]
    5 |   int N = A.size();
      |       ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...