Problema | Numere Mari | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #41816614 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 2.11 KB |
Data încărcării | 05 Februarie 2023, 15:56 | Scor / rezultat | Eroare de compilare |
numere_mari.cpp:47:43: error: expected ';' at end of member declaration big_int operator - (const big_int& b) const ^ numere_mari.cpp:52:7: error: expected nested-name-specifier before 'namespace' using namespace std; ^ numere_mari.cpp:52:7: error: expected unqualified-id before 'namespace' numere_mari.cpp:52:7: error: expected ';' before 'namespace' numere_mari.cpp:52:7: error: expected unqualified-id before 'namespace' numere_mari.cpp:74:5: error: expected unqualified-id before '{' token { ^ numere_mari.cpp: In member function 'big_int::operator std::string() const': numere_mari.cpp:26:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In function 'bool operator==(const big_int&, const big_int&)': numere_mari.cpp:30:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In function 'bool operator<(const big_int&, const big_int&)': numere_mari.cpp:34:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::abs() const': numere_mari.cpp:38:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator-() const': numere_mari.cpp:42:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator+(const big_int&) const': numere_mari.cpp:46:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator*(const big_int&) const': numere_mari.cpp:80:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator/(const big_int&) const': numere_mari.cpp:84:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In member function 'big_int big_int::operator%(const big_int&) const': numere_mari.cpp:88:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In function 'std::istream& operator>>(std::istream&, big_int&)': numere_mari.cpp:92:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In function 'std::ostream& operator<<(std::ostream&, const big_int&)': numere_mari.cpp:96:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numere Mari face parte din a doua categorie. Pentru aceste probleme se folosește un program suport, furnizat de propunătorul problemei. 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ă.