/ 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:48: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:48: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:48: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:48: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 765ms 3.328 MiB
#2 Wrong Answer 0ms 3.328 MiB
#3 Wrong Answer 15ms 3.324 MiB
#4 Wrong Answer 0ms 3.324 MiB
#5 Wrong Answer 46ms 3.328 MiB
#6 Wrong Answer 125ms 3.32 MiB
#7 Wrong Answer 203ms 3.328 MiB
#8 Wrong Answer 468ms 3.324 MiB
#9 Wrong Answer 640ms 3.328 MiB
#10 Wrong Answer 750ms 3.332 MiB

信息

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