제출 #148255

#제출 시각아이디문제언어결과실행 시간메모리
148255Redux (#201)Play Onwards (FXCUP4_onward)C++17
컴파일 에러
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; }

컴파일 시 표준 에러 (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