Borderou de evaluare (job #3372549)
| Utilizator | Data | 4 noiembrie 2026 11:00:18 | |
|---|---|---|---|
| Problema | Mvc | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs_cautare_muchie(int, int)':
main.cpp:38:15: error: 'par' was not declared in this scope; did you mean '__pstl::execution::v1::par'?
38 | if(y==par) return;
| ^~~
| __pstl::execution::v1::par
In file included from /usr/include/c++/12.2.1/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/12.2.1/algorithm:73,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:65,
from main.cpp:1:
/usr/include/c++/12.2.1/pstl/execution_defs.h:111:27: note: '__pstl::execution::v1::par' declared here
111 | constexpr parallel_policy par{};
| ^~~
main.cpp: In function 'int main()':
main.cpp:96:23: error: too few arguments to function 'void dfs_cautare_muchie(int, int)'
96 | dfs_cautare_muchie(1);
| ~~~~~~~~~~~~~~~~~~^~~
main.cpp:33:6: note: declared here
33 | void dfs_cautare_muchie(int nod, int parinte){
| ^~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
