记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:137:25: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
     printf("%llf.",inter);
                         ^
foo.cc:138:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(success=false){
        ~~~~~~~^~~~~~
foo.cc:142:38: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
         case notx:printf("%llf",small);break;
                                      ^
foo.cc:143:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
         case chun:printf("(%llf)",small);break;
                                        ^
foo.cc:144: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);break;
                                                  ^
foo.cc:144:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
foo.cc:86:9: warning: unused variable 'blen' [-Wunused-variable]
     int blen=longer(b);
         ^~~~
foo.cc:91:9: warning: variable 'dot' set but not used [-Wunused-but-set-variable]
     int dot;
         ^~~
foo.cc:80: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:130: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 304.0 KiB
#4 Wrong Answer 读取到 0.000000.(20.700000) ,应为 2.(702) 0ms 292.0 KiB
#5 Wrong Answer 读取到 0.000000.(102080... ,应为 1.28254456842375... 1ms 280.0 KiB
#6 Wrong Answer 读取到 0.000000.(405070... ,应为 45.(705882352941... 0ms 284.0 KiB
#7 Wrong Answer 读取到 0.000000.(100008... ,应为 1.00080072064858... 0ms 256.0 KiB
#8 Time Exceeded ≥1405ms ≥256.0 KiB
#9 Wrong Answer 读取到 0.000000.(104040... ,应为 1.44342918570276... 1ms 256.0 KiB
#10 Time Exceeded ≥1432ms ≥256.0 KiB

信息

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