# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
231488 | 2020-05-13T19:20:01 Z | blacktulip | Crayfish scrivener (IOI12_scrivener) | C++17 | 155 ms | 262148 KB |
#include <bits/stdc++.h> using namespace std; char last; string s; map<int,string> mpp; int cev,koy,say; void Init(){ } void TypeLetter(char L){ s+=L; say++; mpp[say]=s; } void UndoCommands(int U){ s=mpp[say-U]; say++; mpp[say]=s; } char GetLetter(int P){ if(s.size()<=P)return -1; return s[P]; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 5 ms | 384 KB | Output is correct |
2 | Correct | 4 ms | 256 KB | Output is correct |
3 | Correct | 5 ms | 512 KB | Output is correct |
4 | Correct | 5 ms | 384 KB | Output is correct |
5 | Correct | 4 ms | 256 KB | Output is correct |
6 | Correct | 4 ms | 256 KB | Output is correct |
7 | Correct | 5 ms | 384 KB | Output is correct |
8 | Correct | 4 ms | 256 KB | Output is correct |
9 | Correct | 5 ms | 384 KB | Output is correct |
10 | Correct | 4 ms | 384 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 5 ms | 384 KB | Output is correct |
2 | Correct | 5 ms | 384 KB | Output is correct |
3 | Correct | 5 ms | 384 KB | Output is correct |
4 | Correct | 5 ms | 256 KB | Output is correct |
5 | Correct | 5 ms | 384 KB | Output is correct |
6 | Correct | 4 ms | 384 KB | Output is correct |
7 | Correct | 5 ms | 384 KB | Output is correct |
8 | Correct | 4 ms | 256 KB | Output is correct |
9 | Correct | 4 ms | 384 KB | Output is correct |
10 | Correct | 4 ms | 384 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 6 ms | 1024 KB | Output is correct |
2 | Correct | 7 ms | 1408 KB | Output is correct |
3 | Correct | 7 ms | 1536 KB | Output is correct |
4 | Correct | 7 ms | 1072 KB | Output is correct |
5 | Correct | 7 ms | 1408 KB | Output is correct |
6 | Correct | 8 ms | 2048 KB | Output is correct |
7 | Correct | 7 ms | 1152 KB | Output is correct |
8 | Correct | 8 ms | 3456 KB | Output is correct |
9 | Correct | 10 ms | 6528 KB | Output is correct |
10 | Correct | 8 ms | 2048 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 155 ms | 262148 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 145 ms | 262148 KB | Execution killed with signal 9 (could be triggered by violating memory limits) |
2 | Halted | 0 ms | 0 KB | - |