QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#481233 | #2810. Speedrun | egypt_ioi2024b_05# | Compile Error | / | / | C++23 | 3.8kb | 2024-07-16 21:54:52 | 2024-07-16 21:54:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
speedrun.code:15:7: error: expected nested-name-specifier before ‘ll’ 15 | using ll = long long; | ^~ speedrun.code:17:7: error: ‘ll’ does not name a type 17 | const ll inf = 1e18; | ^~ speedrun.code: In function ‘void assignHints(int, int, int*, int*)’: speedrun.code:20:21: error: ‘>>’ should be ‘> >’ within a nested template argument list 20 | vector <vector <int>> a(n+1); | ^~ | > > speedrun.code:56:26: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 56 | for(int& j : a[i])h[i][j] = '1'; | ^ speedrun.code:56:29: error: forming reference to reference type ‘std::vector<int>&’ 56 | for(int& j : a[i])h[i][j] = '1'; | ^ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~