#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 | #63537497 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 1.05 KB |
| Data încărcării | 08 Martie 2026, 15:40 | Scor/rezultat | Eroare de compilare |
gasti.cpp:11:1: error: 'vector' does not name a type vector<int> G[100001]; ^ gasti.cpp: In function 'void dfs(int, int)': gasti.cpp:16:16: error: 'G' was not declared in this scope for(auto i:G[nod]) ^ gasti.cpp: In function 'int main()': gasti.cpp:22:5: error: 'fin' was not declared in this scope fin>>n>>m; ^ gasti.cpp:26:9: error: 'G' was not declared in this scope G[x].push_back(y); ^ gasti.cpp:33:5: error: 'fout' was not declared in this scope fout<<cnt<<' '; ^
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ă.