#3808
Să se cripteze sau să se decripteze un mesaj folosind cifrul ADFGVX.
cifrul ADFGVX
| Problema | ADFGVX | Operații I/O |
adfgvx.in/adfgvx.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64784090 | Utilizator | |
| Fișier | adfgvx.cpp | Dimensiune | 4.20 KB |
| Data încărcării | 30 Mai 2026, 21:09 | Scor/rezultat | 100 puncte |
adfgvx.cpp: In function ‘void Insert(char, int)’: adfgvx.cpp:26:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 26 | if(aux_columns == key.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~ adfgvx.cpp: In function ‘void Task2()’: adfgvx.cpp:96:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 96 | for(j = 0 ; j < letters.size() && key[i] != letters[j].first; ++j); | ^~~ adfgvx.cpp:97:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 97 | ++j; | ^~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 5 | 5 | Exemplu | |
| 2 | 0.001 secunde | OK. | 5 | 5 | Exemplu | |
| 3 | 0.002 secunde | OK. | 10 | 10 | ||
| 4 | 0.001 secunde | OK. | 10 | 10 | ||
| 5 | 0.002 secunde | OK. | 20 | 20 | ||
| 6 | 0.003 secunde | OK. | 20 | 20 | ||
| 7 | 0.001 secunde | OK. | 10 | 10 | ||
| 8 | 0.001 secunde | OK. | 10 | 10 | ||
| 9 | 0.001 secunde | OK. | 5 | 5 | ||
| 10 | 0.001 secunde | OK. | 5 | 5 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ADFGVX 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ă.