/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int gcd(int, int)':
/in/foo.cc:25:11: 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:15: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
 sum[j]=sum[j^j&-j]+(fr){1,v[__builtin_ctz(j)]};
              ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 792.0 KiB
#2 Accepted 2ms 924.0 KiB
#3 Accepted 2ms 388.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 400.0 KiB
#6 Accepted 1ms 468.0 KiB
#7 Accepted 2ms 356.0 KiB
#8 Accepted 2ms 476.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 2ms 472.0 KiB

信息

递交者
类型
递交
题目
P1278 My Story Your Song-雨天
语言
C++
递交时间
2022-01-01 09:26:24
评测时间
2022-01-01 09:26:24
评测机
分数
100
总耗时
22ms
峰值内存
924.0 KiB