#215
Scrieţi un program care citeşte de la tastatură un număr natural nenul n cu exact 5 cifre şi construieşte un tablou bidimensional completat cu cifrele numărului citit, după o regulă precizată.
Variante Bacalaureat 2009
| Problema | GenMat6 | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #43119870 | Utilizator | |
| Fișier | genmat6.java | Dimensiune | 2.27 KB |
| Data încărcării | 01 Aprilie 2023, 14:49 | Scor/rezultat | Eroare de compilare |
genmat6.java:4: error: <identifier> expected public class import java.io.*; ^ genmat6.java:4: error: <identifier> expected public class import java.io.*; ^ genmat6.java:5: error: illegal start of type import java.util.*; ^ genmat6.java:5: error: ';' expected import java.util.*; ^ genmat6.java:5: error: illegal start of type import java.util.*; ^ genmat6.java:5: error: ';' expected import java.util.*; ^ genmat6.java:48: error: illegal start of expression public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: illegal start of expression public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: ';' expected public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: '.class' expected public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: ';' expected public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: illegal start of expression public static void main(String[] args) throws IOException { ^ genmat6.java:48: error: ';' expected public static void main(String[] args) throws IOException { ^ genmat6.java:85: error: reached end of file while parsing } ^ 14 errors
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema GenMat6 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ă.