Home > Back-end >  Output the number of arbitrary interval daffodil number. Help to look at the code where there is a p
Output the number of arbitrary interval daffodil number. Help to look at the code where there is a p

Time:06-08

CodePudding user response:

Suggest you stick yards out, so someone will see,

CodePudding user response:

Because you did not consider the value of n for figures 1 and 2 digits,


While (t> 9) {
Cnt++;
T/t=10;
}

If (CNT & lt; 3) {
n++;
continue;
}

P=n;

CodePudding user response:

reference 1st floor qq_45798109 response:
suggest you stick yards out, so will someone see,

Uh huh, newbie on the road, slowly

CodePudding user response:

Uh-huh, later have to pay more attention to these problems, guide ~ thank you

CodePudding user response:


I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related