记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < S.length(); i++) {
               ~~^~~~~~~~~~~~
/in/foo.cc:24:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i == S.length())
       ~~^~~~~~~~~~~~~
/in/foo.cc:27:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (; i < S.length(); i++) {
           ~~^~~~~~~~~~~~
/in/foo.cc:33:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (i == S.length())
        ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 360.0 KiB

信息

递交者
类型
自测
题目
P1424 1-2 狗和猫
语言
C++
递交时间
2023-07-03 10:13:56
评测时间
2023-07-03 10:13:56
评测机
分数
10
总耗时
2ms
峰值内存
360.0 KiB