/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int fyr(int&)':
/in/foo.cc:21:24: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(mark[b[step]]){
                        ^
/in/foo.cc:25:21: warning: array subscript has type 'char' [-Wchar-subscripts]
         mark[b[step]]=1;
                     ^
/in/foo.cc:31:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(c[step].size()>d[step].size()||c[step].size()==d[step].size()&&c[step]>d[step]){
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:43:20: warning: array subscript has type 'char' [-Wchar-subscripts]
         mark[iakioi]=0;
                    ^
/in/foo.cc: In function 'void work()':
/in/foo.cc:111:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(c[noip].size()>d[noip].size()||c[noip].size()==d[noip].size()&&c[noip]>d[noip]){
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:118:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   mark[b[noip]]=1;
               ^
# 状态 耗时 内存占用
#1 Accepted 2ms 228.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 2ms 228.0 KiB
#6 Accepted 2ms 224.0 KiB
#7 Accepted 1ms 228.0 KiB
#8 Accepted 2ms 216.0 KiB
#9 Accepted 1ms 228.0 KiB
#10 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2020-07-24 16:10:59
评测时间
2020-07-24 16:10:59
评测机
分数
100
总耗时
20ms
峰值内存
228.0 KiB