/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In member function 'bool BigNumber::BigNum::operator<(const BigNumber::BigNum&) const':
/in/foo.cc:78:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (flag<a.flag || flag==a.flag && le<a.le) return 1;
                          ~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc:79:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (flag>a.flag || flag==a.flag && le>a.le) return 0;
                          ~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc: In member function 'bool BigNumber::BigNum::operator>(const BigNumber::BigNum&) const':
/in/foo.cc:86:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (flag<a.flag || flag==a.flag && le<a.le) return 0;
                          ~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc:87:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (flag>a.flag || flag==a.flag && le>a.le) return 1;
                          ~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'bool BigNumber::operator<=(const BigNumber::BigNum&, const BigNumber::BigNum&)':
/in/foo.cc:304:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a > b) return 0; return 1;
     ^~
/in/foo.cc:304:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a > b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'bool BigNumber::operator>=(const BigNumber::BigNum&, const BigNumber::BigNum&)':
/in/foo.cc:307:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return 0; return 1;
     ^~
/in/foo.cc:307:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'bool BigNumber::operator<=(const BigNumber::BigNum&, const int&)':
/in/foo.cc:310:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a > b) return 0; return 1;
     ^~
/in/foo.cc:310:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a > b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'bool BigNumber::operator<=(const int&, const BigNumber::BigNum&)':
/in/foo.cc:313:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a > b) return 0; return 1;
     ^~
/in/foo.cc:313:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a > b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'bool BigNumber::operator>=(const BigNumber::BigNum&, const int&)':
/in/foo.cc:316:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return 0; return 1;
     ^~
/in/foo.cc:316:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'bool BigNumber::operator>=(const int&, const BigNumber::BigNum&)':
/in/foo.cc:319:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return 0; return 1;
     ^~
/in/foo.cc:319:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return 0; return 1;
                          ^~~~~~
/in/foo.cc: In function 'int BigNumber::max(const int&, const int&)':
/in/foo.cc:324:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return b; return a;
     ^~
/in/foo.cc:324:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return b; return a;
                          ^~~~~~
/in/foo.cc: In function 'int BigNumber::min(const int&, const int&)':
/in/foo.cc:327:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return a; return b;
     ^~
/in/foo.cc:327:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return a; return b;
                          ^~~~~~
/in/foo.cc: In function 'BigNumber::BigNum BigNumber::max(const BigNumber::BigNum&, const BigNumber::BigNum&)':
/in/foo.cc:330:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return b; return a;
     ^~
/in/foo.cc:330:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return b; return a;
                          ^~~~~~
/in/foo.cc: In function 'BigNumber::BigNum BigNumber::min(const BigNumber::BigNum&, const BigNumber::BigNum&)':
/in/foo.cc:333:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < b) return a; return b;
     ^~
/in/foo.cc:333:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (a < b) return a; return b;
                          ^~~~~~
/in/foo.cc: In function 'int BigNumber::odd(const BigNumber::BigNum&)':
/in/foo.cc:419:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (x.v[1] & 1) return 1; return 0;
     ^~
/in/foo.cc:419:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (x.v[1] & 1) return 1; return 0;
                               ^~~~~~
/in/foo.cc: In function 'void BigNumber::Print(const BigNumber::BigNum&)':
/in/foo.cc:496:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
     printf("%d",a.v[a.le]);
                          ^
/in/foo.cc: At global scope:
/in/foo.cc:624:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^
# 状态 耗时 内存占用
#1 Accepted 2ms 488.0 KiB
#2 Accepted 3ms 496.0 KiB
#3 Accepted 4ms 488.0 KiB
#4 Accepted 1ms 464.0 KiB
#5 Accepted 3ms 500.0 KiB
#6 Accepted 4ms 492.0 KiB
#7 Accepted 4ms 480.0 KiB
#8 Accepted 2ms 504.0 KiB
#9 Accepted 5ms 384.0 KiB
#10 Accepted 7ms 492.0 KiB
#11 Accepted 201ms 492.0 KiB
#12 Accepted 5ms 512.0 KiB
#13 Accepted 317ms 384.0 KiB
#14 Accepted 4ms 504.0 KiB
#15 Accepted 3ms 384.0 KiB
#16 Accepted 3ms 504.0 KiB
#17 Accepted 3ms 520.0 KiB
#18 Accepted 3ms 492.0 KiB
#19 Accepted 4ms 512.0 KiB
#20 Accepted 3ms 476.0 KiB
#21 Accepted 3ms 496.0 KiB
#22 Accepted 10ms 504.0 KiB
#23 Accepted 11ms 472.0 KiB
#24 Accepted 37ms 504.0 KiB
#25 Accepted 231ms 512.0 KiB
#26 Accepted 285ms 384.0 KiB
#27 Accepted 6ms 496.0 KiB
#28 Accepted 8ms 512.0 KiB
#29 Time Exceeded ≥1003ms ≥384.0 KiB
#30 Accepted 412ms 484.0 KiB
#31 Accepted 182ms 504.0 KiB
#32 Accepted 259ms 508.0 KiB
#33 Accepted 263ms 496.0 KiB
#34 Accepted 5ms 512.0 KiB
#35 Accepted 7ms 512.0 KiB
#36 Accepted 992ms 464.0 KiB
#37 Accepted 332ms 496.0 KiB
#38 Accepted 205ms 480.0 KiB
#39 Accepted 230ms 492.0 KiB
#40 Accepted 311ms 496.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-08-28 10:24:49
评测时间
2018-08-28 10:24:49
评测机
分数
390
总耗时
≥5394ms
峰值内存
≥520.0 KiB