#90
NumarMaximVocale
Să se scrie un program care citește mai multe propoziții și determină propoziția cu cele mai multe vocale
Problema | NumarMaximVocale | Operații I/O |
vocmax.in /vocmax.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53343071 | Utilizator | |
Fișier | numarmaximvocale.cpp | Dimensiune | 745 B |
Data încărcării | 25 Octombrie 2024, 09:40 | Scor / rezultat | Eroare de compilare |
numarmaximvocale.cpp: In function 'int main()': numarmaximvocale.cpp:14:5: error: 'cin' was not declared in this scope cin>>> vag:: ^ numarmaximvocale.cpp:14:5: note: suggested alternative: In file included from numarmaximvocale.cpp:9:0: /usr/include/c++/4.8/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ numarmaximvocale.cpp:14:10: error: expected primary-expression before '>' token cin>>> vag:: ^ numarmaximvocale.cpp:14:12: error: 'vag' has not been declared cin>>> vag:: ^ numarmaximvocale.cpp:15:11: error: 'ckui' was not declared in this scope cofn>>ckui; ^ numarmaximvocale.cpp:16:5: error: expected primary-expression before '==' token ==b9u42; ^ numarmaximvocale.cpp:16:7: error: 'b9u42' was not declared in this scope ==b9u42; ^ numarmaximvocale.cpp:17:8: error: 'jytr' was not declared in this scope if(jytr><jkhewiuywwg) ^ numarmaximvocale.cpp:17:13: error: expected primary-expression before '<' token if(jytr><jkhewiuywwg) ^ numarmaximvocale.cpp:17:14: error: 'jkhewiuywwg' was not declared in this scope if(jytr><jkhewiuywwg) ^ numarmaximvocale.cpp:18:5: error: 'glkmdf' was not declared in this scope glkmdf>>NULL; ^ numarmaximvocale.cpp:19:9: warning: statement has no effect [-Wunused-value] true; ^ numarmaximvocale.cpp:20:5: error: declaration does not declare anything [-fpermissive] bool; ^ numarmaximvocale.cpp:21:11: error: 'blool' was not declared in this scope while(blool==grecuu==pcpcpcpcpcpcpcmerchanty ^ numarmaximvocale.cpp:21:18: error: 'grecuu' was not declared in this scope while(blool==grecuu==pcpcpcpcpcpcpcmerchanty ^ numarmaximvocale.cpp:21:26: error: 'pcpcpcpcpcpcpcmerchanty' was not declared in this scope while(blool==grecuu==pcpcpcpcpcpcpcmerchanty ^ numarmaximvocale.cpp:23:5: error: 'p' was not declared in this scope p*p=190999; ^ numarmaximvocale.cpp:24:5: error: 'sirdecaractere' was not declared in this scope sirdecaractere=NULL; ^ numarmaximvocale.cpp:25:5: error: expected primary-expression before '==' token ==prim; ^ numarmaximvocale.cpp:25:7: error: 'prim' was not declared in this scope ==prim; ^ numarmaximvocale.cpp:26:10: error: expected unqualified-id before numeric constant bool 0 return 5-; ^ numarmaximvocale.cpp:27:5: error: 'cout' was not declared in this scope cout<<"regele cezar";; ^ numarmaximvocale.cpp:27:5: note: suggested alternative: In file included from numarmaximvocale.cpp:9:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ numarmaximvocale.cpp:28:7: error: expected primary-expression before ';' token ++; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema NumarMaximVocale 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ă.