/ 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 78ms 6.777 MiB
#2 Accepted 2ms 668.0 KiB
#3 Accepted 2ms 796.0 KiB
#4 Accepted 3ms 924.0 KiB
#5 Accepted 6ms 1.902 MiB
#6 Accepted 12ms 2.902 MiB
#7 Accepted 17ms 3.508 MiB
#8 Accepted 36ms 5.16 MiB
#9 Accepted 43ms 6.129 MiB
#10 Accepted 64ms 6.77 MiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2023-05-12 18:41:27
评测时间
2023-05-12 18:41:27
评测机
分数
100
总耗时
267ms
峰值内存
6.777 MiB