Accepted

foo.cc: In function 'int main()':
foo.cc:7:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
    7 |         for(int i=0;i<strlen(c);i++)
      |                     ~^~~~~~~~~~
foo.cc:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   30 |         for(int i=0;i<strlen(c)-1;i++)
      |                     ~^~~~~~~~~~~~
foo.cc:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         for(int i=0;i<strlen(c);i++)
      |                     ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 412.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 2ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1094 5-8 留下最大数
语言
C++
递交时间
2023-07-29 07:45:51
评测时间
2023-07-29 07:45:51
评测机
分数
100
总耗时
16ms
峰值内存
412.0 KiB