QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#439424#2810. Speedrunegypt_ioi2024_09#Compile Error//C++23678b2024-06-11 21:42:282024-06-11 21:42:29

详细

speedrun.code:7:23: error: ‘>>’ should be ‘> >’ within a nested template argument list
    7 | vector < vector < int >> adj;
      |                       ^~
      |                       > >
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);
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~