/ 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 9ms 4.578 MiB
#2 Accepted 11ms 3.582 MiB
#3 Accepted 10ms 4.688 MiB
#4 Wrong Answer 9ms 3.453 MiB
#5 Wrong Answer 6ms 4.32 MiB
#6 Wrong Answer 6ms 3.32 MiB
#7 Wrong Answer 8ms 4.574 MiB
#8 Wrong Answer 22ms 4.445 MiB
#9 Wrong Answer 6ms 4.07 MiB
#10 Wrong Answer 6ms 4.574 MiB

信息

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