/ /

记录详情

Accepted

foo.cc: In function 'bool cmp(std::string, std::string)':
foo.cc:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for(int i=0;i<a.size();i++)
      |                     ~^~~~~~~~~
foo.cc:12:1: warning: control reaches end of non-void function [-Wreturn-type]
   12 | }
      | ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 772.0 KiB
#2 Accepted 5ms 668.0 KiB
#3 Accepted 5ms 668.0 KiB
#4 Accepted 5ms 668.0 KiB
#5 Accepted 6ms 668.0 KiB
#6 Accepted 9ms 668.0 KiB
#7 Accepted 16ms 616.0 KiB
#8 Accepted 26ms 668.0 KiB
#9 Accepted 25ms 672.0 KiB
#10 Accepted 37ms 772.0 KiB

信息

递交者
类型
递交
题目
P2025 牛牛闯关
语言
C++
递交时间
2024-01-06 12:08:17
评测时间
2024-01-06 12:08:17
评测机
分数
100
总耗时
143ms
峰值内存
772.0 KiB