记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:14:14: error: 'l1' undeclared (first use in this function)
  while((str1[l1++] = getchar()) != '\n');
              ^~
/in/foo.c:14:14: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:14: error: 'l2' undeclared (first use in this function)
  while((str1[l2++] = getchar()) != '\n');
              ^~
/in/foo.c:16:21: error: 's1' undeclared (first use in this function)
  int count1 = Count(s1,len1);
                     ^~
/in/foo.c:17:21: error: 's2' undeclared (first use in this function)
  int count2 = Count(s2,len2);
                     ^~

信息

递交者
类型
自测
题目
A8-2 字符串的统计函数
语言
C
递交时间
2021-12-23 19:37:23
评测时间
2021-12-23 19:37:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes