编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3825 | #1008. 出行请佩戴好字符串 | Compile Error | 0 | 0 ms | 0 K | C / 1.0 K | s230026068 | 2023-11-25 16:58:19 |
int
int
int
int
编译信息
/sandbox/1/a.c:40:23: error: called object type 'int' is not a function or function pointer
int distance=distance(str1,str2);
~~~~~~~~^
/sandbox/1/a.c:53:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
scanf("%s",T[i]);
~~ ^~~~
/sandbox/1/a.c:57:20: error: too few arguments to function call, expected 3, have 2
if(similar(S,T[i]),N){
~~~~~~~ ^
/sandbox/1/a.c:39:5: note: 'similar' declared here
int similar(char* str1,char* str2,int x){
^
/sandbox/1/a.c:64:20: error: too few arguments to function call, expected 3, have 2
if(similar(S,T[i]),N){
~~~~~~~ ^
/sandbox/1/a.c:39:5: note: 'similar' declared here
int similar(char* str1,char* str2,int x){
^
1 warning and 3 errors generated.