/ Vijos /

记录详情

Compile Error

foo.cc: In function ‘int Hungarian()’:
foo.cc:28:35: error: expected ‘;’ before ‘}’ token
   28 |                 if(match(i)) cnt++
      |                                   ^
      |                                   ;
   29 |         }
      |         ~                          
foo.cc: In function ‘int main()’:
foo.cc:37:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   37 |     for (int i = 1; i <= N; ++i)
      |     ^~~
foo.cc:40:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   40 |         cout << Hungarian();
      |         ^~~~
foo.cc:40:9: error: ‘cout’ was not declared in this scope
foo.cc:3:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
    2 | #include <cstring>
  +++ |+#include <iostream>
    3 | using namespace std;

信息

递交者
类型
递交
题目
P1204 CoVH之柯南开锁
语言
C++
递交时间
2024-09-22 13:52:46
评测时间
2024-09-23 09:52:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes