Submission #1317139

#TimeUsernameProblemLanguageResultExecution timeMemory
1317139belmostefaArranging Shoes (IOI19_shoes)C++20
Compilation error
0 ms0 KiB
long long count_swaps(int S[]){
  if(S[0]<0){
    return 0;
  }else{
    return 1;
  }
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccILASVE.o: in function `main':
grader.cpp:(.text.startup+0x26b): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status