/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:53:12: note: in expansion of macro 'mid'
   if(check(mid)>=k) r=mid-1;
            ^~~
/in/foo.cc:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:53:23: note: in expansion of macro 'mid'
   if(check(mid)>=k) r=mid-1;
                       ^~~
/in/foo.cc:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:54:10: note: in expansion of macro 'mid'
   else l=mid+1;
          ^~~
# 状态 耗时 内存占用
#1 Accepted 289ms 166.445 MiB
#2 Accepted 292ms 166.5 MiB
#3 Accepted 295ms 166.5 MiB
#4 Accepted 294ms 166.625 MiB
#5 Accepted 290ms 166.5 MiB
#6 Accepted 294ms 166.5 MiB
#7 Accepted 289ms 168.5 MiB
#8 Accepted 292ms 166.492 MiB
#9 Accepted 228ms 166.695 MiB
#10 Accepted 226ms 166.621 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2017-08-30 15:33:06
评测时间
2017-08-30 15:33:06
评测机
分数
100
总耗时
2795ms
峰值内存
168.5 MiB