/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'std::__cxx11::string sub(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:31:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!na[--lmax]&&lmax>0)  ;lmax++;
     ^~~~~
/in/foo.cc:31:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(!na[--lmax]&&lmax>0)  ;lmax++;
                                  ^~~~
/in/foo.cc: In function 'std::__cxx11::string div(std::__cxx11::string, int)':
/in/foo.cc:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();i++)
                 ~^~~~~~~~~
/in/foo.cc:59:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<r.size();i++)
                 ~^~~~~~~~~
/in/foo.cc: In function 'int mod(std::__cxx11::string, int)':
/in/foo.cc:66:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();i++) d=(d*10+(a[i]-'0'))%b;//求出余数
                 ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer 3ms 384.0 KiB
#3 Wrong Answer 5ms 448.0 KiB
#4 Accepted 23ms 384.0 KiB
#5 Wrong Answer 60ms 384.0 KiB
#6 Time Exceeded ≥2005ms ≥512.0 KiB
#7 Time Exceeded ≥2006ms ≥512.0 KiB
#8 Time Exceeded ≥2002ms ≥512.0 KiB
#9 Time Exceeded ≥2006ms ≥456.0 KiB
#10 Time Exceeded ≥2004ms ≥640.0 KiB

信息

递交者
类型
递交
题目
P1670 三角计数
语言
C++
递交时间
2017-07-05 15:09:08
评测时间
2017-07-05 15:09:08
评测机
分数
20
总耗时
≥10120ms
峰值内存
≥640.0 KiB