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 | #51526915 | Utilizator | |
Fișier | numere_mari.cpp | Dimensiune | 2.05 KB |
Data încărcării | 04 Iulie 2024, 23:06 | Scor / rezultat | Eroare de compilare |
numere_mari.cpp: In member function 'big_int::operator std::string() const': 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 function 'bool operator<(const big_int&, const big_int&)': 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::abs() 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': 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:50: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:54: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:58: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:62: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:66: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:70: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:74:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ numere_mari.cpp: In function 'int main()': numere_mari.cpp:97:5: error: redefinition of 'int main()' int main() ^ numere_mari.cpp:77:5: error: 'int main()' previously defined here int main() ^
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ă.