/*
1 5 6 25 76Press any key to continue
*/
#include
int main() { int i;/*对i从1-99逐个判断若i*i%10==i或i*i%100==i输出i;*/ for(i = 1; i <= 1000; ++i) { if(i * i % 10 == i || i * i % 100 == i) printf("%d ",i); } printf("\n"); return 0;}