/ OPS /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:9: error: 'strcpy' was not declared in this scope
   13 |         strcpy(b, a);
      |         ^~~~~~
/in/foo.cc:2:1: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
/in/foo.cc:14:20: error: 'strlen' was not declared in this scope
   14 |         int lena = strlen(a);
      |                    ^~~~~~
/in/foo.cc:14:20: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?

信息

递交者
类型
递交
题目
P1652 AB串
语言
C++
递交时间
2024-04-03 10:40:16
评测时间
2024-04-03 10:40:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes