Borderou de evaluare (job #593955)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ssk (baraj gimnaziu) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 apr. 2021 13:13:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:27: error: size of array 'a' exceeds maximum object size '2147483647'
7 | long long suma[NxM][NxM], a[600000000];
| ^
main.cpp: In function 'int main()':
main.cpp:32:21: error: 'a' was not declared in this scope
32 | a[cnt++] = suma[i2][j2] - suma[i1-1][j2] - suma[i2][j1-1] + suma[i1-1][j1-1];
| ^
main.cpp:37:10: error: 'a' was not declared in this scope
37 | sort(a, a + cnt);
| ^