Borderou de evaluare (job #1796125)
Utilizator | Data | 3 noiembrie 2016 09:18:09 | |
---|---|---|---|
Problema | Tritzi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:12: error: size of array ‘d1’ is too large
int d1[nMax], d2[nMax], d0[nMax];
^
user.cpp:10:22: error: size of array ‘d2’ is too large
int d1[nMax], d2[nMax], d0[nMax];
^
user.cpp:10:32: error: size of array ‘d0’ is too large
int d1[nMax], d2[nMax], d0[nMax];
^
user.cpp: In function ‘int main()’:
user.cpp:17:5: error: ‘d1’ was not declared in this scope
d1[0] = d2[0] = d3[0] = 1;
^
user.cpp:17:13: error: ‘d2’ was not declared in this scope
d1[0] = d2[0] = d3[0] = 1;
^
user.cpp:17:21: error: ‘d3’ was not declared in this scope
d1[0] = d2[0] = d3[0] = 1;
^
user.cpp:25:13: error: ‘d0’ was not declared in this scope
d0[i] = d0[i - 1] + d2[i - 1];
^
user.cpp:30:17: error: ‘d0’ was not declared in this scope
out << (d0[n] + d1[n] + d2[n]) % p<< "\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !