제출 #976601

#제출 시각아이디문제언어결과실행 시간메모리
976601IsamCrayfish scrivener (IOI12_scrivener)C++17
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;

string s[1000001];

int tot;

void init();

void TypeLetter(char L){
	++tot;
	s[tot] = s[tot-1] + L;
	
}

void UndoCommands(int U){
	s[tot] = s[tot - U];
	
}

char GetLetter(int P){
	return s[tot][P-1];
}

컴파일 시 표준 에러 (stderr) 메시지

/usr/bin/ld: /tmp/ccg1AT6f.o: in function `main':
grader.cpp:(.text.startup+0x63): undefined reference to `Init()'
collect2: error: ld returned 1 exit status