#1462
Gasti
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 | #28687677 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 2.54 KB |
Data încărcării | 15 Martie 2021, 10:00 | Scor / rezultat | 76 puncte |
gasti.cpp: In function 'void DFS(int)': gasti.cpp:22:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0 ; i<Vecin[nod].size() ;i++){ ^ gasti.cpp: In function 'void Solve()': gasti.cpp:102:19: warning: 'nr1' may be used uninitialized in this function [-Wmaybe-uninitialized] ans = nr1 * max1 * max1 %MOD; ^ gasti.cpp:105:27: warning: 'nr2' may be used uninitialized in this function [-Wmaybe-uninitialized] ans = max1 * max2 * nr2%MOD; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Corect ambele! | 10 | 10 | ||
2 | 0 secunde | Corect ambele! | 10 | 10 | ||
3 | 0.004 secunde | Corect ambele! | 10 | 10 | ||
4 | 0 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
5 | 0.016 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
6 | 0.028 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
7 | 0.028 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
8 | 0.048 secunde | Corect ambele! | 10 | 10 | ||
9 | 0.08 secunde | Corect ambele! | 10 | 10 | ||
10 | 0.116 secunde | Corect ambele! | 10 | 10 | ||
Punctaj total | 76 |
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ă.