-1 return

This commit is contained in:
ljcjames 2022-08-11 22:00:07 +08:00
parent d6de4c2aa4
commit c168d4f6e0

View File

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