This commit is contained in:
ljcjames 2022-08-11 21:59:29 +08:00
parent 3e26bbdbda
commit 444d4bded9

View File

@ -89,7 +89,7 @@ int main()
while (1)
{
scanf("%d", &n);
if (n == -1)
if (n == -1)// 结束
return 0;
memset(&w, 0, sizeof(wall) * (n + 1));
w[0].x = 0;