#291
VerifNrParCifre
Se dă un şir cu n
elemente, numere naturale. Să se verifice dacă toate elementele şirului au număr par de cifre.
Problema | VerifNrParCifre | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #50459170 | Utilizator | |
Fișier | verifnrparcifre.cpp | Dimensiune | 1.18 KB |
Data încărcării | 10 Aprilie 2024, 12:36 | Scor / rezultat | Eroare de compilare |
verifnrparcifre.cpp:1:7: error: expected nested-name-specifier before 'System' using System; ^ verifnrparcifre.cpp:1:7: error: 'System' has not been declared verifnrparcifre.cpp:2:7: error: expected nested-name-specifier before 'System' using System.Collections; ^ verifnrparcifre.cpp:2:7: error: 'System' has not been declared verifnrparcifre.cpp:2:13: error: expected ';' before '.' token using System.Collections; ^ verifnrparcifre.cpp:2:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:3:7: error: expected nested-name-specifier before 'System' using System.Collections.Generic; ^ verifnrparcifre.cpp:3:7: error: 'System' has not been declared verifnrparcifre.cpp:3:13: error: expected ';' before '.' token using System.Collections.Generic; ^ verifnrparcifre.cpp:3:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:4:7: error: expected nested-name-specifier before 'System' using System.Linq; ^ verifnrparcifre.cpp:4:7: error: 'System' has not been declared verifnrparcifre.cpp:4:13: error: expected ';' before '.' token using System.Linq; ^ verifnrparcifre.cpp:4:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:5:7: error: expected nested-name-specifier before 'System' using System.Runtime.InteropServices; ^ verifnrparcifre.cpp:5:7: error: 'System' has not been declared verifnrparcifre.cpp:5:13: error: expected ';' before '.' token using System.Runtime.InteropServices; ^ verifnrparcifre.cpp:5:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:6:7: error: expected nested-name-specifier before 'System' using System.Text; ^ verifnrparcifre.cpp:6:7: error: 'System' has not been declared verifnrparcifre.cpp:6:13: error: expected ';' before '.' token using System.Text; ^ verifnrparcifre.cpp:6:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:7:7: error: expected nested-name-specifier before 'System' using System.Threading.Tasks; ^ verifnrparcifre.cpp:7:7: error: 'System' has not been declared verifnrparcifre.cpp:7:13: error: expected ';' before '.' token using System.Threading.Tasks; ^ verifnrparcifre.cpp:7:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:8:7: error: expected nested-name-specifier before 'System' using System.Xml; ^ verifnrparcifre.cpp:8:7: error: 'System' has not been declared verifnrparcifre.cpp:8:13: error: expected ';' before '.' token using System.Xml; ^ verifnrparcifre.cpp:8:13: error: expected unqualified-id before '.' token verifnrparcifre.cpp:12:5: error: 'internal' does not name a type internal class Program ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema VerifNrParCifre 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ă.