#3900
Myszkowski
Sa se cripteze sau sa se decripteze un mesaj folosind cifrul Myszkowski
.
cifrul Myszkowski
Problema | Myszkowski | Operații I/O |
myszkowski.in /myszkowski.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #51105478 | Utilizator | |
Fișier | myszkowski.cpp | Dimensiune | 4.44 KB |
Data încărcării | 23 Mai 2024, 20:55 | Scor / rezultat | 90 puncte |
myszkowski.cpp: In function 'void swap_cols(int, int)': myszkowski.cpp:17:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<mat.size(); i++) ^ myszkowski.cpp: In function 'void afis_grid()': myszkowski.cpp:24:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<mat.size();i++) ^ myszkowski.cpp:26:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;j<mat[i].size();j++) ^ myszkowski.cpp: In function 'int main()': myszkowski.cpp:64:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<cheie.size(); j++) ^ myszkowski.cpp:66:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr>=mesaj.size()) ^ myszkowski.cpp:73:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr>=mesaj.size()) ^ myszkowski.cpp:78:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<cheie.size(); i++) ^ myszkowski.cpp:80:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=i+1; j<cheie.size(); j++) ^ myszkowski.cpp:89:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st<cheie.size()) ^ myszkowski.cpp:91:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (dr+1<cheie.size() && mat[0][st]==mat[0][dr+1]) ^ myszkowski.cpp:95:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1; i<mat.size(); i++) ^ myszkowski.cpp:120:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;j<cheie.size();j++) ^ myszkowski.cpp:125:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<=mesaj.size()/cheie.size()+1;i++) ^ myszkowski.cpp:128:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;j<cheie.size();j++) ^ myszkowski.cpp:138:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<cheie.size(); j++) ^ myszkowski.cpp:150:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st<cheie.size()) ^ myszkowski.cpp:153:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (dr+1<cheie.size() && mat[0][st]==mat[0][dr+1]) ^ myszkowski.cpp:157:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1;i<=mesaj.size()/cheie.size();i++) ^ myszkowski.cpp:175:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1; i<mat.size(); i++) ^ myszkowski.cpp:177:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int cautat=0; cautat<cheie.size(); cautat++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 10 | 10 | Exemplu | |
2 | 0 secunde | OK. | 10 | 10 | Exemplu | |
3 | 0 secunde | OK. | 10 | 10 | ||
4 | 0 secunde | OK. | 10 | 10 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | OK. | 10 | 10 | ||
7 | 0 secunde | OK. | 10 | 10 | ||
8 | 0 secunde | OK. | 10 | 10 | ||
9 | 0 secunde | OK. | 10 | 10 | ||
10 | 0 secunde | OK. | 10 | 10 | ||
Punctaj total | 90 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Myszkowski 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ă.