/ Vijos /

记录详情

Accepted

foo.cc: In function 'int gcd(int, int)':
foo.cc:25:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   25 |     while(r=x%y)x=y,y=r;
      |           ~^~~~
foo.cc: In function 'void solve(int, int, fr)':
foo.cc:91:27: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   91 |             sum[j]=sum[j^j&-j]+(fr){1,v[__builtin_ctz(j)]};
      |                          ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 6ms 472.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 3ms 412.0 KiB
#9 Accepted 4ms 468.0 KiB
#10 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1278 My Story Your Song-雨天
语言
C++
递交时间
2023-07-20 13:53:55
评测时间
2023-07-20 13:53:55
评测机
分数
100
总耗时
44ms
峰值内存
472.0 KiB