Submission #587592

#TimeUsernameProblemLanguageResultExecution timeMemory
587592LastRoninFlights (JOI22_flights)C++17
Compilation error
0 ms0 KiB
#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; }

Compilation message (stderr)

grader_ali.cpp:10:8: warning: '{anonymous}::_randmem' defined but not used [-Wunused-variable]
   10 |   char _randmem[12379];
      |        ^~~~~~~~
/usr/bin/ld: /tmp/ccVxYM1z.o: in function `main':
grader_ali.cpp:(.text.startup+0x3bb): undefined reference to `Init(int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: grader_ali.cpp:(.text.startup+0x569): undefined reference to `SendA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: error: ld returned 1 exit status