Pagini recente » Borderou de evaluare (job #2472753) | Cod sursa (job #815309) | Borderou de evaluare (job #2966491) | Cod sursa (job #132412) | Borderou de evaluare (job #2826255)
Borderou de evaluare (job #2826255)
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:105:24: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
105 | if (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 | 2ms | 184kb | Incorect | 0 |
✓ | 5 | 2ms | 184kb | Incorect | 0 |
✓ | 6 | 2ms | 184kb | OK | 10 |
✓ | 7 | 2ms | 184kb | Incorect | 0 |
✓ | 8 | 11ms | 335kb | Incorect | 0 |
✓ | 9 | 11ms | 348kb | Incorect | 0 |
✓ | 10 | 117ms | 1269kb | Incorect | 0 |
Punctaj total | 30 |