Borderou de evaluare (job #771518)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Prime1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 apr. 2024 18:38:21 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int economic(int)': main.cpp:61:25: error: 'm' was not declared in this scope 61 | for(int d = 2; d*d<=m; d++) | ^ main.cpp:67:19: error: 'n' was not declared in this scope 67 | while(n % d == 0) | ^ main.cpp:78:8: error: 'n' was not declared in this scope 78 | if(n > 1) | ^ main.cpp:82:21: error: 'copie' was not declared in this scope 82 | if(cntc < nrcif(copie)) | ^~~~~ main.cpp:61:13: warning: control reaches end of non-void function [-Wreturn-type] 61 | for(int d = 2; d*d<=m; d++) | ^