Borderou de evaluare (job #712551)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cmmdc2 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 mar. 2023 10:01:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:5: error: size of array 'm' exceeds maximum object size '2147483647'
12 | int m[NMAX][NMAX], v[NMAX], nrK[NMAX];
| ^
main.cpp: In function 'int main()':
main.cpp:34:13: error: 'm' was not declared in this scope
34 | m[i][j] = cmmdc(x, v[j]);
| ^
main.cpp:42:23: error: 'm' was not declared in this scope
42 | int gcd = m[i][j];
| ^
main.cpp:53:13: error: 'm' was not declared in this scope
53 | if (m[l][i] == maxim || v[i] % maxim == 0){
| ^