Pagini recente » Borderou de evaluare (job #743033) | Borderou de evaluare (job #1255611) | Borderou de evaluare (job #978778) | Borderou de evaluare (job #103432) | Borderou de evaluare (job #2826179)
Borderou de evaluare (job #2826179)
Raport evaluator
Compilare:
main.cpp: In function 'long long int TransInNr(std::string)':
main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < x.length(); i++)
| ~~^~~~~~~~~~~~
main.cpp: In function 'bool EsteInt(std::string)':
main.cpp:31:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
31 | if (x[0] == '-')
| ^
main.cpp: In function 'int main()':
main.cpp:53:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if (c.length() == gigel1)
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:62:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | else if (c.length() < gigel1)
| ~~~~~~~~~~~^~~~~~~~
main.cpp:77:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
77 | if (b.length() == gigel1)
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:86:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
86 | if (c.length() == gigel2)
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:95:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
95 | else if (b.length() < gigel1 && c.length() < gigel2)
| ~~~~~~~~~~~^~~~~~~~
main.cpp:95:56: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
95 | else if (b.length() < gigel1 && c.length() < gigel2)
| ~~~~~~~~~~~^~~~~~~~
main.cpp:117:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
117 | if (b.length() == gigel1)
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:126:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
126 | if (c.length() == gigel2)
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:135:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
135 | else if (b.length() < gigel1 && c.length() < gigel2)
| ~~~~~~~~~~~^~~~~~~~
main.cpp:135:56: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
135 | else if (b.length() < gigel1 && c.length() < gigel2)
| ~~~~~~~~~~~^~~~~~~~
main.cpp:148:24: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
148 | S += l * t;
| ~~^~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 2ms | 184kb | OK | 10 |
✓ | 2 | 2ms | 184kb | OK | 10 |
✓ | 3 | 2ms | 184kb | Incorect | 0 |
✓ | 4 | 1ms | 184kb | Incorect | 0 |
✓ | 5 | 2ms | 184kb | Incorect | 0 |
✓ | 6 | 2ms | 184kb | OK | 10 |
✓ | 7 | 2ms | 184kb | Incorect | 0 |
✓ | 8 | 16ms | 352kb | Incorect | 0 |
✓ | 9 | 16ms | 352kb | Incorect | 0 |
✓ | 10 | 175ms | 1654kb | Incorect | 0 |
Punctaj total | 30 |