Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141112_Perfectos
//Title of this code #include <stdio.h> int main(void) { short N; short d; short S; for(N = 1 ; N <= 1000000 ; N++) { for(d = 1 , S = 0 ; d <= N / 2 ; d++) { if(N % d == 0) { S += d; } } if(S == N) {printf("%hd ", N); } } return 0; }
run
|
edit
|
history
|
help
0
Función bsearch
incrementing values in an array
cstructCricPoint
141122_PI6
Nitheesh
prueba 3
Primer avance de lista enlazadas
linear hybrid cellular automaton reversible random bit generator stream cipher
menu
18BCE2182 LAB FAT-2-A-ii