제출 #1014386

#제출 시각아이디문제언어결과실행 시간메모리
1014386guymmk크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++14
0 / 100
1 ms604 KiB
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #pragma GCC optimize("O3,Ofast,unroll-loops") #pragma GCC target("avx2,sse3,sse4,avx") #define ll long long #define ull unsigned long long #define endl '\n' #define vi vector<int> #define vpii vector<pair<int,int> > #define umap unordered_map #define uset unordered_set #define mk make_pair #define pb push_back #define pob pop_back #define all(x) x.begin(),x.end() #define allr(x) x.rbegin(),x.rend() #define read(x) for (auto& zu: (x)) cin >> zu; #define F first #define S second #define mustawa ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr) #define pii pair<int,int> #define mishari main template<class T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; template<class T> using ordered_multiset = tree<T, null_type, less_equal<T>, rb_tree_tag, tree_order_statistics_node_update>; const int inf=1e9+7; void fa(bool ok){ cout << (ok ? "Yes": "No") << "\n";} int pw(int a,int b,int mod=inf){ int res=1; while(b){ if(b&1){ res=(res*a)%mod; }a=(a*a)%mod; b>>=1; }return res; }vector<string>s; int i; void Init(){ return; } void TypeLetter(char L){ i++; s[i]=s[i-1]; s[i]+=L; } void UndoCommands(int U){ i++; s[i]=s[i-U]; } char GetLetter(int P){ return s[i][P-1]; }
#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...