Borderou de evaluare (job #2242838)
Utilizator | Data | 19 septembrie 2018 17:04:37 | |
---|---|---|---|
Problema | Bitcost | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve(long long int, long long int, int, long long int)’:
user.cpp:7:7: error: ‘a’ was not declared in this scope
if (a <= st && dr <= b) {
^
user.cpp:7:24: error: ‘b’ was not declared in this scope
if (a <= st && dr <= b) {
^
user.cpp:8:5: error: ‘ans’ was not declared in this scope
ans = max(ans, sum[B] + nr);
^~~
user.cpp:8:20: error: ‘sum’ was not declared in this scope
ans = max(ans, sum[B] + nr);
^~~
user.cpp:12:7: error: ‘a’ was not declared in this scope
if (a <= mid)
^
user.cpp:14:7: error: ‘b’ was not declared in this scope
if (b >= mid + 1ll)
^
user.cpp:15:33: error: ‘cost’ was not declared in this scope
solve(mid + 1ll, dr, B - 1, cost[B] + nr);
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !