Compile Error
foo.c: In function 'main': foo.c:6:24: error: 'i' undeclared (first use in this function) 6 | scanf("%c",str[i]); | ^ foo.c:6:24: note: each undeclared identifier is reported only once for each function it appears in foo.c:10:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 10 | {if(str[j]=str[i]){total++;} | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1484 J. Every cloud has a silver lining
- 语言
- C
- 递交时间
- 2023-08-25 10:34:09
- 评测时间
- 2023-08-25 10:34:09
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes