/ Vijos /

记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1278 My Story Your Song-雨天
语言
C++
递交时间
2021-12-05 16:53:38
评测时间
2021-12-05 16:53:38
评测机
分数
100
总耗时
20ms
峰值内存
468.0 KiB