/ Vijos /

记录详情

Accepted

foo.cc: In function 'int cmp(std::__cxx11::string, std::__cxx11::string)':
foo.cc:19:20: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
                    ^
foo.cc:19:30: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
                              ^
foo.cc:19:47: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
                                               ^
foo.cc:19:56: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
                                                        ^
foo.cc: In function 'int main()':
foo.cc:25:34: warning: array subscript has type 'char' [-Wchar-subscripts]
     for (int i=0;i<26;i++) a[b[i]]=i;
                                  ^

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 4ms 348.0 KiB
#2 Accepted 3ms 356.0 KiB
#3 Accepted 9ms 484.0 KiB
#4 Accepted 10ms 412.0 KiB
#5 Accepted 4ms 364.0 KiB
#6 Accepted 7ms 404.0 KiB
#7 Accepted 4ms 316.0 KiB
#8 Accepted 2ms 264.0 KiB
#9 Accepted 4ms 316.0 KiB
#10 Accepted 8ms 452.0 KiB

信息

递交者
类型
递交
题目
P1500 笨笨的单词排序
语言
C++
递交时间
2020-02-07 21:53:46
评测时间
2020-02-07 21:53:46
评测机
分数
100
总耗时
55ms
峰值内存
484.0 KiB