QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#443044 | #8583. 팰린드롬 판별하기 | GuanYunchang | Compile Error | / | / | C++20 | 1.4kb | 2024-06-15 14:12:40 | 2024-06-15 14:12:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int guess_palindromicity(int)’: answer.code:38:15: error: ‘find_character’ was not declared in this scope 38 | int c=find_character(n-1,v); | ^~~~~~~~~~~~~~ answer.code:42:23: error: ‘count_pair’ was not declared in this scope 42 | int k=count_pair(l,r,n-1); | ^~~~~~~~~~ answer.code:50:20: error: ‘count_pair’ was not declared in this scope 50 | if(count_pair(1,n-2,0)==3) return 1; | ^~~~~~~~~~ answer.code:54:20: error: ‘count_pair’ was not declared in this scope 54 | if(count_pair(1,n-2,0)==3) return 0; | ^~~~~~~~~~ answer.code:55:20: error: ‘count_pair’ was not declared in this scope 55 | if(count_pair(0,n-1,1)==1) return 1; | ^~~~~~~~~~ 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); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘int guess_palindromicity(int)’: answer.code:58:1: warning: control reaches end of non-void function [-Wreturn-type] 58 | } | ^