记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:32: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for(long long int i=0;i<s.size()-1;i+=2)
      |                               ~^~~~~~~~~~~
foo.cc:22:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |                 else if(i<s.size())
      |                         ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1,0,0, expect 1,2,0. 2ms 284.0 KiB
#2 Wrong Answer Read 1,3,2, expect 2,6,2. 1ms 284.0 KiB
#3 Wrong Answer Read 2,4,1, expect 3,6,1. 2ms 328.0 KiB
#4 Wrong Answer Read 26,27,26, expect 27,47,26. 2ms 284.0 KiB
#5 Wrong Answer Read 247,237,247, expect 248,505,247. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1060 [蓝桥杯国赛 2022 中级组] 小鸟朝向
语言
C++
递交时间
2023-05-13 19:25:55
评测时间
2023-05-13 19:25:55
评测机
分数
0
总耗时
10ms
峰值内存
328.0 KiB