#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 | #49937963 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 1.91 KB |
Data încărcării | 20 Martie 2024, 14:55 | Scor / rezultat | 100 puncte |
gasti.cpp: In function 'int main()': gasti.cpp:76:37: warning: 'nr_max_2' may be used uninitialized in this function [-Wmaybe-uninitialized] out << (long long)val_max_1 * nr_max_2 * val_max_2 % MOD << "\n"; ^ gasti.cpp:80:72: warning: 'nr_max_1' may be used uninitialized in this function [-Wmaybe-uninitialized] out << (long long)val_max_1 * val_max_1 * ((long long)nr_max_1 * (nr_max_1 - 1) / 2) % MOD << "\n"; ^
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 ambele! | 10 | 10 | ||
5 | 0.012 secunde | Corect ambele! | 10 | 10 | ||
6 | 0.028 secunde | Corect ambele! | 10 | 10 | ||
7 | 0.028 secunde | Corect ambele! | 10 | 10 | ||
8 | 0.044 secunde | Corect ambele! | 10 | 10 | ||
9 | 0.08 secunde | Corect ambele! | 10 | 10 | ||
10 | 0.108 secunde | Corect ambele! | 10 | 10 | ||
Punctaj total | 100 |
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ă.