/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:39:48: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   39 |                 if (c[i].name.find("reioxzsj") != -1) {
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:40:54: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   40 |                         while (c[i].name.find("woc") != -1) {
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:43:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |                         for (int j = 0; j < c[i].name.size(); j++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 17ms 1.027 MiB
#2 Accepted 30ms 1.402 MiB
#3 Accepted 39ms 1.777 MiB
#4 Accepted 31ms 1.527 MiB
#5 Accepted 11ms 892.0 KiB
#6 Accepted 11ms 796.0 KiB
#7 Accepted 16ms 1.027 MiB
#8 Accepted 15ms 1.016 MiB
#9 Accepted 12ms 1.402 MiB
#10 Accepted 26ms 1.359 MiB
#11 Accepted 38ms 1.691 MiB
#12 Accepted 2ms 668.0 KiB
#13 Accepted 12ms 924.0 KiB
#14 Accepted 11ms 796.0 KiB
#15 Accepted 32ms 1.504 MiB
#16 Accepted 16ms 1.027 MiB
#17 Accepted 13ms 924.0 KiB
#18 Accepted 14ms 880.0 KiB
#19 Accepted 32ms 1.508 MiB
#20 Accepted 25ms 1.23 MiB

信息

递交者
类型
递交
题目
P1454 牛的RP
语言
C++
递交时间
2023-11-18 15:17:19
评测时间
2023-11-18 15:17:19
评测机
分数
100
总耗时
410ms
峰值内存
1.777 MiB