Pagini recente » Borderou de evaluare (job #3134678) | Borderou de evaluare (job #542385) | Borderou de evaluare (job #2457729) | Borderou de evaluare (job #813202) | Borderou de evaluare (job #2827220)
Borderou de evaluare (job #2827220)
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:107:21: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
107 | Tig += 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 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | OK | 10 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 11ms | 323kb | Incorect | 0 |
9 | 11ms | 331kb | Incorect | 0 |
10 | 127ms | 1642kb | Incorect | 0 |
Punctaj total | 30 |