#88
Palindrom
Să se verifice dacă un cuvânt dat este palindrom.
Problema | Palindrom | Operații I/O |
palindrom.in /palindrom.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #41226412 | Utilizator | |
Fișier | palindrom.cpp | Dimensiune | 391 B |
Data încărcării | 16 Ianuarie 2023, 18:12 | Scor / rezultat | 0 puncte |
palindrom.cpp: In function 'int main()': palindrom.cpp:17:10: warning: array subscript has type 'char' [-Wchar-subscripts] if(n[i]!=n[j]){ ^ palindrom.cpp:17:16: warning: array subscript has type 'char' [-Wchar-subscripts] if(n[i]!=n[j]){ ^ palindrom.cpp:19:16: warning: array subscript has type 'char' [-Wchar-subscripts] cout << n[i]<< " "<< n[j]<< endl; ^ palindrom.cpp:19:29: warning: array subscript has type 'char' [-Wchar-subscripts] cout << n[i]<< " "<< n[j]<< endl; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 50 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 40 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Palindrom 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ă.