Problema | Dictionar | Operații I/O |
dictionar.in /dictionar.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 16 MB
/
Stivă 8 MB
|
Id soluție | #29842132 | Utilizator | |
Fișier | dictionar.cpp | Dimensiune | 2.11 KB |
Data încărcării | 25 Mai 2021, 16:57 | Scor / rezultat | 80 puncte |
dictionar.cpp: In function 'int main()': dictionar.cpp:22:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) ^ dictionar.cpp:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < s.size() && 'a' <= s[i] && s[i] <= 'z') ^ dictionar.cpp:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvinte.size(); i++) ^ dictionar.cpp:42:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < s.size(); j++) ^ dictionar.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j < s.size() && 'a' <= s[j] && s[j] <= 'z') ^ dictionar.cpp:53:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < cuvinte.size(); k++) ^ dictionar.cpp:76:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cuvinte.size(); i++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | ||
2 | 0 secunde | OK. | 20 | 20 | ||
3 | 0 secunde | OK. | 20 | 20 | ||
4 | 0 secunde | OK. | 20 | 20 | Exemplu | |
5 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
Punctaj total | 80 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Dictionar 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ă.