-1 return
This commit is contained in:
parent
d6de4c2aa4
commit
c168d4f6e0
@ -88,7 +88,7 @@ int main()
|
|||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
scanf("%d", &n);
|
scanf("%d", &n);
|
||||||
if (n == -1)
|
if (n == -1)//-1return
|
||||||
return 0;
|
return 0;
|
||||||
memset(&w, 0, sizeof(wall) * (n + 1));
|
memset(&w, 0, sizeof(wall) * (n + 1));
|
||||||
w[0].x = 0;
|
w[0].x = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user