mincrafter_or_cy @ 2024-12-08 09:48:44
我有个疑问:
为什么定义时:
t[3000005][65];
清空时:
for(int i=0;i<=idx;i++)
for(int j=0;j<=122;j++)
t[i][j]=0;
by LionBlaze @ 2024-12-08 09:53:28
@mincrafter_or_cy because Undefined behaviour.
by mincrafter_or_cy @ 2024-12-08 10:00:02
@LionBlaze 可以使用中文吗?
by LionBlaze @ 2024-12-08 10:01:31
@mincrafter_or_cy 因为未定义行为。
by mincrafter_or_cy @ 2024-12-08 10:03:35
@LionBlaze@[LionBlaze] ty
by LionBlaze @ 2024-12-08 10:03:47
因为 void check(int x) { if(x*x>=0) xiaoshuo(); } /*...*/ check(114514114);