#3495
FourSquare
Codificati un mesaj folosind cifrul Four Square.
cifrul Four Square
Problema | FourSquare | Operații I/O |
foursquare.in /foursquare.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #48643386 | Utilizator | |
Fișier | foursquare.cpp | Dimensiune | 934 B |
Data încărcării | 31 Ianuarie 2024, 20:50 | Scor / rezultat | 0 puncte |
foursquare.cpp: In function 'int main()': foursquare.cpp:22:16: warning: array subscript has type 'char' [-Wchar-subscripts] a[x].lin = i; ^ foursquare.cpp:23:16: warning: array subscript has type 'char' [-Wchar-subscripts] a[x].col = j; ^ foursquare.cpp:36:16: warning: array subscript has type 'char' [-Wchar-subscripts] d[x].lin = i; ^ foursquare.cpp:37:16: warning: array subscript has type 'char' [-Wchar-subscripts] d[x].col = j; ^ foursquare.cpp:42:17: warning: array subscript has type 'char' [-Wchar-subscripts] g << a[x].lin << ' ' << a[x].col << '\n' << d[y].lin << ' ' << d[y].col << "\n\n"; ^ foursquare.cpp:42:36: warning: array subscript has type 'char' [-Wchar-subscripts] g << a[x].lin << ' ' << a[x].col << '\n' << d[y].lin << ' ' << d[y].col << "\n\n"; ^ foursquare.cpp:42:56: warning: array subscript has type 'char' [-Wchar-subscripts] g << a[x].lin << ' ' << a[x].col << '\n' << d[y].lin << ' ' << d[y].col << "\n\n"; ^ foursquare.cpp:42:75: warning: array subscript has type 'char' [-Wchar-subscripts] g << a[x].lin << ' ' << a[x].col << '\n' << d[y].lin << ' ' << d[y].col << "\n\n"; ^ foursquare.cpp:43:22: warning: array subscript has type 'char' [-Wchar-subscripts] cout << b[a[x].lin][d[y].col] << c[d[y].lin][a[x].col]; ^ foursquare.cpp:43:32: warning: array subscript has type 'char' [-Wchar-subscripts] cout << b[a[x].lin][d[y].col] << c[d[y].lin][a[x].col]; ^ foursquare.cpp:43:47: warning: array subscript has type 'char' [-Wchar-subscripts] cout << b[a[x].lin][d[y].col] << c[d[y].lin][a[x].col]; ^ foursquare.cpp:43:57: warning: array subscript has type 'char' [-Wchar-subscripts] cout << b[a[x].lin][d[y].col] << c[d[y].lin][a[x].col]; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 30 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 30 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema FourSquare 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ă.