#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 | #58177346 | Utilizator | |
| Fișier | foursquare1.cpp | Dimensiune | 910 B |
| Data încărcării | 18 Mai 2025, 21:33 | Scor/rezultat | 100 puncte |
foursquare1.cpp: In function 'int main()': foursquare1.cpp:20:23: warning: array subscript has type 'char' [-Wchar-subscripts] square2[ch]=i*10+j; ^ foursquare1.cpp:28:23: warning: array subscript has type 'char' [-Wchar-subscripts] square3[ch]=i*10+j; ^ foursquare1.cpp:40:21: warning: array subscript has type 'char' [-Wchar-subscripts] x1=square2[a]/10; ^ foursquare1.cpp:41:21: warning: array subscript has type 'char' [-Wchar-subscripts] y2=square2[a]%10; ^ foursquare1.cpp:42:21: warning: array subscript has type 'char' [-Wchar-subscripts] x2=square3[b]/10; ^ foursquare1.cpp:43:21: warning: array subscript has type 'char' [-Wchar-subscripts] y1=square3[b]%10; ^
| 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ă.