/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:2: error: invalid preprocessing directive #incldue; did you mean #include?
    2 | #incldue <cstring>
      |  ^~~~~~~
      |  include
/in/foo.cc: In function 'int minfull(int, int)':
/in/foo.cc:20:9: error: 'memset' was not declared in this scope
   20 |         memset(p,0,sizeof(p));
      |         ^~~~~~
/in/foo.cc:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    1 | #include <stdio.h>
  +++ |+#include <cstring>
    2 | #incldue <cstring>
/in/foo.cc:25:45: error: expected ';' before '\U0000ff1b'
   25 |                         if(match(i,m)) cnt++;
      |                                             ^~
      |                                             ;
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:9: error: 'cin' was not declared in this scope
   33 |         cin>>N>>M;
      |         ^~~
/in/foo.cc:39:9: error: 'cout' was not declared in this scope
   39 |         cout<<minfull(N,M);
      |         ^~~~

信息

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