Submission #149876

#TimeUsernameProblemLanguageResultExecution timeMemory
149876준표야 함수컵은 캐리해줄거지? (#200)King of Chairs (FXCUP4_chairs)C++17
Compilation error
0 ms0 KiB
#include <vector>
long long SendInfo(std::vector<int> W, std::vector<int> C);
#include "vassal.h"
using namespace std;

long long BB;
int ans[100000];

void Init(long long B, std::vector<int> C){
	int N = C.size();
	BB = B;
	// ToDo
}

int Maid(int W){
	if(W == BB%10) return 2;
	if(W == BB/100) return 0;
	return -1;
}

Compilation message (stderr)

/tmp/ccZHw941.o: In function `main':
grader_k.cpp:(.text.startup+0x14c): undefined reference to `SendInfo(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status

vassal.cpp: In function 'void Init(long long int, std::vector<int>)':
vassal.cpp:8:6: warning: unused variable 'N' [-Wunused-variable]
  int N = C.size();
      ^