#4635
Se dă un graf orientat cu n
vârfuri și m
arce. Să se determine toate circuitele elementare formate din vârfuri care au aceeași paritate.
Problema | CircuiteParitate | Operații I/O |
![]() circuiteparitate.in /circuiteparitate.out
|
---|---|---|---|
Limita timp | 0.4 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #56084205 | Utilizator | |
Fișier | circuiteparitate.cpp | Dimensiune | 1.46 KB |
Data încărcării | 05 Februarie 2025, 11:46 | Scor / rezultat | Eroare de compilare |
circuiteparitate.cpp: In function 'int main()': circuiteparitate.cpp:47:16: error: expected unqualified-id before '[' token for (auto &[u, v]: edg) { ^ circuiteparitate.cpp:47:16: error: expected ';' before '[' token circuiteparitate.cpp:47:17: error: 'u' was not declared in this scope for (auto &[u, v]: edg) { ^ circuiteparitate.cpp:47:20: error: 'v' was not declared in this scope for (auto &[u, v]: edg) { ^ circuiteparitate.cpp: In lambda function: circuiteparitate.cpp:47:22: error: expected '{' before ':' token for (auto &[u, v]: edg) { ^ circuiteparitate.cpp: In function 'int main()': circuiteparitate.cpp:47:22: error: expected ';' before ':' token circuiteparitate.cpp:47:22: error: expected primary-expression before ':' token circuiteparitate.cpp:47:22: error: expected ')' before ':' token circuiteparitate.cpp:47:22: error: expected primary-expression before ':' token circuiteparitate.cpp:47:22: error: expected ';' before ':' token
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema CircuiteParitate 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ă.