답안 #147679

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
147679 2019-08-30T11:43:57 Z 하이(#3650, heiler) Play Onwards (FXCUP4_onward) C++17
0 / 100
13 ms 1160 KB
#include "make.h"

std::string MakeWord(int N, int M, std::vector<std::string> Dict) {
	std::string ret = "";
	for(int i=0;i<M;i++) {
		ret += (Dict[N-1][i]-'a'+1)%26 + 'a';
	}
	return ret;
}
#include "guess.h"

std::string GuessWord(int M, std::string YH) {
	std::string ret = "";
	for(int i=0;i<M;i++){
		ret += (YH[i]-'a'-1+26)%26 + 'a';
	}
	return ret;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 10 ms 1044 KB Output isn't correct
2 Incorrect 11 ms 1052 KB Output isn't correct
3 Incorrect 11 ms 1160 KB Output isn't correct
4 Incorrect 10 ms 1060 KB Output isn't correct
5 Incorrect 10 ms 972 KB Output isn't correct
6 Incorrect 11 ms 844 KB Output isn't correct
7 Incorrect 10 ms 1116 KB Output isn't correct
8 Incorrect 12 ms 1020 KB Output isn't correct
9 Incorrect 12 ms 1060 KB Output isn't correct
10 Incorrect 11 ms 1116 KB Output isn't correct
11 Incorrect 13 ms 972 KB Output isn't correct
12 Incorrect 11 ms 972 KB Output isn't correct
13 Incorrect 12 ms 1052 KB Output isn't correct
14 Incorrect 13 ms 904 KB Output isn't correct