记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:30:19: 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]
   30 |     for(int i=0; i<s.length(); i++) dp[i+1][(int)(s[i]-'0')%9]++;
      |                  ~^~~~~~~~~~~
foo.cc:31:21: 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]
   31 |     for(int i=1;  i <= s.length(); i++){
      |                   ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 38ms 12.785 MiB
#2 Accepted 15ms 5.277 MiB
#3 Accepted 22ms 8.152 MiB
#4 Accepted 23ms 11.035 MiB
#5 Accepted 5ms 540.0 KiB

信息

递交者
类型
递交
题目
P1422 1-6 游游的9的倍数
比赛
2023暑假集训7月3日训练题
语言
C++
递交时间
2023-07-03 10:32:21
评测时间
2023-07-03 10:32:21
评测机
分数
100
总耗时
106ms
峰值内存
12.785 MiB