/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int, int, int, int)':
/in/foo.cc:168:6: warning: operation on 'move' may be undefined [-Wsequence-point]
    X[++move]=Y[move]=Dir[move]=0;
      ^~~~~~
/in/foo.cc:179:4: warning: operation on 'move' may be undefined [-Wsequence-point]
  X[++move]=Y[move]=Dir[move]=0;
    ^~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'int main()' at /in/foo.cc:31:35:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'int main()' at /in/foo.cc:31:35:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'int main()' at /in/foo.cc:31:35:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:176:26,
    inlined from 'int main()' at /in/foo.cc:31:35:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'int main()' at /in/foo.cc:32:26:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'int main()' at /in/foo.cc:32:26:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
In function 'bool Del()',
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:160:18,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'void dfs(int, int, int, int)' at /in/foo.cc:175:35,
    inlined from 'int main()' at /in/foo.cc:32:26:
/in/foo.cc:74:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
  memset(nde,0,sizeof(nd));
  ~~~~~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 836.0 KiB
#2 Wrong Answer 2ms 188.0 KiB
#3 Wrong Answer 1ms 188.0 KiB
#4 Wrong Answer 1ms 204.0 KiB
#5 Wrong Answer 2ms 188.0 KiB
#6 Wrong Answer 1ms 188.0 KiB
#7 Wrong Answer 1ms 204.0 KiB
#8 Wrong Answer 1ms 184.0 KiB
#9 Wrong Answer 1ms 188.0 KiB
#10 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1738 Mayan游戏
语言
C++
递交时间
2018-11-28 11:32:18
评测时间
2018-11-28 11:32:18
评测机
分数
0
总耗时
20ms
峰值内存
836.0 KiB