/ Vijos /

记录详情

Accepted

/in/foo.cc:7:15: warning: overflow in implicit constant conversion [-Woverflow]
 const int inf=0x7f7f7f7f7f;
               ^~~~~~~~~~~~
/in/foo.cc: In function 'int getans(int, int)':
/in/foo.cc:29:19: warning: unused variable 'l' [-Wunused-variable]
     int ans=inf,k,l=0,maxk=min(i,j);
                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:62:30: warning: array subscript has type 'char' [-Wchar-subscripts]
             int add=ad[a[m-1]][k]+ad[b[m-1]][k];
                              ^
/in/foo.cc:62:44: warning: array subscript has type 'char' [-Wchar-subscripts]
             int add=ad[a[m-1]][k]+ad[b[m-1]][k];
                                            ^
/in/foo.cc:63:30: warning: array subscript has type 'char' [-Wchar-subscripts]
             int del=de[a[m-1]][k]+de[b[m-1]][k];
                              ^
/in/foo.cc:63:44: warning: array subscript has type 'char' [-Wchar-subscripts]
             int del=de[a[m-1]][k]+de[b[m-1]][k];
                                            ^
# 状态 耗时 内存占用
#1 Accepted 3ms 732.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Accepted 2ms 348.0 KiB
#6 Accepted 2ms 460.0 KiB
#7 Accepted 3ms 472.0 KiB
#8 Accepted 3ms 596.0 KiB
#9 Accepted 3ms 604.0 KiB
#10 Accepted 3ms 600.0 KiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2019-06-27 20:02:09
评测时间
2019-06-27 20:02:09
评测机
分数
100
总耗时
27ms
峰值内存
732.0 KiB