답안 #130654

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

std::string str[1000001];
int curr=0;


void Init() {}

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

void UndoCommands(int U) {
  str[curr+1]=str[curr-U];
  curr++;
}

char GetLetter(int P) {
  return str[curr][P];
}
# 결과 실행 시간 메모리 Grader output
1 Correct 30 ms 31608 KB Output is correct
2 Correct 30 ms 31608 KB Output is correct
3 Correct 30 ms 31608 KB Output is correct
4 Correct 30 ms 31608 KB Output is correct
5 Correct 30 ms 31736 KB Output is correct
6 Correct 31 ms 31580 KB Output is correct
7 Correct 30 ms 31608 KB Output is correct
8 Correct 30 ms 31608 KB Output is correct
9 Correct 30 ms 31608 KB Output is correct
10 Correct 30 ms 31656 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 30 ms 31608 KB Output is correct
2 Correct 29 ms 31608 KB Output is correct
3 Correct 36 ms 31680 KB Output is correct
4 Correct 30 ms 31608 KB Output is correct
5 Correct 34 ms 31624 KB Output is correct
6 Correct 37 ms 31672 KB Output is correct
7 Correct 30 ms 31608 KB Output is correct
8 Correct 36 ms 31608 KB Output is correct
9 Correct 30 ms 31608 KB Output is correct
10 Correct 30 ms 31608 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 38 ms 32636 KB Output is correct
2 Correct 40 ms 32888 KB Output is correct
3 Correct 33 ms 32632 KB Output is correct
4 Correct 32 ms 32120 KB Output is correct
5 Correct 33 ms 32888 KB Output is correct
6 Correct 35 ms 33912 KB Output is correct
7 Correct 33 ms 32524 KB Output is correct
8 Correct 45 ms 35960 KB Output is correct
9 Correct 45 ms 41464 KB Output is correct
10 Correct 34 ms 33372 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Runtime error 235 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 232 ms 262144 KB Execution killed with signal 9 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -