#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 | #64413049 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 973 B |
| Data încărcării | 05 Mai 2026, 18:37 | Scor/rezultat | Eroare de compilare |
gasti.cpp:1:1: error: ‘vector’ does not name a type 1 | vector<int> adj[MAXN]; | ^~~~~~ gasti.cpp:2:10: error: ‘MAXN’ was not declared in this scope 2 | bool viz[MAXN]; | ^~~~ gasti.cpp: In function ‘int main()’: gasti.cpp:6:5: error: ‘fin’ was not declared in this scope 6 | fin >> n >> m; | ^~~ gasti.cpp:11:9: error: ‘adj’ was not declared in this scope 11 | adj[x].push_back(y); | ^~~ gasti.cpp:19:14: error: ‘viz’ was not declared in this scope 19 | if (!viz[i]) { | ^~~ gasti.cpp:22:13: error: ‘vector’ was not declared in this scope 22 | vector<int> q; | ^~~~~~ gasti.cpp:22:20: error: expected primary-expression before ‘int’ 22 | vector<int> q; | ^~~ gasti.cpp:23:13: error: ‘q’ was not declared in this scope 23 | q.push_back(i); | ^ gasti.cpp:32:30: error: ‘adj’ was not declared in this scope 32 | for (int v : adj[nod]) { | ^~~ gasti.cpp:40:49: error: ‘MOD’ was not declared in this scope 40 | cnt = (cnt + 1LL * sz * (n - sz)) % MOD; | ^~~ gasti.cpp:44:18: error: ‘MOD’ was not declared in this scope 44 | cnt = (cnt % MOD + MOD) % MOD; | ^~~ gasti.cpp:46:5: error: ‘fout’ was not declared in this scope 46 | fout << nr << " " << 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ă.