Borderou de evaluare (job #3376957)
| Utilizator | Data | 20 noiembrie 2026 17:37:12 | |
|---|---|---|---|
| Problema | Sahara | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:39:5: error: 'stack' was not declared in this scope
39 | stack<pair<int, int>> stk;
| ^~~~~
main.cpp:2:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'?
1 | #include<fstream>
+++ |+#include <stack>
2 | using namespace std;
main.cpp:39:24: error: expected primary-expression before '>' token
39 | stack<pair<int, int>> stk;
| ^~
main.cpp:39:27: error: 'stk' was not declared in this scope; did you mean 'std'?
39 | stack<pair<int, int>> stk;
| ^~~
| std
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
