/ 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 2ms 1.75 MiB
#2 Wrong Answer 2ms 1.75 MiB
#3 Wrong Answer 21ms 1.824 MiB
#4 Accepted 133ms 1.832 MiB
#5 Wrong Answer 307ms 1.75 MiB
#6 Time Exceeded ≥2002ms ≥1.812 MiB
#7 Time Exceeded ≥2001ms ≥1.875 MiB
#8 Time Exceeded ≥2005ms ≥1.875 MiB
#9 Time Exceeded ≥2005ms ≥1.758 MiB
#10 Time Exceeded ≥2001ms ≥1.855 MiB

信息

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