Borderou de evaluare (job #2257282)
Utilizator | Data | 9 octombrie 2018 21:29:02 | |
---|---|---|---|
Problema | Guest | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:19:1: error: ‘ll’ does not name a type
ll cost[NMAX];
^~
user.cpp: In function ‘int main()’:
user.cpp:30:10: error: ‘cost’ was not declared in this scope
cost[i] = INF * INF;
^~~~
user.cpp:41:17: error: ‘cost’ was not declared in this scope
cost[i] = 0;
^~~~
user.cpp:60:16: error: ‘cost’ was not declared in this scope
cost[aici] = min(cost[aici], cost[left] + 1LL * (aici - left) * x[aici]);
^~~~
user.cpp:63:17: error: ‘cost’ was not declared in this scope
cost[aici] = min(cost[aici], cost[right] + 1LL * (right - aici) * x[aici]);
^~~~
user.cpp:68:9: error: ‘ll’ was not declared in this scope
ll res = calculate_raspuns(cost, n);
^~
user.cpp:70:15: error: ‘res’ was not declared in this scope
fo << res << '\n';
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !