/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bigint operator+(const bigint&, const bigint&)':
/in/foo.cc:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.size()||i<b.size();++i){
              ~^~~~~~~~~
/in/foo.cc:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.size()||i<b.size();++i){
                          ~^~~~~~~~~
/in/foo.cc:18:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i<a.size()) p+=a[i]; if(i<b.size()) p+=b[i];
      ~^~~~~~~~~
/in/foo.cc:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(i<a.size()) p+=a[i]; if(i<b.size()) p+=b[i];
   ^~
/in/foo.cc:18:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(i<a.size()) p+=a[i]; if(i<b.size()) p+=b[i];
                           ^~
/in/foo.cc:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i<a.size()) p+=a[i]; if(i<b.size()) p+=b[i];
                              ~^~~~~~~~~
/in/foo.cc:21:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(p) ans.push_back(p); return ans;
  ^~
/in/foo.cc:21:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(p) ans.push_back(p); return ans;
                          ^~~~~~
/in/foo.cc: In function 'bigint operator*(const bigint&, int)':
/in/foo.cc:25:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.size();++i){
              ~^~~~~~~~~
/in/foo.cc:28:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(p) ans.push_back(p%mod),p/=mod; return ans;
  ^~~~~
/in/foo.cc:28:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(p) ans.push_back(p%mod),p/=mod; return ans;
                                        ^~~~~~
/in/foo.cc: In function 'void check(int, int)':
/in/foo.cc:64:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(len==1&&d[1]==1) return; --d[1];
   ^~
/in/foo.cc:64:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(len==1&&d[1]==1) return; --d[1];
                               ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 3ms 380.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 360.0 KiB
#5 Accepted 2ms 352.0 KiB
#6 Wrong Answer 2ms 356.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Time Exceeded ≥1007ms ≥372.0 KiB
#10 Accepted 2ms 368.0 KiB
#11 Accepted 3ms 380.0 KiB
#12 Accepted 2ms 360.0 KiB
#13 Wrong Answer 3ms 348.0 KiB
#14 Accepted 2ms 356.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Time Exceeded ≥1005ms ≥328.0 KiB
#17 Time Exceeded ≥1015ms ≥344.0 KiB
#18 Time Exceeded ≥1016ms ≥364.0 KiB
#19 Wrong Answer 2ms 356.0 KiB
#20 Accepted 4ms 368.0 KiB
#21 Time Exceeded ≥1010ms ≥384.0 KiB
#22 Time Exceeded ≥1011ms ≥356.0 KiB
#23 Time Exceeded ≥1003ms ≥376.0 KiB
#24 Accepted 1ms 204.0 KiB
#25 Accepted 5ms 360.0 KiB
#26 Wrong Answer 4ms 208.0 KiB
#27 Time Exceeded ≥1006ms ≥352.0 KiB
#28 Time Exceeded ≥1015ms ≥384.0 KiB
#29 Wrong Answer 9ms 340.0 KiB
#30 Accepted 2ms 404.0 KiB
#31 Accepted 2ms 260.0 KiB
#32 Accepted 3ms 344.0 KiB
#33 Wrong Answer 2ms 368.0 KiB
#34 Accepted 3ms 384.0 KiB
#35 Accepted 2ms 256.0 KiB
#36 Accepted 2ms 352.0 KiB
#37 Accepted 2ms 360.0 KiB
#38 Wrong Answer 2ms 256.0 KiB
#39 Accepted 2ms 352.0 KiB
#40 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-03-01 13:17:03
评测时间
2018-03-01 13:17:03
评测机
分数
230
总耗时
≥9188ms
峰值内存
≥404.0 KiB