Borderou de evaluare (job #604053)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Nenepatrat (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 aug. 2021 11:48:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void divi(int)':
main.cpp:10:22: error: 'n' was not declared in this scope
10 | while(x>1 && d*d<n)
| ^
main.cpp: In function 'int main()':
main.cpp:29:11: warning: unused variable 'tot' [-Wunused-variable]
29 | int n,tot;
| ^~~