/ Vijos /

记录详情

Wrong Answer

foo.cpp: In function 'void Get(int, int, int, int, int)':
foo.cpp:18:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=L+R>>1,opmid=min(mid,opl+opr);
          ~^~
foo.cpp: In function 'int main()':
foo.cpp:49:23: warning: array subscript has type 'char' [-Wchar-subscripts]
       f[now][j+dx[a[i]][k]+dx[b[i]][k]]|=f[last][j]<<(dy[a[i]][k]+dy[b[i]][k]);
                       ^
foo.cpp:49:35: warning: array subscript has type 'char' [-Wchar-subscripts]
       f[now][j+dx[a[i]][k]+dx[b[i]][k]]|=f[last][j]<<(dy[a[i]][k]+dy[b[i]][k]);
                                   ^
foo.cpp:49:62: warning: array subscript has type 'char' [-Wchar-subscripts]
       f[now][j+dx[a[i]][k]+dx[b[i]][k]]|=f[last][j]<<(dy[a[i]][k]+dy[b[i]][k]);
                                                              ^
foo.cpp:49:74: warning: array subscript has type 'char' [-Wchar-subscripts]
       f[now][j+dx[a[i]][k]+dx[b[i]][k]]|=f[last][j]<<(dy[a[i]][k]+dy[b[i]][k]);
                                                                          ^
foo.cpp: In function 'void Get(int, int, int, int, int)':
foo.cpp:26:22: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
  Get(x,L,mid-1,opl,b);
                      ^
# 状态 耗时 内存占用
#1 Wrong Answer 15ms 3.32 MiB
#2 Wrong Answer 0ms 3.316 MiB
#3 Wrong Answer 0ms 3.32 MiB
#4 Wrong Answer 0ms 3.316 MiB
#5 Wrong Answer 0ms 3.324 MiB
#6 Wrong Answer 0ms 3.316 MiB
#7 Wrong Answer 0ms 3.312 MiB
#8 Wrong Answer 0ms 3.32 MiB
#9 Wrong Answer 0ms 3.316 MiB
#10 Wrong Answer 0ms 3.316 MiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2017-03-14 12:30:00
评测时间
2017-03-14 12:30:00
评测机
分数
0
总耗时
15ms
峰值内存
3.324 MiB