/ Vijos /

记录详情

Accepted

foo.cc: In function 'VI sub(VI&, VI&)':
foo.cc:20:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |         if (i < b.size()) t -= b[i];
      |             ~~^~~~~~~~~~
foo.cc: In function 'VI add(VI&, VI&)':
foo.cc:32:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   32 |         if (i < a.size()) t += a[i];
      |             ~~^~~~~~~~~~
foo.cc:33:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |         if (i < b.size()) t += b[i];
      |             ~~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1372 数学课做减法
语言
C++
递交时间
2023-07-26 13:53:49
评测时间
2023-07-26 13:53:49
评测机
分数
100
总耗时
20ms
峰值内存
412.0 KiB