QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#442753 | #8583. 팰린드롬 판별하기 | ZhaoZiLong | Compile Error | / | / | C++20 | 1.2kb | 2024-06-15 13:25:32 | 2024-06-15 13:25:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
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); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccJUGMQZ.o: in function `ask()': implementer.cpp:(.text+0x6f3): undefined reference to `guess_palindromicity(int)' /usr/bin/ld: /tmp/ccHMHnwZ.o: in function `guess_palindromicity(long long)': answer.code:(.text+0x99): undefined reference to `find_character(long long, std::vector<long long, std::allocator<long long> >)' /usr/bin/ld: answer.code:(.text+0xf6): undefined reference to `count_pair(long long, long long, long long)' /usr/bin/ld: answer.code:(.text+0x129): undefined reference to `count_pair(long long, long long, long long)' /usr/bin/ld: answer.code:(.text+0x13c): undefined reference to `count_pair(long long, long long, long long)' collect2: error: ld returned 1 exit status