/ 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 5ms 2.875 MiB
#2 Accepted 6ms 2.875 MiB
#3 Accepted 8ms 3.234 MiB
#4 Accepted 11ms 2.996 MiB
#5 Accepted 12ms 2.875 MiB
#6 Accepted 10ms 2.875 MiB
#7 Accepted 6ms 3.375 MiB
#8 Accepted 12ms 2.875 MiB
#9 Accepted 6ms 3.195 MiB
#10 Accepted 12ms 3.199 MiB

信息

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