/ OIer TK /

记录详情

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 360.0 KiB
#2 Accepted 1ms 388.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 468.0 KiB
#5 Accepted 1ms 388.0 KiB
#6 Accepted 1ms 468.0 KiB
#7 Accepted 1ms 376.0 KiB
#8 Accepted 1ms 468.0 KiB
#9 Accepted 1ms 376.0 KiB
#10 Accepted 1ms 468.0 KiB

信息

递交者
类型
递交
题目
P1257 My Story Your Song-雨天
语言
C++
递交时间
2023-06-21 15:55:21
评测时间
2023-06-21 15:55:21
评测机
分数
100
总耗时
18ms
峰值内存
468.0 KiB