Detalii evaluare #54798559

Rezumat problemă

Să se scrie un program care citește o propoziție și care afișează cuvintele palindrom în ordine alfabetică, împreună cu numărul lor de apariții în propoziția citită.

Detalii

Problema CuvintePalindrom Operații I/O tastatură/ecran
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #54798559 Utilizator Dumitrescu Iustin (DumitrscuI)
Fișier cuvintepalindrom.cpp Dimensiune 1.88 KB
Data încărcării 09 Decembrie 2024, 09:29 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

cuvintepalindrom.cpp:1:1: error: stray '\342' in program
 │0: oi prieteni analizeaza un capac aerisirea   e ok   radar e radar │

 ^
cuvintepalindrom.cpp:1:1: error: stray '\224' in program
cuvintepalindrom.cpp:1:1: error: stray '\202' in program
cuvintepalindrom.cpp:1:1: error: stray '\342' in program
cuvintepalindrom.cpp:1:1: error: stray '\224' in program
cuvintepalindrom.cpp:1:1: error: stray '\202' in program
cuvintepalindrom.cpp:2:1: error: stray '\342' in program
 h                        │1: 0rtgu7t3ew=-6teuieorer                                           │

 ^
cuvintepalindrom.cpp:2:1: error: stray '\224' in program
cuvintepalindrom.cpp:2:1: error: stray '\202' in program
cuvintepalindrom.cpp:2:1: error: stray '\342' in program
cuvintepalindrom.cpp:2:1: error: stray '\224' in program
cuvintepalindrom.cpp:2:1: error: stray '\202' in program
cuvintepalindrom.cpp:3:1: error: stray '\342' in program
 hi                       │2: 0-9ik=                                                           │

 ^
cuvintepalindrom.cpp:3:1: error: stray '\224' in program
cuvintepalindrom.cpp:3:1: error: stray '\202' in program
cuvintepalindrom.cpp:3:1: error: stray '\342' in program
cuvintepalindrom.cpp:3:1: error: stray '\224' in program
cuvintepalindrom.cpp:3:1: error: stray '\202' in program
cuvintepalindrom.cpp:4:1: error: stray '\342' in program
 h                        │3: rftghg                                                           │

 ^
cuvintepalindrom.cpp:4:1: error: stray '\224' in program
cuvintepalindrom.cpp:4:1: error: stray '\202' in program
cuvintepalindrom.cpp:4:1: error: stray '\342' in program
cuvintepalindrom.cpp:4:1: error: stray '\224' in program
cuvintepalindrom.cpp:4:1: error: stray '\202' in program
cuvintepalindrom.cpp:5:1: error: stray '\342' in program
 hoh                      │4: fdh                                                              │

 ^
cuvintepalindrom.cpp:5:1: error: stray '\224' in program
cuvintepalindrom.cpp:5:1: error: stray '\202' in program
cuvintepalindrom.cpp:5:1: error: stray '\342' in program
cuvintepalindrom.cpp:5:1: error: stray '\224' in program
cuvintepalindrom.cpp:5:1: error: stray '\202' in program
cuvintepalindrom.cpp:6:1: error: stray '\342' in program
 hoh                      │5: dfh                                                              │

 ^
cuvintepalindrom.cpp:6:1: error: stray '\224' in program
cuvintepalindrom.cpp:6:1: error: stray '\202' in program
cuvintepalindrom.cpp:6:1: error: stray '\342' in program
cuvintepalindrom.cpp:6:1: error: stray '\224' in program
cuvintepalindrom.cpp:6:1: error: stray '\202' in program
cuvintepalindrom.cpp:7:1: error: stray '\342' in program
 ih                       │6: edf                                                              │

 ^
cuvintepalindrom.cpp:7:1: error: stray '\224' in program
cuvintepalindrom.cpp:7:1: error: stray '\202' in program
cuvintepalindrom.cpp:7:1: error: stray '\342' in program
cuvintepalindrom.cpp:7:1: error: stray '\224' in program
cuvintepalindrom.cpp:7:1: error: stray '\202' in program
cuvintepalindrom.cpp:8:1: error: stray '\342' in program
 hoh                      │7: hgd                                                              │

 ^
cuvintepalindrom.cpp:8:1: error: stray '\224' in program
cuvintepalindrom.cpp:8:1: error: stray '\202' in program
cuvintepalindrom.cpp:8:1: error: stray '\342' in program
cuvintepalindrom.cpp:8:1: error: stray '\224' in program
cuvintepalindrom.cpp:8:1: error: stray '\202' in program
cuvintepalindrom.cpp:9:1: error: stray '\342' in program
 oh                       │8: fh                                                               │

 ^
cuvintepalindrom.cpp:9:1: error: stray '\224' in program
cuvintepalindrom.cpp:9:1: error: stray '\202' in program
cuvintepalindrom.cpp:9:1: error: stray '\342' in program
cuvintepalindrom.cpp:9:1: error: stray '\224' in program
cuvintepalindrom.cpp:9:1: error: stray '\202' in program
cuvintepalindrom.cpp:10:1: error: stray '\342' in program
 hoh                      │9: h                                                                │

 ^
cuvintepalindrom.cpp:10:1: error: stray '\224' in program
cuvintepalindrom.cpp:10:1: error: stray '\202' in program
cuvintepalindrom.cpp:10:1: error: stray '\342' in program
cuvintepalindrom.cpp:10:1: error: stray '\224' in program
cuvintepalindrom.cpp:10:1: error: stray '\202' in program
cuvintepalindrom.cpp:11:1: error: stray '\342' in program
 i                        │10: ih                                                              │

 ^
cuvintepalindrom.cpp:11:1: error: stray '\224' in program
cuvintepalindrom.cpp:11:1: error: stray '\202' in program
cuvintepalindrom.cpp:11:1: error: stray '\342' in program
cuvintepalindrom.cpp:11:1: error: stray '\224' in program
cuvintepalindrom.cpp:11:1: error: stray '\202' in program
cuvintepalindrom.cpp:12:1: error: stray '\342' in program
 i                        │11: h                                                               │

 ^
cuvintepalindrom.cpp:12:1: error: stray '\224' in program
cuvintepalindrom.cpp:12:1: error: stray '\202' in program
cuvintepalindrom.cpp:12:1: error: stray '\342' in program
cuvintepalindrom.cpp:12:1: error: stray '\224' in program
cuvintepalindrom.cpp:12:1: error: stray '\202' in program
cuvintepalindrom.cpp:13:1: error: stray '\342' in program
 hh                       │12: oh                                                              │

 ^
cuvintepalindrom.cpp:13:1: error: stray '\224' in program
cuvintepalindrom.cpp:13:1: error: stray '\202' in program
cuvintepalindrom.cpp:13:1: error: stray '\342' in program
cuvintepalindrom.cpp:13:1: error: stray '\224' in program
cuvintepalindrom.cpp:13:1: error: stray '\202' in program
cuvintepalindrom.cpp:14:1: error: stray '\342' in program
 hh                       │13: hi                                                              │

 ^
cuvintepalindrom.cpp:14:1: error: stray '\224' in program
cuvintepalindrom.cpp:14:1: error: stray '\202' in program
cuvintepalindrom.cpp:14:1: error: stray '\342' in program
cuvintepalindrom.cpp:14:1: error: stray '\224' in program
cuvintepalindrom.cpp:14:1: error: stray '\202' in program
cuvintepalindrom.cpp:15:1: error: stray '\342' in program
 oh                       │14: h                                                               │

 ^
cuvintepalindrom.cpp:15:1: error: stray '\224' in program
cuvintepalindrom.cpp:15:1: error: stray '\202' in program
cuvintepalindrom.cpp:15:1: error: stray '\342' in program
cuvintepalindrom.cpp:15:1: error: stray '\224' in program
cuvintepalindrom.cpp:15:1: error: stray '\202' in program
cuvintepalindrom.cpp:16:1: error: stray '\342' in program
 hh                       │15: oh                                                              │

 ^
cuvintepalindrom.cpp:16:1: error: stray '\224' in program
cuvintepalindrom.cpp:16:1: error: stray '\202' in program
cuvintepalindrom.cpp:16:1: error: stray '\342' in program
cuvintepalindrom.cpp:16:1: error: stray '\224' in program
cuvintepalindrom.cpp:16:1: error: stray '\202' in program
cuvintepalindrom.cpp:17:1: error: stray '\342' in program
 ih                       │16: ih                                                              │

 ^
cuvintepalindrom.cpp:17:1: error: stray '\224' in program
cuvintepalindrom.cpp:17:1: error: stray '\202' in program
cuvintepalindrom.cpp:17:1: error: stray '\342' in program
cuvintepalindrom.cpp:17:1: error: stray '\224' in program
cuvintepalindrom.cpp:17:1: error: stray '\202' in program
cuvintepalindrom.cpp:18:1: error: stray '\342' in program
 hh                       │17: oh                                                              │

 ^
cuvintepalindrom.cpp:18:1: error: stray '\224' in program
cuvintepalindrom.cpp:18:1: error: stray '\202' in program
cuvintepalindrom.cpp:18:1: error: stray '\342' in program
cuvintepalindrom.cpp:18:1: error: stray '\224' in program
cuvintepalindrom.cpp:18:1: error: stray '\202' in program
cuvintepalindrom.cpp:19:1: error: stray '\342' in program
 oh                       │18: hi                                                              │

 ^
cuvintepalindrom.cpp:19:1: error: stray '\224' in program
cuvintepalindrom.cpp:19:1: error: stray '\202' in program
cuvintepalindrom.cpp:19:1: error: stray '\342' in program
cuvintepalindrom.cpp:19:1: error: stray '\224' in program
cuvintepalindrom.cpp:19:1: error: stray '\202' in program
cuvintepalindrom.cpp:20:1: error: stray '\342' in program
 hh                       │19: h
 ^
cuvintepalindrom.cpp:20:1: error: stray '\224' in program
cuvintepalindrom.cpp:20:1: error: stray '\202' in program
cuvintepalindrom.cpp:1:4: error: expected unqualified-id before numeric constant
 │0: oi prieteni analizeaza un capac aerisirea   e ok   radar e radar │

    ^

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

Problema CuvintePalindrom face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

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ă.