/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(list[str1[i]] && list[str1[i]]!=str2[i]) {printf("Failed"); return 0;}
                  ^
/in/foo.cc:11:35: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(list[str1[i]] && list[str1[i]]!=str2[i]) {printf("Failed"); return 0;}
                                   ^
/in/foo.cc:12:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!list[str1[i]]) ++cnt;
                   ^
/in/foo.cc:13:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   list[str1[i]] = str2[i];
               ^
/in/foo.cc:19:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   str4[i] = list[str3[i]];
                         ^
# 状态 耗时 内存占用
#1 Accepted 3ms 312.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Wrong Answer 1ms 312.0 KiB
#4 Accepted 1ms 320.0 KiB
#5 Accepted 1ms 312.0 KiB
#6 Accepted 1ms 312.0 KiB
#7 Accepted 1ms 316.0 KiB
#8 Accepted 1ms 320.0 KiB
#9 Accepted 1ms 316.0 KiB
#10 Accepted 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1752 潜伏者
语言
C++
递交时间
2017-09-22 09:18:47
评测时间
2017-09-22 09:18:47
评测机
分数
90
总耗时
19ms
峰值内存
320.0 KiB