Borderou de evaluare (job #3231542)
Utilizator | Data | 27 mai 2024 03:38:34 | |
---|---|---|---|
Problema | Secv8 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:104:64: error: return type 'class std::tuple<nod*, nod*, nod*>' is incomplete
104 | static tuple<nod *, nod *, nod *> split3(nod *x, int st, int dr) {
| ^
main.cpp: In function 'void split3(nod*, int, int)':
main.cpp:107:12: error: 'make_tuple' was not declared in this scope
107 | return make_tuple(n_st, n_mid, n_dr);
| ^~~~~~~~~~
main.cpp:3:1: note: 'std::make_tuple' is defined in header '<tuple>'; did you forget to '#include <tuple>'?
2 | #include <iostream>
+++ |+#include <tuple>
3 |
main.cpp: In function 'nod* flip(nod*, int, int)':
main.cpp:111:10: error: 'void <structured bindings>' has incomplete type
111 | auto [n_st, n_mid, n_dr] = split3(x, st, dr);
| ^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'nod* del(nod*, int, int)':
main.cpp:125:10: error: 'void <structured bindings>' has incomplete type
125 | auto [n_st, n_mid, n_dr] = split3(x, st, dr);
| ^~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !