#3142
Dându-se un șir de caractere, să se cripteze/decripteze șirul dat folosind un tabel polybius.
| Problema | polybius | Operații I/O |
polybius.in/polybius.out
|
|---|---|---|---|
| Limita timp | 0.05 secunde | Limita memorie |
Total: 2 MB
/
Stivă 1 MB
|
| Id soluție | #56464590 | Utilizator | |
| Fișier | polybius.cpp | Dimensiune | 1.19 KB |
| Data încărcării | 20 Februarie 2025, 12:01 | Scor/rezultat | 35 puncte |
polybius.cpp: In function 'int main()': polybius.cpp:61:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(szo);i++){ ^ polybius.cpp: In function 'soroszlop keres(char (*)[6], char)': polybius.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | OK. | 5 | 5 | Exemplu | |
| 2 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
| 3 | 0 secunde | OK. | 5 | 5 | ||
| 4 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 5 | 0 secunde | OK. | 5 | 5 | ||
| 6 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 7 | 0 secunde | OK. | 5 | 5 | ||
| 8 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 9 | 0 secunde | OK. | 5 | 5 | ||
| 10 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 11 | 0 secunde | OK. | 5 | 5 | ||
| 12 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 13 | 0.016 secunde | OK. | 5 | 5 | ||
| 14 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 15 | Depășit | Limita de timp depășită | 5 | 0 | ||
| 16 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 17 | Depășit | Limita de timp depășită | 5 | 0 | ||
| 18 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 19 | Depășit | Limita de timp depășită | 5 | 0 | ||
| 20 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 35 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema polybius 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ă.