Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
    9 |   for(int j=0;j<strlen(a);j++)
      |               ~^~~~~~~~~~
/in/foo.cc:12:8: warning: array subscript 100 is above array bounds of 'char [100]' [-Warray-bounds]
   12 |   a[100]={};
      |   ~~~~~^
/in/foo.cc:6:6: note: while referencing 'a'
    6 | char a[100]={};
      |      ^
  信息
- 递交者
- 类型
- 递交
- 比赛
- 2024_2025(1)C0023实验5+李强老师班级
- 语言
- C++
- 递交时间
- 2024-11-21 21:41:22
- 评测时间
- 2024-11-21 21:41:22
- 评测机
- 分数
- 10
- 总耗时
- 3ms
- 峰值内存
- 344.0 KiB