/ 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 8ms 1.699 MiB
#2 Accepted 8ms 1.625 MiB
#3 Accepted 6ms 1.691 MiB
#4 Accepted 5ms 1.625 MiB
#5 Accepted 7ms 1.625 MiB
#6 Accepted 5ms 1.668 MiB
#7 Accepted 8ms 1.602 MiB
#8 Accepted 9ms 1.734 MiB
#9 Accepted 6ms 1.625 MiB
#10 Accepted 6ms 1.711 MiB

信息

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