/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'void getsa()':
/in/foo.cc:21:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  for(i=1;i<=N;i++) cnt[s[i]]=1;
                            ^
/in/foo.cc:23:32: warning: array subscript has type 'char' [-Wchar-subscripts]
  for(i=N;i;i--) rnk[i]=cnt[s[i]];
                                ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,k;
           ^
/in/foo.cc:56:13: warning: unused variable 'k' [-Wunused-variable]
     int i,j,k;
             ^
# 状态 耗时 内存占用
#1 Accepted 12ms 3.465 MiB
#2 Accepted 9ms 3.461 MiB
#3 Accepted 8ms 3.473 MiB
#4 Accepted 9ms 3.477 MiB
#5 Accepted 12ms 3.473 MiB
#6 Accepted 14ms 3.48 MiB
#7 Accepted 8ms 3.457 MiB
#8 Accepted 8ms 3.434 MiB
#9 Accepted 8ms 3.457 MiB
#10 Accepted 8ms 3.484 MiB
#11 Accepted 14ms 3.598 MiB
#12 Accepted 9ms 3.574 MiB
#13 Accepted 9ms 3.598 MiB
#14 Accepted 10ms 3.582 MiB
#15 Accepted 51ms 4.945 MiB
#16 Accepted 66ms 4.945 MiB
#17 Accepted 51ms 4.973 MiB
#18 Accepted 37ms 4.977 MiB
#19 Accepted 96ms 6.57 MiB
#20 Accepted 100ms 6.59 MiB

信息

递交者
类型
递交
题目
#58 紫湖船
语言
C++
递交时间
2018-10-19 11:11:04
评测时间
2018-10-19 11:11:04
评测机
分数
100
总耗时
547ms
峰值内存
6.59 MiB