QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213974#6440. Xingqiu's JokeHuangHanShengCompile Error//C++112.0kb2023-10-14 16:49:522023-10-14 16:49:53

详细

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