Borderou de evaluare (job #2335783)
Utilizator | Data | 4 februarie 2019 15:07:13 | |
---|---|---|---|
Problema | Ramen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'vector' does not name a type
vector<int> times;
^~~~~~
main.cpp:12:1: error: 'vector' does not name a type
vector<tuple<int, int, int> > orders;
^~~~~~
main.cpp: In function 'void readInput()':
main.cpp:21:9: error: 'times' was not declared in this scope
times.pb(t);
^~~~~
main.cpp:22:9: error: 'orders' was not declared in this scope
orders.pb(mt(p, t, i));
^~~~~~
main.cpp: In function 'void solve()':
main.cpp:29:25: error: 'orders' was not declared in this scope
orderP = get<0>(orders[i]);
^~~~~~
main.cpp:33:27: error: 'times' was not declared in this scope
ind = lower_bound(times.begin(), times.end(), val) - times.begin();
^~~~~
main.cpp: In function 'int main()':
main.cpp:48:10: error: 'orders' was not declared in this scope
sort(orders.begin(), orders.end());
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !