/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:59: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:66: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:69: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 4ms 372.0 KiB
#2 Accepted 4ms 348.0 KiB
#3 Accepted 2ms 364.0 KiB
#4 Accepted 2ms 372.0 KiB
#5 Accepted 4ms 368.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 332.0 KiB
#8 Accepted 3ms 340.0 KiB
#9 Wrong Answer 3ms 372.0 KiB
#10 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1169 丘比特的烦恼
语言
C++
递交时间
2018-05-31 21:19:53
评测时间
2018-05-31 21:19:53
评测机
分数
80
总耗时
33ms
峰值内存
384.0 KiB