/ Vijos /

记录详情

Accepted

/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 10ms 2.625 MiB
#2 Accepted 14ms 2.238 MiB
#3 Accepted 9ms 2.375 MiB
#4 Accepted 33ms 2.699 MiB
#5 Accepted 81ms 2.125 MiB
#6 Accepted 89ms 3.355 MiB
#7 Accepted 65ms 2.734 MiB
#8 Accepted 87ms 2.875 MiB
#9 Accepted 72ms 2.5 MiB
#10 Accepted 80ms 2.234 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-05-10 11:00:11
评测时间
2018-05-10 11:00:11
评测机
分数
100
总耗时
545ms
峰值内存
3.355 MiB