Borderou de evaluare (job #3311591)
| Utilizator | Data | 23 septembrie 2025 14:30:22 | |
|---|---|---|---|
| Problema | Vila 2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:48: error: 'class std::deque<std::pair<int, int> >' has no member named 'pop'
29 | int front_dif = dq.front().second - dq.pop().front().second
| ^~~
main.cpp:35:31: error: expected primary-expression before ')' token
35 | dq.push_back({i, v[i]});
| ^
main.cpp:29:13: warning: unused variable 'front_dif' [-Wunused-variable]
29 | int front_dif = dq.front().second - dq.pop().front().second
| ^~~~~~~~~
main.cpp:15:15: warning: unused variable 'difmax' [-Wunused-variable]
15 | int n, k, difmax;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
