제출 #147688

#제출 시각아이디문제언어결과실행 시간메모리
147688gina (#201)Play Onwards (FXCUP4_onward)C++17
100 / 100
14 ms1196 KiB
#include "make.h" #include <bits/stdc++.h> using namespace std; std::string MakeWord(int N, int M, std::vector<std::string> Dict) { string ans; for(int i = 0; i < M; i++) ans.push_back('a'); return ans; }
#include "guess.h" #include <bits/stdc++.h> using namespace std; std::string GuessWord(int M, std::string YH){ string ans; for(int i = 0; i < YH.size(); i++) ans.push_back('a'); return ans; }

컴파일 시 표준 에러 (stderr) 메시지

guess.cpp: In function 'std::__cxx11::string GuessWord(int, std::__cxx11::string)':
guess.cpp:7:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < YH.size(); i++) ans.push_back('a');
                 ~~^~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...