#1462
| Problema | Gasti | Operații I/O |
gasti.in/gasti.out
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
| Id soluție | #58235123 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 2.34 KB |
| Data încărcării | 21 Mai 2025, 16:37 | Scor/rezultat | Eroare de compilare |
gasti.cpp: In function 'void solve()': gasti.cpp:79:20: error: expected unqualified-id before '[' token for (const auto &[root, nodes] : components) { ^ gasti.cpp:79:20: error: expected ';' before '[' token gasti.cpp:79:21: error: 'root' was not declared in this scope for (const auto &[root, nodes] : components) { ^ gasti.cpp:79:27: error: 'nodes' was not declared in this scope for (const auto &[root, nodes] : components) { ^ gasti.cpp: In lambda function: gasti.cpp:79:34: error: expected '{' before ':' token for (const auto &[root, nodes] : components) { ^ gasti.cpp: In function 'void solve()': gasti.cpp:79:34: error: expected ';' before ':' token gasti.cpp:79:34: error: expected primary-expression before ':' token gasti.cpp:79:34: error: expected ')' before ':' token gasti.cpp:79:34: error: expected primary-expression before ':' token gasti.cpp:79:34: error: expected ';' before ':' token
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.