QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#520202#4511. Wonderland Chaseegypt_ioi2024_10Compile Error//C++142.2kb2024-08-15 11:35:192024-08-15 11:35:19

詳細信息

answer.code: In function ‘int main()’:
answer.code:23:16: error: missing template arguments before ‘gud’
   23 |         vector gud(j, true);
      |                ^~~
answer.code:25:44: error: ‘gud’ was not declared in this scope
   25 |             if (degree[i] <= 1) Q.push(i), gud[i] = false;
      |                                            ^~~
answer.code:32:54: error: ‘gud’ was not declared in this scope
   32 |                 if (degree[v] == 1 || (!degree[v] && gud[v])) Q.push(v), gud[v] = false;
      |                                                      ^~~
answer.code:64:17: error: ‘gud’ was not declared in this scope
   64 |             if (gud[i] && dist_a[i] < dist_q[i]) {
      |                 ^~~