Submission #148253

# Submission time Handle Problem Language Result Execution time Memory
148253 2019-08-31T18:32:32 Z Redux(#3754, Redux) Play Onwards (FXCUP4_onward) C++17
Compilation error
0 ms 0 KB
#include make.h

​string MakeWord (int N, int M, vector<string> Dict) {
    string ret = "";
    for(int i = 0; i < M; i++) ret += 'a';
    return ret;
}
​
​string GuessWord (int M, string YH)​ {
    string ret = "";
    for(int i = 0; i < M; i++) ret += 'a';
    return ret;
}

Compilation message

make.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include make.h
          ^~~~
make.cpp:3:1: error: stray '\342' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
 ^
make.cpp:3:2: error: stray '\200' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
  ^
make.cpp:3:3: error: stray '\213' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
   ^
make.cpp:8:1: error: stray '\342' in program
 ​
 ^
make.cpp:8:2: error: stray '\200' in program
 ​
  ^
make.cpp:8:3: error: stray '\213' in program
 ​
   ^
make.cpp:3:4: error: 'string' does not name a type; did you mean 'struct'?
 ​string MakeWord (int N, int M, vector<string> Dict) {
    ^~~~~~
    struct

guess.cpp:1:1: error: stray '\342' in program
 ​string GuessWord (int M, string YH)​ {
 ^
guess.cpp:1:2: error: stray '\200' in program
 ​string GuessWord (int M, string YH)​ {
  ^
guess.cpp:1:3: error: stray '\213' in program
 ​string GuessWord (int M, string YH)​ {
   ^
guess.cpp:1:39: error: stray '\342' in program
 ​string GuessWord (int M, string YH)​ {
                                       ^
guess.cpp:1:40: error: stray '\200' in program
 ​string GuessWord (int M, string YH)​ {
                                        ^
guess.cpp:1:41: error: stray '\213' in program
 ​string GuessWord (int M, string YH)​ {
                                         ^
guess.cpp:1:4: error: 'string' does not name a type; did you mean 'struct'?
 ​string GuessWord (int M, string YH)​ {
    ^~~~~~
    struct