#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 | #59350517 | Utilizator | |
| Fișier | foursquare1.cpp | Dimensiune | 1.43 KB |
| Data încărcării | 25 Septembrie 2025, 16:16 | Scor/rezultat | 0 puncte |
foursquare1.cpp: In function 'int main()': foursquare1.cpp:19:27: warning: array subscript has type 'char' [-Wchar-subscripts] lin_a[m1[i][j]]=i+1; ^ foursquare1.cpp:20:27: warning: array subscript has type 'char' [-Wchar-subscripts] col_a[m1[i][j]]=j+1; ^ foursquare1.cpp:25:27: warning: array subscript has type 'char' [-Wchar-subscripts] lin_b[m2[i][j]]=i+1; ^ foursquare1.cpp:26:27: warning: array subscript has type 'char' [-Wchar-subscripts] col_b[m2[i][j]]=j+1; ^ foursquare1.cpp:31:27: warning: array subscript has type 'char' [-Wchar-subscripts] lin_c[m3[i][j]]=i+1; ^ foursquare1.cpp:32:27: warning: array subscript has type 'char' [-Wchar-subscripts] col_c[m3[i][j]]=j+1; ^ foursquare1.cpp:37:27: warning: array subscript has type 'char' [-Wchar-subscripts] lin_d[m4[i][j]]=i+1; ^ foursquare1.cpp:38:27: warning: array subscript has type 'char' [-Wchar-subscripts] col_d[m4[i][j]]=j+1; ^ foursquare1.cpp:47:25: warning: array subscript has type 'char' [-Wchar-subscripts] int l1 = lin_b[a]; ^ foursquare1.cpp:48:25: warning: array subscript has type 'char' [-Wchar-subscripts] int c1 = col_b[a]; ^ foursquare1.cpp:49:25: warning: array subscript has type 'char' [-Wchar-subscripts] int l4 = lin_c[b]; ^ foursquare1.cpp:50:25: warning: array subscript has type 'char' [-Wchar-subscripts] int c4 = col_c[b]; ^
| 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ă.