/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(ch[a[i]]==0){
             ^
/in/foo.cc:13:11: warning: array subscript has type 'char' [-Wchar-subscripts]
    ch[a[i]]=b[i];
           ^
/in/foo.cc:16:14: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(ch[a[i]]!=b[i]){
              ^
/in/foo.cc:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<c.length();i++){
              ~^~~~~~~~~~~
/in/foo.cc:37:16: warning: array subscript has type 'char' [-Wchar-subscripts]
   cout<<ch[c[i]];
                ^
# 状态 耗时 内存占用
#1 Accepted 4ms 364.0 KiB
#2 Accepted 2ms 356.0 KiB
#3 Accepted 4ms 368.0 KiB
#4 Accepted 3ms 340.0 KiB
#5 Accepted 4ms 204.0 KiB
#6 Accepted 4ms 256.0 KiB
#7 Accepted 3ms 372.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 3ms 372.0 KiB
#10 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
P1752 潜伏者
语言
C++
递交时间
2018-10-17 20:55:06
评测时间
2018-10-17 20:55:06
评测机
分数
100
总耗时
36ms
峰值内存
372.0 KiB