/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:9: error: 'cin' was not declared in this scope
   34 |         cin>>N>>M;
      |         ^~~
/in/foo.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
    2 | #include <cstring>
  +++ |+#include <iostream>
    3 | using namespace std;
/in/foo.cc:40:9: error: 'cout' was not declared in this scope
   40 |         cout<<minfull(N,M);
      |         ^~~~
/in/foo.cc:40:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?

信息

递交者
类型
自测
题目
P1204 CoVH之柯南开锁
语言
C++
递交时间
2025-05-29 23:56:32
评测时间
2025-05-29 23:56:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes