Problema | Anagrame1 | Operații I/O |
anagrame1.in /anagrame1.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53639431 | Utilizator | |
Fișier | anagrame1.cpp | Dimensiune | 1.71 KB |
Data încărcării | 07 Noiembrie 2024, 09:13 | Scor / rezultat | 100 puncte |
anagrame1.cpp: In function 'std::vector<char> sort(std::vector<char>)': anagrame1.cpp:20:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i{}; i < v.size() / 2; i++) { ^ anagrame1.cpp:23:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = v.size() / 2; i < v.size(); i++) { ^ anagrame1.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < v1.size() and j < v2.size()) { ^ anagrame1.cpp:35:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < v1.size() and j < v2.size()) { ^ anagrame1.cpp:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < v1.size()) { ^ anagrame1.cpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(j < v2.size()) { ^ anagrame1.cpp: In function 'void back(int)': anagrame1.cpp:68:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(k == vs.size() - 1) { ^ anagrame1.cpp:69:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int y{}; y < vs.size(); y++) { ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
2 | 0 secunde | OK. | 40 | 40 | ||
3 | 0.02 secunde | OK. | 40 | 40 | ||
Punctaj total | 100 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Anagrame1 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ă.