int ile_przestepnych(int r) { int n,iprzestepnych=0; for(n=1;n