/ Vijos /

记录详情

Time Exceeded

/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:41:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
             int mid = l + r >> 1;
                       ~~^~~
/in/foo.cc:45:29: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
         printf("%lld\n",ans);
                             ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1006ms ≥2.125 MiB
#2 Time Exceeded ≥1003ms ≥3.215 MiB
#3 Time Exceeded ≥1002ms ≥3.109 MiB
#4 Time Exceeded ≥1005ms ≥3.0 MiB
#5 Time Exceeded ≥1005ms ≥3.328 MiB
#6 Time Exceeded ≥1007ms ≥3.25 MiB
#7 Time Exceeded ≥1007ms ≥2.617 MiB
#8 Time Exceeded ≥1007ms ≥2.125 MiB
#9 Time Exceeded ≥1003ms ≥3.105 MiB
#10 Time Exceeded ≥1000ms ≥2.734 MiB

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2018-08-07 21:18:30
评测时间
2018-08-07 21:18:30
评测机
分数
0
总耗时
≥10049ms
峰值内存
≥3.328 MiB