# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
147675 | 하이 (#201) | Play Onwards (FXCUP4_onward) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "make.h"
std::string MakeWord(int N, int M, std::vector<std::string>) {
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;
}