/ Vijos /

记录详情

Accepted

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

信息

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