/ Vijos /

记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1278 My Story Your Song-雨天
语言
C++
递交时间
2021-10-13 22:19:48
评测时间
2021-10-13 22:19:48
评测机
分数
100
总耗时
20ms
峰值内存
392.0 KiB