/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'std::vector<int> mul(const std::vector<int>&, int)':
foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < a.size() || ad; i ++)
                  ~~^~~~~~~~~~
foo.cc:23:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i < a.size()) ad += a[i] * b;
       ~~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:62:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < strlen(n); i ++ )
                  ~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥712ms ≥150.82 MiB
#2 Time Exceeded ≥678ms ≥182.922 MiB
#3 Time Exceeded ≥584ms ≥218.5 MiB
#4 Accepted 1ms 440.0 KiB
#5 Time Exceeded ≥794ms ≥181.641 MiB

信息

递交者
类型
递交
题目
P1129 产生数
语言
C++
递交时间
2021-11-08 16:18:11
评测时间
2021-11-08 16:18:11
评测机
分数
10
总耗时
≥2771ms
峰值内存
≥218.5 MiB