답안 #147688

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
147688 2019-08-30T12:07:14 Z gina(#3662, imyujin) Play Onwards (FXCUP4_onward) C++17
100 / 100
14 ms 1196 KB
#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;
}

Compilation message

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');
                 ~~^~~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 14 ms 972 KB Output is correct
2 Correct 11 ms 1044 KB Output is correct
3 Correct 11 ms 1048 KB Output is correct
4 Correct 11 ms 1184 KB Output is correct
5 Correct 12 ms 1036 KB Output is correct
6 Correct 12 ms 1036 KB Output is correct
7 Correct 10 ms 1044 KB Output is correct
8 Correct 12 ms 1040 KB Output is correct
9 Correct 10 ms 1044 KB Output is correct
10 Correct 12 ms 1196 KB Output is correct
11 Correct 11 ms 972 KB Output is correct
12 Correct 11 ms 1040 KB Output is correct
13 Correct 11 ms 1116 KB Output is correct
14 Correct 11 ms 1108 KB Output is correct