Pagini recente » Borderou de evaluare (job #2955735) | Borderou de evaluare (job #272058) | Borderou de evaluare (job #1948949) | Borderou de evaluare (job #1737571) | Borderou de evaluare (job #2964460)
Borderou de evaluare (job #2964460)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int j = 0; j < strlen(p); ++j) {
| ~~^~~~~~~~~~~
main.cpp:55:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
55 | if ('0' <= p[j] && p[j] <= '9' || p[j] == '-') {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:70:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int k = 0; k < tempP.size(); ++k) {
| ~~^~~~~~~~~~~~~~
main.cpp:88:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for (int j = 0; j < array.size(); ++j) {
| ~~^~~~~~~~~~~~~~
main.cpp:98:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
98 | for (int j = startIndex + 1; j < array.size(); ++j) {
| ~~^~~~~~~~~~~~~~
main.cpp:105:21: warning: unused variable 'temptest' [-Wunused-variable]
105 | int temptest = tempArray.size();
| ^~~~~~~~
main.cpp:117:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for (int i = 0; i < array.size(); ++i) {
| ~~^~~~~~~~~~~~~~
main.cpp:94:9: warning: unused variable 'tempTotal' [-Wunused-variable]
94 | int tempTotal = totalNumber;
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 5 |
2 | 0ms | 184kb | OK | 5 |
3 | 0ms | 184kb | Primul numar corect | 1 |
4 | 0ms | 184kb | OK | 5 |
5 | 4ms | 577kb | Primul numar corect | 1 |
6 | 14ms | 577kb | Primul numar corect | 1 |
7 | 302ms | 4780kb | Time limit exceeded | 0 |
8 | 3ms | 577kb | Primul numar corect | 1 |
9 | 0ms | 184kb | Primul numar corect | 1 |
10 | 0ms | 184kb | Primul numar corect | 1 |
11 | 3ms | 1486kb | Primul numar corect | 1 |
12 | 2ms | 1617kb | Primul numar corect | 1 |
13 | 8ms | 1523kb | OK | 5 |
14 | 0ms | 184kb | Primul numar corect | 1 |
15 | 4ms | 1617kb | OK | 5 |
16 | 7ms | 2666kb | Primul numar corect | 1 |
17 | 29ms | 2670kb | Primul numar corect | 1 |
18 | 305ms | 2662kb | Time limit exceeded | 0 |
19 | 13ms | 1617kb | Primul numar corect | 1 |
20 | 5ms | 1617kb | Primul numar corect | 1 |
Punctaj total | 38 |