Home > Back-end >  A run is suggested to stop working
A run is suggested to stop working

Time:12-12


How is this to return a responsibility excuse me?

CodePudding user response:

This line of

CodePudding user response:

You see, you carefully look at, there are at least two mistakes,

CodePudding user response:

The scanf () function has 16 % d, only 15 corresponding variables

CodePudding user response:

Write such code, use cycle, use cycle can avoid too much % d and the corresponding parameters, parameter is more easy to leak?

CodePudding user response:

 
//write, up and down, wouldn't % d and the number is not corresponding to the variables:
The scanf (" % d % d % d % d % d % d % d % d % d % d % d % d % d % d % d % d ", "
& A, & amp; B, & amp; C., & amp; D, & amp; E, & amp; F, & amp; G, & amp; H, & amp; I, & amp; J., & amp; K, & amp; L, & amp; M, & amp; N, & amp; O, & amp; P);

The inside of the printf % and variable of one to one correspondence relation
The scanf % and variables and the variables inside before add don't add & amp; One-to-one correspondence relationship
Is the place that C code is very easy to get wrong, and generally don't compile error compiler error (latest),
So during the compilation of source code is worth specially carefully check it again and even many times before,
  • Related