/ 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:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~
/in/foo.cc:43:25: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%lld\n",ans);
                         ^
# 状态 耗时 内存占用
#1 Accepted 21ms 2.125 MiB
#2 Accepted 21ms 3.125 MiB
#3 Accepted 21ms 3.219 MiB
#4 Accepted 67ms 3.109 MiB
#5 Accepted 92ms 3.359 MiB
#6 Accepted 96ms 2.75 MiB
#7 Accepted 106ms 2.23 MiB
#8 Accepted 73ms 3.09 MiB
#9 Accepted 72ms 2.465 MiB
#10 Accepted 77ms 3.352 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-08-07 21:17:23
评测时间
2018-08-07 21:17:23
评测机
分数
100
总耗时
650ms
峰值内存
3.359 MiB