답안 #148255

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
148255 2019-08-31T18:35:23 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: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