제출 #587596

#제출 시각아이디문제언어결과실행 시간메모리
587596LastRoninFlights (JOI22_flights)C++17
컴파일 에러
0 ms0 KiB
#include "Ali.h" #include <string> #include <vector> #include <bits/stdc++.h> using namespace std; namespace { int variable_example = 0; } void Init(int N, std::vector<int> U, std::vector<int> V) { variable_example++; for(int i = 0; i < N; i++) SetId(i, i); } std::string SendA(std::string S) { if(variable_example == 1)assert(0); return "01001"; }
#include "Benjamin.h" #include <string> #include <vector> #include <bits/stdc++.h> using namespace std; namespace { int variable_example = 0; } std::string SendB(int N, int X, int Y) { variable_example = 2; if (X == 0) { return "00000000001111111111"; } return "00000111110000011111"; } int Answer(std::string T) { if(variable_example == 2)assert(0); return 1; }

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

Ali.cpp: In function 'void Init(int, std::vector<int>, std::vector<int>)':
Ali.cpp:17:3: error: 'SetId' was not declared in this scope; did you mean 'SetID'?
   17 |   SetId(i, i);
      |   ^~~~~
      |   SetID
grader_ali.cpp:10:8: warning: '{anonymous}::_randmem' defined but not used [-Wunused-variable]
   10 |   char _randmem[12379];
      |        ^~~~~~~~