QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481169#2810. Speedrunegypt_ioi2024b_05#Compile Error//C++203.8kb2024-07-16 21:05:322024-07-16 21:05:33

详细

grader_speedrun.cpp: In function ‘int readvalue()’:
grader_speedrun.cpp:9:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |   fscanf(input, "%d", &val);
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccQA7227.o: in function `main':
grader_speedrun.cpp:(.text.startup+0x1a2): undefined reference to `assignHints(int, int, int*, int*)'
collect2: error: ld returned 1 exit status