/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'std::string sub(std::string, std::string)':
foo.cc:31:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   31 |     while(!na[--lmax]&&lmax>0)  ;lmax++;
      |     ^~~~~
foo.cc:31:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   31 |     while(!na[--lmax]&&lmax>0)  ;lmax++;
      |                                  ^~~~
foo.cc: In function 'std::string div(std::string, int)':
foo.cc:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   53 |     for(int i=0;i<a.size();i++)
      |                 ~^~~~~~~~~
foo.cc:59:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   59 |     for(int i=0;i<r.size();i++)
      |                 ~^~~~~~~~~
foo.cc: In function 'int mod(std::string, int)':
foo.cc:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   66 |     for(int i=0;i<a.size();i++) d=(d*10+(a[i]-'0'))%b;//求出余数
      |                 ~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 197ms 153.246 MiB
#2 Wrong Answer Read 277, expect 196. 417ms 153.223 MiB
#3 Time Exceeded ≥2108ms ≥153.367 MiB
#4 Time Exceeded ≥2107ms ≥153.242 MiB
#5 Time Exceeded ≥2107ms ≥153.242 MiB
#6 Time Exceeded ≥2107ms ≥153.242 MiB
#7 Time Exceeded ≥2108ms ≥153.242 MiB
#8 Time Exceeded ≥2107ms ≥153.242 MiB
#9 Time Exceeded ≥2102ms ≥153.266 MiB
#10 Time Exceeded ≥2107ms ≥153.242 MiB

信息

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