/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:33:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main() { 
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid = l + r >> 1; 
             ~~^~~
/in/foo.cc:43:22: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%lld\n",ans);
                      ^
# 状态 耗时 内存占用
#1 Accepted 19ms 2.605 MiB
#2 Accepted 25ms 3.0 MiB
#3 Accepted 28ms 2.746 MiB
#4 Accepted 79ms 2.258 MiB
#5 Accepted 108ms 2.598 MiB
#6 Wrong Answer 113ms 2.625 MiB
#7 Wrong Answer 133ms 2.125 MiB
#8 Wrong Answer 120ms 3.0 MiB
#9 Wrong Answer 130ms 2.734 MiB
#10 Wrong Answer 67ms 2.25 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-05-10 10:59:32
评测时间
2018-05-10 10:59:32
评测机
分数
50
总耗时
828ms
峰值内存
3.0 MiB