제출 #1050505

#제출 시각아이디문제언어결과실행 시간메모리
1050505KasymK크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
34 / 100
101 ms262144 KiB
#include "bits/stdc++.h" using namespace std; #define ff first #define ss second #define all(v) v.begin(), v.end() #define ll long long #define pb push_back #define pii pair<int, int> #define wr puts("----------------") template<class T>bool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;} template<class T>bool umax(T& a,T b){if(a<b){a=b;return 1;}return 0;} vector<string> v; void Init(){ v.pb(""); } void TypeLetter(char c){ string s = v.back(); s += c; v.pb(s); } void UndoCommands(int u){ int sz = (int)v.size(); sz--; string s = v[sz-u]; v.pb(s); } char GetLetter(int p){ string s = v.back(); return s[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...