#106
minim3
Să se scrie un program care determină minimul a trei numere întregi.
Problema | minim3 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54334713 | Utilizator | |
Fișier | minim3.cpp | Dimensiune | 224 B |
Data încărcării | 26 Noiembrie 2024, 08:24 | Scor / rezultat | Eroare de compilare |
minim3.cpp:3:17: error: 'STD' is not a namespace-name using namespace STD; ^ minim3.cpp:3:20: error: expected namespace-name before ';' token using namespace STD; ^ minim3.cpp: In function 'int main()': minim3.cpp:7:5: error: 'cin' was not declared in this scope cin>>a>>b>>c; ^ minim3.cpp:7:5: note: suggested alternative: In file included from minim3.cpp:1:0: /usr/include/c++/4.8/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ minim3.cpp:9:9: error: 'cout' was not declared in this scope cout<<a; ^ minim3.cpp:9:9: note: suggested alternative: In file included from minim3.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ minim3.cpp:11:9: error: 'cout' was not declared in this scope cout << b; ^ minim3.cpp:11:9: note: suggested alternative: In file included from minim3.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ minim3.cpp:13:9: error: 'cout' was not declared in this scope cout<<c; ^ minim3.cpp:13:9: note: suggested alternative: In file included from minim3.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema minim3 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ă.