Submission #309636

#TimeUsernameProblemLanguageResultExecution timeMemory
309636rc_catuntaCrayfish scrivener (IOI12_scrivener)C++14
Compilation error
0 ms0 KiB
char seq[]; void Init() { seq=""; } void TypeLetter(char L) { seq=seq+L; } void UndoCommands(int U) { } char GetLetter(int P) { return seq[P]; }

Compilation message (stderr)

scrivener.cpp:1:6: error: storage size of 'seq' isn't known
    1 | char seq[];
      |      ^~~