QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#442732#8583. 팰린드롬 판별하기HuangHanShengCompile Error//C++201.1kb2024-06-15 13:23:082024-06-15 13:23:09

Details

answer.code: In function ‘long long int guess_palindromicity(long long int)’:
answer.code:34:13: error: ‘find_character’ was not declared in this scope
   34 |         if(!find_character(0,t)) return 0;
      |             ^~~~~~~~~~~~~~
answer.code:37:23: error: ‘count_pair’ was not declared in this scope
   37 |                 int k=count_pair(0,l,r);
      |                       ^~~~~~~~~~
answer.code: In function ‘void fopn(std::string)’:
answer.code:11:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   11 |         freopen((name+".in").c_str(),"r",stdin);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:12:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   12 |         freopen((name+".out").c_str(),"w",stdout);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~