#7
maxim2
Să se scrie un program care determină maximul a două numere întregi citite dintr-un fişier.
Problema | maxim2 | Operații I/O |
maxim.in /maxim.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53676944 | Utilizator | |
Fișier | maxim2.cpp | Dimensiune | 2.03 KB |
Data încărcării | 08 Noiembrie 2024, 08:46 | Scor / rezultat | Eroare de compilare |
maxim2.cpp:1:7: error: expected nested-name-specifier before 'System' using System; ^ maxim2.cpp:1:7: error: 'System' has not been declared maxim2.cpp:2:7: error: expected nested-name-specifier before 'System' using System.Collections.Generic; ^ maxim2.cpp:2:7: error: 'System' has not been declared maxim2.cpp:2:13: error: expected ';' before '.' token using System.Collections.Generic; ^ maxim2.cpp:2:13: error: expected unqualified-id before '.' token maxim2.cpp:3:7: error: expected nested-name-specifier before 'System' using System.ComponentModel; ^ maxim2.cpp:3:7: error: 'System' has not been declared maxim2.cpp:3:13: error: expected ';' before '.' token using System.ComponentModel; ^ maxim2.cpp:3:13: error: expected unqualified-id before '.' token maxim2.cpp:4:7: error: expected nested-name-specifier before 'System' using System.Data; ^ maxim2.cpp:4:7: error: 'System' has not been declared maxim2.cpp:4:13: error: expected ';' before '.' token using System.Data; ^ maxim2.cpp:4:13: error: expected unqualified-id before '.' token maxim2.cpp:5:7: error: expected nested-name-specifier before 'System' using System.Drawing; ^ maxim2.cpp:5:7: error: 'System' has not been declared maxim2.cpp:5:13: error: expected ';' before '.' token using System.Drawing; ^ maxim2.cpp:5:13: error: expected unqualified-id before '.' token maxim2.cpp:6:7: error: expected nested-name-specifier before 'System' using System.Linq; ^ maxim2.cpp:6:7: error: 'System' has not been declared maxim2.cpp:6:13: error: expected ';' before '.' token using System.Linq; ^ maxim2.cpp:6:13: error: expected unqualified-id before '.' token maxim2.cpp:7:7: error: expected nested-name-specifier before 'System' using System.Text; ^ maxim2.cpp:7:7: error: 'System' has not been declared maxim2.cpp:7:13: error: expected ';' before '.' token using System.Text; ^ maxim2.cpp:7:13: error: expected unqualified-id before '.' token maxim2.cpp:8:7: error: expected nested-name-specifier before 'System' using System.Threading.Tasks; ^ maxim2.cpp:8:7: error: 'System' has not been declared maxim2.cpp:8:13: error: expected ';' before '.' token using System.Threading.Tasks; ^ maxim2.cpp:8:13: error: expected unqualified-id before '.' token maxim2.cpp:9:7: error: expected nested-name-specifier before 'System' using System.Windows.Forms; ^ maxim2.cpp:9:7: error: 'System' has not been declared maxim2.cpp:9:13: error: expected ';' before '.' token using System.Windows.Forms; ^ maxim2.cpp:9:13: error: expected unqualified-id before '.' token maxim2.cpp:13:5: error: expected unqualified-id before 'public' public partial class Form1 : Form ^ maxim2.cpp:83:1: error: expected '}' at end of input } ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema maxim2 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ă.