답안 #148023

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
148023 2019-08-31T11:26:26 Z llg(#3728, ioilolcom) Play Onwards (FXCUP4_onward) C++17
21.4286 / 100
12 ms 1200 KB
#include "make.h"
#include <bits/stdc++.h>
using namespace std;
std::string MakeWord(int N, int M, std::vector<std::string> Dict) {
	string ans="";
	  string c=Dict[0];
		  for(int i=0;i<(int)c.length();i++){
       if(c[i]=='z'){
				    ans+='a';
			 }
			  else{
					 char d=(char)c[i]+1;
					 ans+=d;
				}
			}
			 return ans;
}
#include "guess.h"
#include <bits/stdc++.h>
using namespace std;
std::string GuessWord(int M, std::string YH){
	string ans="";
	  string c=YH;
		  for(int i=0;i<(int)c.length();i++){
       if(c[i]=='z'){
				    ans+='a';
			 }
			  else{
					 char d=(char)c[i]+1;
					 ans+=d;
				}
			}
			 return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 11 ms 1012 KB Output isn't correct
2 Incorrect 11 ms 1116 KB Output isn't correct
3 Correct 10 ms 972 KB Output is correct
4 Incorrect 10 ms 1036 KB Output isn't correct
5 Incorrect 11 ms 1044 KB Output isn't correct
6 Incorrect 12 ms 972 KB Output isn't correct
7 Correct 12 ms 1116 KB Output is correct
8 Incorrect 11 ms 1156 KB Output isn't correct
9 Incorrect 10 ms 1040 KB Output isn't correct
10 Incorrect 10 ms 972 KB Output isn't correct
11 Correct 11 ms 1200 KB Output is correct
12 Incorrect 12 ms 1036 KB Output isn't correct
13 Incorrect 11 ms 972 KB Output isn't correct
14 Incorrect 10 ms 972 KB Output isn't correct