记录详情

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 Time Exceeded ≥1888ms ≥256.0 KiB

信息

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