Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<=s.size();i++)
                 ~^~~~~~~~~~
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<tmp.size();j++)
                ~^~~~~~~~~~~
/in/foo.cc:27:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if('a'<=tot&&tot<='z'||'A'<=tot&&tot<='Z')
            ~~~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 456.0 KiB
#2 Runtime Error 2ms 492.0 KiB
#3 Runtime Error 2ms 448.0 KiB
#4 Runtime Error 2ms 488.0 KiB
#5 Runtime Error 2ms 504.0 KiB
#6 Runtime Error 433ms 844.0 KiB
#7 Runtime Error 438ms 840.0 KiB
#8 Runtime Error 434ms 844.0 KiB
#9 Runtime Error 435ms 836.0 KiB
#10 Runtime Error 432ms 844.0 KiB

信息

递交者
类型
递交
题目
P2429 字符内码
语言
C++
递交时间
2025-01-23 11:07:29
评测时间
2025-01-23 11:07:29
评测机
分数
0
总耗时
2186ms
峰值内存
844.0 KiB