记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:17:10: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |   while(j<s.size())
      |         ~^~~~~~~~~
foo.cc:19:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   19 |    if(s[j]>122||s[j]<97&&s[j]>90||s[j]<65)
foo.cc:26:12: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |   for(j=0;j<s.size()-1;j++)
      |           ~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 14ms 3.375 MiB
#2 Accepted 5ms 3.375 MiB
#3 Accepted 4ms 3.375 MiB
#4 Accepted 7ms 3.375 MiB
#5 Accepted 16ms 3.5 MiB

信息

递交者
类型
递交
题目
6-10 哪个字母对用得最多
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 19:15:44
评测时间
2022-08-07 19:15:44
评测机
分数
100
总耗时
48ms
峰值内存
3.5 MiB