/ Vijos /

记录详情

Accepted

foo.cc: In function 'int cmp(std::string, std::string)':
foo.cc:17:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |  if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
      |             ^
foo.cc:17:23: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |  if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
      |                       ^
foo.cc:17:40: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |  if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
      |                                        ^
foo.cc:17:49: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |  if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
      |                                                 ^
foo.cc: In function 'int main()':
foo.cc:23:32: warning: array subscript has type 'char' [-Wchar-subscripts]
   23 |   for (int i=0;i<26;i++) a[b[i]]=i;
      |                                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 15ms 640.0 KiB
#4 Accepted 7ms 592.0 KiB
#5 Accepted 6ms 512.0 KiB
#6 Accepted 6ms 512.0 KiB
#7 Accepted 6ms 512.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 6ms 512.0 KiB
#10 Accepted 7ms 512.0 KiB

信息

递交者
类型
递交
题目
P1500 笨笨的单词排序
语言
C++
递交时间
2022-01-31 08:15:45
评测时间
2022-01-31 08:15:45
评测机
分数
100
总耗时
69ms
峰值内存
640.0 KiB