Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < str.size(); ++i){
                   ~~^~~~~~~~~~~~
/in/foo.cc:14:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (str[i] >= 'a' && str[i] <= 'z' || str[i] >= 'A' && str[i] <= 'Z')
                       
# 状态 耗时 内存占用
#1 Runtime Error 2ms 364.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 408.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1180 单词倒排
语言
C++
递交时间
2024-07-04 21:23:25
评测时间
2024-07-04 21:23:25
评测机
分数
80
总耗时
9ms
峰值内存
408.0 KiB