Compile Error
/in/foo.cc: In function 'int findit()':
/in/foo.cc:34:7: error: 'strcmp' was not declared in this scope
if (strcmp(str[i],ts)==0) return i;
^~~~~~
/in/foo.cc:34:7: note: suggested alternative: 'str'
if (strcmp(str[i],ts)==0) return i;
^~~~~~
str
/in/foo.cc:36:2: error: 'strcpy' was not declared in this scope
strcpy(str[cnt],ts);
^~~~~~
/in/foo.cc:36:2: note: suggested alternative: 'str'
strcpy(str[cnt],ts);
^~~~~~
str
信息
- 递交者
- 类型
- 递交
- 题目
- P1287 确定的位置
- 语言
- C++
- 递交时间
- 2017-09-30 10:27:14
- 评测时间
- 2017-09-30 10:27:14
- 评测机
- 分数
- 0
- 总耗时
- 400ms
- 峰值内存
- 35.551 MiB