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 | #12968660 | Utilizator | |
Fișier | amplasare_cuvinte.cpp | Dimensiune | 2.88 KB |
Data încărcării | 24 Decembrie 2018, 01:30 | Scor / rezultat | 0 puncte |
amplasare_cuvinte.cpp: In function 'void amplasare_orizontala(int, int, std::string)': amplasare_cuvinte.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvant.length(); i++) ^ amplasare_cuvinte.cpp: In function 'void amplasare_verticala(int, int, std::string)': amplasare_cuvinte.cpp:55:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvant.length(); i++) ^ amplasare_cuvinte.cpp: In function 'bool ok_orizontala(int, int, std::string)': amplasare_cuvinte.cpp:88:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (y + cuvant.length() - 1 > M) ^ amplasare_cuvinte.cpp:92:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvant.length(); i++) ^ amplasare_cuvinte.cpp: In function 'bool ok_verticala(int, int, std::string)': amplasare_cuvinte.cpp:104:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (x + cuvant.length() - 1 > N) ^ amplasare_cuvinte.cpp:108:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvant.length(); i++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Incorect ! | 10 | 0 | Exemplu | |
2 | 0 secunde | Incorect ! | 10 | 0 | ||
3 | 0 secunde | Incorect ! | 20 | 0 | ||
4 | 0 secunde | Incorect ! | 20 | 0 | ||
5 | 0 secunde | Incorect ! | 20 | 0 | ||
6 | 0 secunde | Incorect ! | 20 | 0 | ||
Punctaj total | 0 |
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ă.