#1413
ConstructPalindrom
C++
Find dat un string S
, se poate obține un palindrom din șirul inițial ștergând doar un singur caracter ?
Concursul Interjudețean de Informatică „Memorial Ștefan Dârțu”, ediția a XI-a, 12 decembrie 2015, Vatra Dornei
Problema | ConstructPalindrom | Operații I/O |
constructpalindrom.in /constructpalindrom.out
|
---|---|---|---|
Limita timp | 0.3 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53480001 | Utilizator | |
Fișier | constructpalindrom.cpp | Dimensiune | 799 B |
Data încărcării | 02 Noiembrie 2024, 01:04 | Scor / rezultat | Eroare de compilare |
constructpalindrom.cpp:7:1: error: stray '\342' in program ifstream fin(“constructpalindrom.in”); ^ constructpalindrom.cpp:7:1: error: stray '\200' in program constructpalindrom.cpp:7:1: error: stray '\234' in program constructpalindrom.cpp:7:1: error: stray '\342' in program constructpalindrom.cpp:7:1: error: stray '\200' in program constructpalindrom.cpp:7:1: error: stray '\235' in program constructpalindrom.cpp:8:1: error: stray '\342' in program ofstream fout(“constructpalindrom.out”); ^ constructpalindrom.cpp:8:1: error: stray '\200' in program constructpalindrom.cpp:8:1: error: stray '\234' in program constructpalindrom.cpp:8:1: error: stray '\342' in program constructpalindrom.cpp:8:1: error: stray '\200' in program constructpalindrom.cpp:8:1: error: stray '\235' in program constructpalindrom.cpp:33:13: error: stray '\342' in program fout << “YES” <<“\n”; ^ constructpalindrom.cpp:33:13: error: stray '\200' in program constructpalindrom.cpp:33:13: error: stray '\234' in program constructpalindrom.cpp:33:13: error: stray '\342' in program constructpalindrom.cpp:33:13: error: stray '\200' in program constructpalindrom.cpp:33:13: error: stray '\235' in program constructpalindrom.cpp:33:13: error: stray '\342' in program constructpalindrom.cpp:33:13: error: stray '\200' in program constructpalindrom.cpp:33:13: error: stray '\234' in program constructpalindrom.cpp:33:13: error: stray '\' in program constructpalindrom.cpp:33:13: error: stray '\342' in program constructpalindrom.cpp:33:13: error: stray '\200' in program constructpalindrom.cpp:33:13: error: stray '\235' in program constructpalindrom.cpp:35:13: error: stray '\342' in program fout << “NO” << “\n”; ^ constructpalindrom.cpp:35:13: error: stray '\200' in program constructpalindrom.cpp:35:13: error: stray '\234' in program constructpalindrom.cpp:35:13: error: stray '\342' in program constructpalindrom.cpp:35:13: error: stray '\200' in program constructpalindrom.cpp:35:13: error: stray '\235' in program constructpalindrom.cpp:35:13: error: stray '\342' in program constructpalindrom.cpp:35:13: error: stray '\200' in program constructpalindrom.cpp:35:13: error: stray '\234' in program constructpalindrom.cpp:35:13: error: stray '\' in program constructpalindrom.cpp:35:13: error: stray '\342' in program constructpalindrom.cpp:35:13: error: stray '\200' in program constructpalindrom.cpp:35:13: error: stray '\235' in program constructpalindrom.cpp:7:17: error: 'constructpalindrom' was not declared in this scope ifstream fin(“constructpalindrom.in”); ^ constructpalindrom.cpp:8:18: error: 'constructpalindrom' was not declared in this scope ofstream fout(“constructpalindrom.out”); ^ constructpalindrom.cpp: In function 'int main()': constructpalindrom.cpp:33:24: error: 'YES' was not declared in this scope fout << “YES” <<“\n”; ^ constructpalindrom.cpp:35:24: error: 'NO' was not declared in this scope fout << “NO” << “\n”; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ConstructPalindrom 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ă.