답안 #148254

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
148254 2019-08-31T18:33:56 Z Redux(#3754, Redux) Play Onwards (FXCUP4_onward) C++17
컴파일 오류
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:4:1: error: stray '\342' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
 ^
make.cpp:4:2: error: stray '\200' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
  ^
make.cpp:4:3: error: stray '\213' in program
 ​string MakeWord (int N, int M, vector<string> Dict) {
   ^
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:4: 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: stray '\342' in program
 ​string GuessWord (int M, string YH)​ {
 ^
guess.cpp:4:2: error: stray '\200' in program
 ​string GuessWord (int M, string YH)​ {
  ^
guess.cpp:4:3: error: stray '\213' in program
 ​string GuessWord (int M, string YH)​ {
   ^
guess.cpp:4:39: error: stray '\342' in program
 ​string GuessWord (int M, string YH)​ {
                                       ^
guess.cpp:4:40: error: stray '\200' in program
 ​string GuessWord (int M, string YH)​ {
                                        ^
guess.cpp:4:41: error: stray '\213' in program
 ​string GuessWord (int M, string YH)​ {
                                         ^
guess.cpp:4:4: error: 'string' does not name a type; did you mean 'stdin'?
 ​string GuessWord (int M, string YH)​ {
    ^~~~~~
    stdin