Submission #148255

# Submission time Handle Problem Language Result Execution time Memory
148255 2019-08-31T18:35:23 Z Redux(#3754, Redux) Play Onwards (FXCUP4_onward) C++17
Compilation error
0 ms 0 KB
#include "make.h"
#include <bits/stdc++.h>

string MakeWord (int N, int M, vector<string> Dict) {
    string ret = "";
    for(int i = 0; i < M; i++) ret += 'a';
    return ret;
}
​
#include "guess.h"
#include <bits/stdc++.h>

string GuessWord (int M, string YH) {
    string ret = "";
    for(int i = 0; i < M; i++) ret += 'a';
    return ret;
}

Compilation message

make.cpp:9:1: error: stray '\342' in program
 ​
 ^
make.cpp:9:2: error: stray '\200' in program
 ​
  ^
make.cpp:9:3: error: stray '\213' in program
 ​
   ^
make.cpp:4:1: error: 'string' does not name a type; did you mean 'stdin'?
 string MakeWord (int N, int M, vector<string> Dict) {
 ^~~~~~
 stdin

guess.cpp:4:1: error: 'string' does not name a type; did you mean 'stdin'?
 string GuessWord (int M, string YH) {
 ^~~~~~
 stdin