QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#793058 | #9123. Kth Sum | HuangHanSheng | Compile Error | / | / | C++17 | 3.5kb | 2024-11-29 16:19:17 | 2024-11-29 16:19:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:4:19: error: conflicting declaration ‘typedef long long int uint’ 4 | typedef long long uint; | ^~~~ In file included from /usr/include/stdlib.h:394, from /usr/include/c++/13/cstdlib:79, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:42, from answer.code:1: /usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: previous declaration as ‘typedef unsigned int uint’ 150 | typedef unsigned int uint; | ^~~~ answer.code: In function ‘int main()’: answer.code:53:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 53 | freopen("input.txt", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~