Submission #147688

#TimeUsernameProblemLanguageResultExecution timeMemory
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;
}

Compilation message (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...