#3808
ADFGVX
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 | #54530248 | Utilizator | |
Fișier | adfgvx.cpp | Dimensiune | 2.06 KB |
Data încărcării | 01 Decembrie 2024, 18:49 | Scor / rezultat | Eroare de compilare |
adfgvx.cpp: In function 'void task1()': adfgvx.cpp:20:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='A'; ^ adfgvx.cpp:22:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='D'; ^ adfgvx.cpp:24:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='F'; ^ adfgvx.cpp:26:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='G'; ^ adfgvx.cpp:28:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='V'; ^ adfgvx.cpp:30:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].i='X'; ^ adfgvx.cpp:33:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='A'; ^ adfgvx.cpp:35:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='D'; ^ adfgvx.cpp:37:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='F'; ^ adfgvx.cpp:39:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='G'; ^ adfgvx.cpp:41:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='V'; ^ adfgvx.cpp:43:22: warning: array subscript has type 'char' [-Wchar-subscripts] v[m[i][j]].j='X'; ^ adfgvx.cpp:51:26: warning: array subscript has type 'char' [-Wchar-subscripts] b[k++]=v[a[i]].i; ^ adfgvx.cpp:52:26: warning: array subscript has type 'char' [-Wchar-subscripts] b[k++]=v[a[i]].j; ^ adfgvx.cpp: At global scope: adfgvx.cpp:81:7: error: ISO C++ forbids declaration of 'task2' with no type [-fpermissive] task2(){} ^ adfgvx.cpp: In function 'int task2()': adfgvx.cpp:81:9: warning: no return statement in function returning non-void [-Wreturn-type] task2(){} ^
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ă.