Submission #993880

#TimeUsernameProblemLanguageResultExecution timeMemory
993880TgX_2Arranging Shoes (IOI19_shoes)C++17
Compilation error
0 ms0 KiB
#include "shoes.h"
#include <bits/stdc++.h>
using namespace std;

long long count_swaps(int a[]) {
  	if (a[0] < 0 and a[1] > 0) return 1;
  return 0;
}

Compilation message (stderr)

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