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
PREGUNTA 2, GUÍA 4, MÓDULO 3 FINALIZADA
22
apel
Thread and Mutex Code
150109_RecursividadPrimo
sorted array
HW4e5
C_141210_Punteros
Atomic Openmp
150112_CribaErastotenes