Borderou de evaluare (job #1606413)
Utilizator | Data | 20 februarie 2016 11:25:45 | |
---|---|---|---|
Problema | Bete2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:17: error: size of array ‘b’ is too large
int b[1000000001];
^
user.cpp: In function ‘int main()’:
user.cpp:18:31: error: ‘b’ was not declared in this scope
for(q=i+1; q<=n; q++) b[v[i] + v[q]]++;
^
user.cpp:19:29: error: ‘b’ was not declared in this scope
for(i=1; i<=n; i++) nr+=b[v[i]];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !