/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:28:11: note: in expansion of macro 'mid'
   if (cnt(mid)>=k) r=mid-1;
           ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:28:22: note: in expansion of macro 'mid'
   if (cnt(mid)>=k) r=mid-1;
                      ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:29:10: note: in expansion of macro 'mid'
   else l=mid+1;
          ^~~
# 状态 耗时 内存占用
#1 Accepted 45ms 17.453 MiB
#2 Accepted 45ms 17.805 MiB
#3 Accepted 46ms 17.562 MiB
#4 Accepted 72ms 16.57 MiB
#5 Accepted 83ms 17.273 MiB
#6 Accepted 90ms 17.305 MiB
#7 Accepted 91ms 16.703 MiB
#8 Accepted 96ms 17.555 MiB
#9 Accepted 94ms 17.938 MiB
#10 Accepted 93ms 17.82 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-10-31 14:40:19
评测时间
2018-10-31 14:40:19
评测机
分数
100
总耗时
758ms
峰值内存
17.938 MiB