| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 1079429 | Trumling | 크레이피쉬 글쓰는 기계 (IOI12_scrivener) | C++14 | 78 ms | 26692 KiB | 
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std; 
typedef long long ll;
#define pb push_back
#define F first
#define S second
#define enter cout<<'\n';
#define INF 99999999999999999
#define MOD 1000000007
#define all(x) x.begin(),x.end()
char last;
ll idx=-1;
string s;
bool tf=0;
vector<pair<ll,char>>v;
void Init() 
{
}
void TypeLetter(char L) {
  
  v.pb({v.size()-1,L});
}
void UndoCommands(int U) {
  v.pb({v.size()-U,'?'});
}
char GetLetter(int P) {
  if(!tf)
  {
    ll idx=v.size()-1;
    while(idx!=-1)
    {
    if(v[idx].S!='?')
      s+=v[idx].S;
    idx=v[idx].F;
    }
    for(int i=0;i<s.size()/2;i++)
      swap(s[i],s[s.size()-1-i]);
    tf=1;
  }
  return s[P];
}
컴파일 시 표준 에러 (stderr) 메시지
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
