记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:11: error: 'L' undeclared (first use in this function)
  for (j = L - 1; j < R + 1; j++) {
           ^
foo.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
foo.c:9:22: error: 'R' undeclared (first use in this function)
  for (j = L - 1; j < R + 1; j++) {
                      ^
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&l,&r);
  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1006 数字统计
语言
C
递交时间
2021-08-31 00:32:34
评测时间
2021-08-31 00:32:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes