QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#442627#8583. 팰린드롬 판별하기HuangHanShengCompile Error//C++201.7kb2024-06-15 13:05:172024-06-15 13:05:18

Details

answer.code: In function ‘int guess_palindromicity(int)’:
answer.code:35:30: error: could not convert ‘pos’ from ‘vector<long long int>’ to ‘vector<int>’
   35 |     ll b = find_character(0, pos);
      |                              ^~~
      |                              |
      |                              vector<long long int>
answer.code: In function ‘void freopen(std::string)’:
answer.code:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 | void freopen(string s) { freopen((s+".in").c_str(), "r", stdin); freopen((s+".out").c_str(), "w", stdout); }
      |                          ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:17:73: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 | void freopen(string s) { freopen((s+".in").c_str(), "r", stdin); freopen((s+".out").c_str(), "w", stdout); }
      |                                                                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~