#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 | #58620719 | Utilizator | |
| Fișier | foursquare1.cpp | Dimensiune | 732 B |
| Data încărcării | 02 Iulie 2025, 23:41 | Scor/rezultat | 100 puncte |
foursquare1.cpp: In function 'int main()': foursquare1.cpp:15:17: warning: array subscript has type 'char' [-Wchar-subscripts] s2[c]=10*i+j; ^ foursquare1.cpp:21:17: warning: array subscript has type 'char' [-Wchar-subscripts] s3[c]=10*i+j; ^ foursquare1.cpp:28:15: warning: array subscript has type 'char' [-Wchar-subscripts] d=s2[a]/10; ^ foursquare1.cpp:29:15: warning: array subscript has type 'char' [-Wchar-subscripts] e=s2[a]%10; ^ foursquare1.cpp:30:15: warning: array subscript has type 'char' [-Wchar-subscripts] f=s3[b]/10; ^ foursquare1.cpp:31:15: warning: array subscript has type 'char' [-Wchar-subscripts] g=s3[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ă.