记录详情

Accepted

/in/foo.cc: In function 'int counts(const std::vector<char>&)':
/in/foo.cc:36:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < str.size();i++)
                    ~~^~~~~~~~~~~~
/in/foo.cc: In function 'int countl(const std::vector<char>&)':
/in/foo.cc:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < str.size();i++)
                    ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 360.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A8-3 字符串的统计函数
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 16:43:24
评测时间
2023-10-28 16:43:24
评测机
分数
100
总耗时
9ms
峰值内存
376.0 KiB