제출 #1005232

#제출 시각아이디문제언어결과실행 시간메모리
1005232pawned크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
34 / 100
132 ms262144 KiB
#pragma GCC optimize("O1,O2,O3,Ofast,unroll-loops") #include <bits/stdc++.h> using namespace std; #define fi first #define se second #define pb push_back typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; const int MAX = 5005; int moves = 1; vector<string> all; void Init() { all.pb(""); } void TypeLetter(char L) { all.pb(all[moves - 1]); all.back() += L; /* cout<<"all: "; for (string s : all) cout<<s<<" "; cout<<endl;*/ moves++; } void UndoCommands(int U) { all.pb(all[moves - U - 1]); /* cout<<"all: "; for (string s : all) cout<<s<<" "; cout<<endl;*/ moves++; } char GetLetter(int P) { return all.back()[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...