#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;
}
# |
Verdict |
Execution time |
Memory |
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 |