Submission #149876

# Submission time Handle Problem Language Result Execution time Memory
149876 2019-09-01T07:19:38 Z 준표야 함수컵은 캐리해줄거지?(#3588, Acka, spectaclehong, heiler) King of Chairs (FXCUP4_chairs) C++17
Compilation error
0 ms 0 KB
#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

/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();
      ^