记录详情

Time Exceeded

foo.cc: In function 'int yf(int&, int&)':
foo.cc:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:136:25: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
     printf("%llf.",inter);
                         ^
foo.cc:137:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(success=false){
        ~~~~~~~^~~~~~
foo.cc:141:38: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
         case notx:printf("%llf",small);
                                      ^
foo.cc:142:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
         case chun:printf("(%llf)",small);
                                        ^
foo.cc:143:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
         case hun:printf("%llf(%llf)",small,small2);
                                                  ^
foo.cc:143:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
foo.cc:85:9: warning: unused variable 'blen' [-Wunused-variable]
     int blen=longer(b);
         ^~~~
foo.cc:90:9: warning: variable 'dot' set but not used [-Wunused-but-set-variable]
     int dot;
         ^~~
foo.cc:79:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d",&a,&b);
     ~~~~~^~~~~~~~~~~~~~~
foo.cc:129:13: warning: 'start_jl' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if(c/b==start_jl){
             ^~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 0.000000.0.40000... ,应为 4.9(945054) 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer 读取到 0.000000.(109060... ,应为 0.(1960784313725490) 0ms 256.0 KiB
#4 Wrong Answer 读取到 0.000000.(20.700... ,应为 2.(702) 0ms 256.0 KiB
#5 Wrong Answer 读取到 0.000000.(102080... ,应为 1.28254456842375... 2ms 256.0 KiB
#6 Wrong Answer 读取到 0.000000.(405070... ,应为 45.(705882352941... 0ms 256.0 KiB
#7 Wrong Answer 读取到 0.000000.(100008... ,应为 1.00080072064858... 1ms 256.0 KiB
#8 Time Exceeded ≥1376ms ≥256.0 KiB
#9 Wrong Answer 读取到 0.000000.(104040... ,应为 1.44342918570276... 1ms 256.0 KiB
#10 Time Exceeded ≥1402ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P1001 精度计算
语言
C++
递交时间
2020-11-04 17:07:12
评测时间
2020-11-04 17:07:12
评测机
分数
10
总耗时
≥2787ms
峰值内存
≥256.0 KiB