Accepted
foo.cc: In function 'int main()': foo.cc:3:26: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses] 3 | #define rep(i,n) for(int (i)=1;(i)<=n;++(i)) | ^~~ foo.cc:16:9: note: in expansion of macro 'rep' 16 | rep(i,n)a[i]=read(); | ^~~ foo.cc:3:26: note: remove parentheses 3 | #define rep(i,n) for(int (i)=1;(i)<=n;++(i)) | ^~~ foo.cc:16:9: note: in expansion of macro 'rep' 16 | rep(i,n)a[i]=read(); | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2022-08-04 15:00:03
- 评测时间
- 2022-09-25 11:09:56
- 评测机
- 分数
- 100
- 总耗时
- 174ms
- 峰值内存
- 1.125 MiB