제출 #1192135

#제출 시각아이디문제언어결과실행 시간메모리
1192135TroySer크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++20
100 / 100
602 ms224000 KiB
#include <ext/rope> using namespace __gnu_cxx; crope states[(1 << 20)]; int currentIndex = 0; void Init() {} void TypeLetter(char L) { states[currentIndex + 1] = states[currentIndex] + L; currentIndex++; } void UndoCommands(int U) { states[currentIndex + 1] = states[currentIndex - U]; currentIndex++; } char GetLetter(int P) { return states[currentIndex][P]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...