Time:10-08
CodePudding user response:
this topic and questions irrelevant
# include & lt; Stdio. H> # include & lt; String. H> # define N 500 Int main (void) {Int arr={0} [N * 2]; int count=0; Int I; For (I=1; I * I & lt; N * 2; I++) Arr [I * I]=1; For (I=1; I * I * I & lt; N * 2; I++) Arr [I * I * I]=1; For (I=1; I & lt; N * 2; I++) {If (arr [I]==0) {Count++; If (count==500) {Printf (" % d \ n ", I); break; } } } return 0; }
Page link:https//www.codepudding.com/Backend/57524.html