#3595
FourSquare1
Decodificati un mesaj folosind cifrul Four Square.
cifrul Four Square
Problema | FourSquare1 | Operații I/O |
foursquare1.in /foursquare1.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #24843526 | Utilizator | |
Fișier | foursquare1.cpp | Dimensiune | 941 B |
Data încărcării | 20 Octombrie 2020, 23:31 | Scor / rezultat | 0 puncte |
foursquare1.cpp: In function 'int main()': foursquare1.cpp:21:22: warning: array subscript has type 'char' [-Wchar-subscripts] va[ch3[j]]=i; ^ foursquare1.cpp:22:22: warning: array subscript has type 'char' [-Wchar-subscripts] vb[ch3[j]] =j; ^ foursquare1.cpp:31:22: warning: array subscript has type 'char' [-Wchar-subscripts] vc[ch3[j]]=i; ^ foursquare1.cpp:32:22: warning: array subscript has type 'char' [-Wchar-subscripts] vd[ch3[j]] =j; ^ foursquare1.cpp:41:16: warning: array subscript has type 'char' [-Wchar-subscripts] a=va[ch1]; ^ foursquare1.cpp:42:16: warning: array subscript has type 'char' [-Wchar-subscripts] b=vb[ch1]; ^ foursquare1.cpp:43:16: warning: array subscript has type 'char' [-Wchar-subscripts] c=vc[ch2]; ^ foursquare1.cpp:44:16: warning: array subscript has type 'char' [-Wchar-subscripts] d=vd[ch2]; ^ foursquare1.cpp:13:13: warning: unused variable 'rodi' [-Wunused-variable] int i,j,rodi,va[130]={-1},vb[130]={-1},vc[130]={-1},vd[130]={-1},a,b,c,d; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema FourSquare1 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ă.