답안 #231240

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
231240 2020-05-13T06:13:10 Z blacktulip 크레이피쉬 글쓰는 기계 (IOI12_scrivener) C++17
5 / 100
14 ms 1024 KB
#include <bits/stdc++.h>
using namespace std;
char last;
string s;
int cev,koy=1,siz;
void Init(){
	
}
void TypeLetter(char L){
	if(koy>=siz){
		s+=L;
	}
	else s[koy]=L;
	koy++;
}
void UndoCommands(int U){
	koy-=U;
}
char GetLetter(int P){
	return s[P];
}
# 결과 실행 시간 메모리 Grader output
1 Correct 4 ms 384 KB Output is correct
2 Correct 4 ms 256 KB Output is correct
3 Correct 4 ms 256 KB Output is correct
4 Correct 4 ms 256 KB Output is correct
5 Correct 5 ms 384 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 384 KB Output is correct
9 Correct 4 ms 256 KB Output is correct
10 Correct 5 ms 256 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 4 ms 256 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 7 ms 768 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 14 ms 896 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 11 ms 1024 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -