Borderou de evaluare (job #811004)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numar3 | Compilator | cpp-32 |
Rundă | lasm_22_02_2025_clasa10_11 | Status | evaluat |
Dată | 22 feb. 2025 17:45:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::string gcd(std::string, std::string)':
main.cpp:13:20: error: 'modBigIntegers' was not declared in this scope
13 | string r = modBigIntegers(a, b);
| ^~~~~~~~~~~~~~
main.cpp: In function 'std::string modBigIntegers(std::string, std::string)':
main.cpp:23:12: error: 'compareBigIntegers' was not declared in this scope; did you mean 'modBigIntegers'?
23 | while (compareBigIntegers(a, b) >= 0) {
| ^~~~~~~~~~~~~~~~~~
| modBigIntegers
main.cpp:24:13: error: 'subtractBigIntegers' was not declared in this scope
24 | a = subtractBigIntegers(a, b);
| ^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'std::string divideBigInteger(std::string, int)':
main.cpp:69:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare]
69 | while (number.size() > idx) {
| ~~~~~~~~~~~~~~^~~~~