Problema | amplasare_cuvinte | Operații I/O |
![]() cuvinte.in /cuvinte.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #51556738 | Utilizator | |
Fișier | amplasare_cuvinte.cpp | Dimensiune | 3.22 KB |
Data încărcării | 10 Iulie 2024, 19:23 | Scor / rezultat | 100 puncte |
amplasare_cuvinte.cpp: In function 'void bck(int)': amplasare_cuvinte.cpp:52:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos <= m && it < s[k].size()) ^ amplasare_cuvinte.cpp:62:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (it < s[k].size()) ^ amplasare_cuvinte.cpp:68:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (it < s[k].size()) ^ amplasare_cuvinte.cpp:77:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int cv = 0; cv < contrib[k].size(); cv++) ^ amplasare_cuvinte.cpp:84:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos <= n && it < s[k].size()) ^ amplasare_cuvinte.cpp:94:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (it < s[k].size()) ^ amplasare_cuvinte.cpp:100:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (it < s[k].size()) ^ amplasare_cuvinte.cpp:109:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int cv = 0; cv < contrib[k].size(); cv++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Corect ! | 10 | 10 | Exemplu | |
2 | 0 secunde | Corect ! | 10 | 10 | ||
3 | 0 secunde | Corect ! | 20 | 20 | ||
4 | 0 secunde | Corect ! | 20 | 20 | ||
5 | 0 secunde | Corect ! | 20 | 20 | ||
6 | 0 secunde | Corect ! | 20 | 20 | ||
Punctaj total | 100 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema amplasare_cuvinte 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ă.