Borderou de evaluare (job #647313)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cod (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 apr. 2022 09:22:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:8: error: conflicting declaration 'int n'
11 | int P, n, nr;
| ^
main.cpp:9:6: note: previous declaration as 'long int n'
9 | long n, M, i, j;
| ^
main.cpp: In function 'void isincode(long int*, long int, long int*)':
main.cpp:16:12: warning: unused variable 'j' [-Wunused-variable]
16 | int i, j = 0; long s = 0;
| ^
main.cpp: In function 'int main()':
main.cpp:83:10: warning: unused variable 'nrp' [-Wunused-variable]
83 | long nrp = 0, nrc = 0;
| ^~~