Borderou de evaluare (job #1697116)
Utilizator | Data | 30 aprilie 2016 19:36:57 | |
---|---|---|---|
Problema | Inv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:37: error: size of array ‘b’ is too large
long long n, a[200001], b[2000000001];
^
user.cpp: In function ‘int main()’:
user.cpp:16:32: error: ‘b’ was not declared in this scope
for(int i = 0; i < n; i++) b[i] = 0;
^
user.cpp:19:9: error: ‘b’ was not declared in this scope
b[a[i]-1] = 1 ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !