/ Vijos /

记录详情

Wrong Answer

/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 326ms 166.5 MiB
#2 Accepted 334ms 168.5 MiB
#3 Accepted 284ms 166.543 MiB
#4 Wrong Answer 279ms 166.539 MiB
#5 Wrong Answer 285ms 166.453 MiB
#6 Wrong Answer 279ms 166.5 MiB
#7 Wrong Answer 273ms 166.5 MiB
#8 Wrong Answer 277ms 166.5 MiB
#9 Wrong Answer 221ms 168.617 MiB
#10 Wrong Answer 227ms 168.586 MiB

信息

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