#892
Pasareste1
Limba păsărească este foarte simplă; și asemănătoare cu limba română! Un text scris în română se traduce în păsărește astfel: după fiecare vocală se inserează litera p
și vocala respectivă.
Se dă o propoziție scrisă în limba păsărească. Să se traducă în limba română.
Problema | Pasareste1 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #21487260 | Utilizator | |
Fișier | pasareste1.cpp | Dimensiune | 518 B |
Data încărcării | 02 Martie 2020, 23:58 | Scor / rezultat | Eroare de compilare |
pasareste1.cpp:13:1: error: stray '\302' in program cin.getline(s,sizeof(s)); ^ pasareste1.cpp:13:1: error: stray '\240' in program pasareste1.cpp:13:1: error: stray '\302' in program pasareste1.cpp:13:1: error: stray '\240' in program pasareste1.cpp:15:1: error: stray '\302' in program n = strlen(s); ^ pasareste1.cpp:15:1: error: stray '\240' in program pasareste1.cpp:15:1: error: stray '\302' in program pasareste1.cpp:15:1: error: stray '\240' in program pasareste1.cpp:17:1: error: stray '\302' in program for(i = 0; i < n; i ++) ^ pasareste1.cpp:17:1: error: stray '\240' in program pasareste1.cpp:17:1: error: stray '\302' in program pasareste1.cpp:17:1: error: stray '\240' in program pasareste1.cpp:19:1: error: stray '\302' in program { ^ pasareste1.cpp:19:1: error: stray '\240' in program pasareste1.cpp:19:1: error: stray '\302' in program pasareste1.cpp:19:1: error: stray '\240' in program pasareste1.cpp:21:1: error: stray '\302' in program if(strchr("aeiou",s[i])) ^ pasareste1.cpp:21:1: error: stray '\240' in program pasareste1.cpp:21:1: error: stray '\302' in program pasareste1.cpp:21:1: error: stray '\240' in program pasareste1.cpp:21:1: error: stray '\302' in program pasareste1.cpp:21:1: error: stray '\240' in program pasareste1.cpp:21:1: error: stray '\302' in program pasareste1.cpp:21:1: error: stray '\240' in program pasareste1.cpp:23:1: error: stray '\302' in program { ^ pasareste1.cpp:23:1: error: stray '\240' in program pasareste1.cpp:23:1: error: stray '\302' in program pasareste1.cpp:23:1: error: stray '\240' in program pasareste1.cpp:23:1: error: stray '\302' in program pasareste1.cpp:23:1: error: stray '\240' in program pasareste1.cpp:23:1: error: stray '\302' in program pasareste1.cpp:23:1: error: stray '\240' in program pasareste1.cpp:23:1: error: stray '\302' in program pasareste1.cpp:23:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program t[j ++] = s[i]; ^ pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:25:1: error: stray '\302' in program pasareste1.cpp:25:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program t[j ++] = 'p'; ^ pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:27:1: error: stray '\302' in program pasareste1.cpp:27:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program t[j ++] = s[i]; ^ pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:29:1: error: stray '\302' in program pasareste1.cpp:29:1: error: stray '\240' in program pasareste1.cpp:31:1: error: stray '\302' in program } else ^ pasareste1.cpp:31:1: error: stray '\240' in program pasareste1.cpp:31:1: error: stray '\302' in program pasareste1.cpp:31:1: error: stray '\240' in program pasareste1.cpp:31:1: error: stray '\302' in program pasareste1.cpp:31:1: error: stray '\240' in program pasareste1.cpp:31:1: error: stray '\302' in program pasareste1.cpp:31:1: error: stray '\240' in program pasareste1.cpp:31:1: error: stray '\302' in program pasareste1.cpp:31:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program t[j ++] = s[i]; ^ pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:33:1: error: stray '\302' in program pasareste1.cpp:33:1: error: stray '\240' in program pasareste1.cpp:35:1: error: stray '\302' in program } ^ pasareste1.cpp:35:1: error: stray '\240' in program pasareste1.cpp:35:1: error: stray '\302' in program pasareste1.cpp:35:1: error: stray '\240' in program pasareste1.cpp:37:1: error: stray '\302' in program for(i = 0; i < j; i ++) ^ pasareste1.cpp:37:1: error: stray '\240' in program pasareste1.cpp:39:1: error: stray '\302' in program cout << t[i]; ^ pasareste1.cpp:39:1: error: stray '\240' in program pasareste1.cpp:39:1: error: stray '\302' in program pasareste1.cpp:39:1: error: stray '\240' in program pasareste1.cpp:41:1: error: stray '\302' in program return 0; ^ pasareste1.cpp:41:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Pasareste1 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ă.