/ Vijos /

记录详情

Accepted

foo.cc: In function 'void addNum(std::vector<Num>&, Num&)':
foo.cc:137:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  137 |     for(int i=0;i<v.size();i++) {
      |                 ~^~~~~~~~~
foo.cc: In function 'Num& getGoodOne(int, int)':
foo.cc:201:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  201 |     for(int i=0;i<vi.size();i++) {
      |                 ~^~~~~~~~~~
foo.cc: In function 'void preCalc()':
foo.cc:260:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  260 |             for(int k=0;k<preBuild.size();k++) {
      |                         ~^~~~~~~~~~~~~~~~
foo.cc:261:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  261 |                 for(int k2=k+1;k2<preBuild.size();k2++) {
      |                                ~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 70ms 6.848 MiB
#2 Accepted 4ms 668.0 KiB
#3 Accepted 4ms 924.0 KiB
#4 Accepted 5ms 1.027 MiB
#5 Accepted 8ms 2.027 MiB
#6 Accepted 15ms 2.988 MiB
#7 Accepted 19ms 3.527 MiB
#8 Accepted 39ms 5.25 MiB
#9 Accepted 50ms 6.203 MiB
#10 Accepted 69ms 6.848 MiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2023-07-25 12:41:14
评测时间
2023-07-25 12:41:14
评测机
分数
100
总耗时
288ms
峰值内存
6.848 MiB