/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:60:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   if(check(mid = l + r >> 1)) ans = mid,r = mid - 1;
                  ~~^~~
/in/foo.cc:63:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%lld\n",ans);
  ~~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 19ms 3.574 MiB
#2 Accepted 22ms 4.578 MiB
#3 Accepted 19ms 3.32 MiB
#4 Wrong Answer 11ms 4.316 MiB
#5 Wrong Answer 17ms 4.703 MiB
#6 Wrong Answer 10ms 4.562 MiB
#7 Wrong Answer 15ms 3.32 MiB
#8 Wrong Answer 36ms 4.574 MiB
#9 Wrong Answer 10ms 4.195 MiB
#10 Wrong Answer 10ms 4.691 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2017-10-23 17:47:43
评测时间
2017-10-23 17:47:43
评测机
分数
30
总耗时
173ms
峰值内存
4.703 MiB