/ Vijos /

记录详情

Wrong Answer

/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:21: 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 49ms 16.809 MiB
#2 Wrong Answer 49ms 16.438 MiB
#3 Wrong Answer 49ms 16.949 MiB
#4 Wrong Answer 75ms 16.188 MiB
#5 Wrong Answer 79ms 16.809 MiB
#6 Wrong Answer 89ms 17.285 MiB
#7 Wrong Answer 91ms 18.059 MiB
#8 Wrong Answer 102ms 17.938 MiB
#9 Wrong Answer 104ms 16.57 MiB
#10 Wrong Answer 99ms 17.562 MiB

信息

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