Submission #148255

#TimeUsernameProblemLanguageResultExecution timeMemory
148255Redux (#201)Play Onwards (FXCUP4_onward)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

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