/ 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 7ms 2.875 MiB
#2 Accepted 7ms 3.332 MiB
#3 Accepted 16ms 2.125 MiB
#4 Wrong Answer 32ms 3.352 MiB
#5 Wrong Answer 29ms 2.625 MiB
#6 Wrong Answer 22ms 3.211 MiB
#7 Wrong Answer 39ms 3.121 MiB
#8 Wrong Answer 42ms 3.484 MiB
#9 Wrong Answer 21ms 2.863 MiB
#10 Wrong Answer 23ms 2.742 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-05-10 10:58:04
评测时间
2018-05-10 10:58:04
评测机
分数
30
总耗时
243ms
峰值内存
3.484 MiB