/ new_bzoj /

记录详情

Compile Error

foo.c:3:1: error: unknown type name 'bool'; did you mean '_Bool'?
 bool j[MAX]={0};
 ^~~~
 _Bool
foo.c:3:6: error: variably modified 'j' at file scope
 bool j[MAX]={0};
      ^
foo.c:4:5: error: variably modified 's' at file scope
 int s[MAX]={0};
     ^
foo.c: In function 'main':
foo.c:8:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&N);
     ^~~~~~~~~~~~~~
foo.c:10:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&t);
         ^~~~~~~~~~~~~~
foo.c:17:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&M);
     ^~~~~~~~~~~~~~
foo.c:19:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&l,&r);
         ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
HH的项链
语言
C
递交时间
2021-08-06 16:48:55
评测时间
2021-08-06 16:48:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes