#3595
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 | #63546361 | Utilizator | |
| Fișier | foursquare1.cpp | Dimensiune | 1016 B |
| Data încărcării | 09 Martie 2026, 08:50 | Scor/rezultat | 100 puncte |
foursquare1.cpp: In function 'int main()': foursquare1.cpp:20:18: warning: array subscript has type 'char' [-Wchar-subscripts] v2x[c]=i; ^ foursquare1.cpp:21:18: warning: array subscript has type 'char' [-Wchar-subscripts] v2y[c]=j; ^ foursquare1.cpp:27:18: warning: array subscript has type 'char' [-Wchar-subscripts] v3x[c]=i; ^ foursquare1.cpp:28:18: warning: array subscript has type 'char' [-Wchar-subscripts] v3y[c]=j; ^ foursquare1.cpp:40:16: warning: array subscript has type 'char' [-Wchar-subscripts] a=v2x[A]; ^ foursquare1.cpp:41:16: warning: array subscript has type 'char' [-Wchar-subscripts] d=v2y[A]; ^ foursquare1.cpp:42:16: warning: array subscript has type 'char' [-Wchar-subscripts] C=v3x[B]; ^ foursquare1.cpp:43:16: warning: array subscript has type 'char' [-Wchar-subscripts] b=v3y[B]; ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
| 2 | 0 secunde | OK. | 20 | 20 | ||
| 3 | 0 secunde | OK. | 20 | 20 | ||
| 4 | 0 secunde | OK. | 20 | 20 | ||
| 5 | 0 secunde | OK. | 20 | 20 | ||
| Punctaj total | 100 | |||||
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ă.