답안 #130653

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
130653 2019-07-15T19:11:12 Z dragonslayerit 크레이피쉬 글쓰는 기계 (IOI12_scrivener) C++14
5 / 100
239 ms 262148 KB
#include <string>

std::string str[1000001];
int curr=1;
int end=1;


void Init() {}

void TypeLetter(char L) {
  str[end]=str[curr]+L;
  curr=end++;
}

void UndoCommands(int U) {
  curr-=U;
}

char GetLetter(int P) {
  return str[curr][P];
}
# 결과 실행 시간 메모리 Grader output
1 Correct 30 ms 31608 KB Output is correct
2 Correct 30 ms 31736 KB Output is correct
3 Correct 30 ms 31608 KB Output is correct
4 Correct 30 ms 31608 KB Output is correct
5 Correct 31 ms 31608 KB Output is correct
6 Correct 30 ms 31608 KB Output is correct
7 Correct 29 ms 31660 KB Output is correct
8 Correct 30 ms 31736 KB Output is correct
9 Correct 31 ms 31580 KB Output is correct
10 Correct 36 ms 31608 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 30 ms 31736 KB Output is correct
2 Incorrect 30 ms 31608 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 71 ms 63992 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 239 ms 262144 KB Execution killed with signal 9 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 234 ms 262148 KB Execution killed with signal 9 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -