Submission #1016812

#TimeUsernameProblemLanguageResultExecution timeMemory
1016812NValchanovMagic Show (APIO24_show)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "Alice.h"
 
#define endl '\n'
 
using namespace std;
 
typedef long long ll;
 
vector < pair < int, int > > Alice()
{
	int x = setN(5000);
  	vector < pair < int, int > > edges;
  	for(int i = 1; i < 5000; i++)
    {
		edges.push_back({x % i + 1, i});
    }
  	return edges;
}

Compilation message (stderr)

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