/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:60:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0;j<str.length();j++) if(str[j]<='Z'&&str[j]>='A') str[j]+='a'-'A';
                     ~^~~~~~~~~~~~~
/in/foo.cc:67:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<str.length();i++) if(str[i]<='Z'&&str[i]>='A') str[i]+='a'-'A';
                     ~^~~~~~~~~~~~~
/in/foo.cc:70:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<str.length();i++) if(str[i]<='Z'&&str[i]>='A') str[i]+='a'-'A';
                     ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 356.0 KiB
#2 Accepted 2ms 356.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 336.0 KiB
#5 Accepted 3ms 356.0 KiB
#6 Accepted 4ms 380.0 KiB
#7 Accepted 4ms 352.0 KiB
#8 Accepted 3ms 348.0 KiB
#9 Wrong Answer 3ms 372.0 KiB
#10 Wrong Answer 4ms 364.0 KiB

信息

递交者
类型
递交
题目
P1169 丘比特的烦恼
语言
C++
递交时间
2018-06-02 20:43:03
评测时间
2018-06-02 20:43:03
评测机
分数
80
总耗时
36ms
峰值内存
384.0 KiB