/ JamesKC /

记录详情

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 22ms 1.105 MiB
#2 Accepted 20ms 1.0 MiB
#3 Accepted 15ms 1.125 MiB
#4 Accepted 22ms 1.0 MiB
#5 Accepted 15ms 1.125 MiB
#6 Accepted 14ms 1.0 MiB
#7 Accepted 18ms 1.125 MiB
#8 Accepted 14ms 1.0 MiB
#9 Accepted 16ms 1.0 MiB
#10 Accepted 15ms 1.0 MiB

信息

递交者
类型
递交
语言
C++
递交时间
2022-08-04 15:00:03
评测时间
2022-09-25 11:09:56
评测机
分数
100
总耗时
174ms
峰值内存
1.125 MiB