Submission #149885

# Submission time Handle Problem Language Result Execution time Memory
149885 2019-09-01T07:20:39 Z 준표야 함수컵은 캐리해줄거지?(#3588, Acka, spectaclehong, heiler) King of Chairs (FXCUP4_chairs) C++17
Compilation error
0 ms 0 KB
#include "king.h"

long long SendInfo(std::vector<int> W, std::vector<int> C) {
	int N = W.size();
	return W[0]*100 + W[1]*10 + W[2]*1;
}
#include <vector>
void Init(long long B, std::vector<int> C);
int Maid(int W);

Compilation message

king.cpp: In function 'long long int SendInfo(std::vector<int>, std::vector<int>)':
king.cpp:4:6: warning: unused variable 'N' [-Wunused-variable]
  int N = W.size();
      ^

/tmp/cc3x5V1d.o: In function `main':
grader_v.cpp:(.text.startup+0x1b7): undefined reference to `Init(long long, std::vector<int, std::allocator<int> >)'
grader_v.cpp:(.text.startup+0x22d): undefined reference to `Maid(int)'
collect2: error: ld returned 1 exit status