QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#213974 | #6440. Xingqiu's Joke | HuangHanSheng | Compile Error | / | / | C++11 | 2.0kb | 2023-10-14 16:49:52 | 2023-10-14 16:49:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:73:20: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | int T;scanf("%d",&T);init(maxA); | ~~~~~^~~~~~~~~ answer.code:75:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | int a,b;scanf("%d%d",&a,&b);if(a>b) swap(a,b); | ~~~~~^~~~~~~~~~~~~~ /tmp/cchLhyTc.o: in function `_GLOBAL__sub_I_pri': answer.code:(.text.startup+0x201): relocation truncated to fit: R_X86_64_PC32 against `.bss' collect2: error: ld returned 1 exit status