Pagini recente » Borderou de evaluare (job #2879435) | Borderou de evaluare (job #1401167) | Borderou de evaluare (job #2002792) | Borderou de evaluare (job #2915036) | Borderou de evaluare (job #3262110)
Borderou de evaluare (job #3262110)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:201:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for ( i = 0; i < comba[soli].size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:203:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
203 | for ( i = 0; i < combb[solj].size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:149:12: warning: unused variable 'x' [-Wunused-variable]
149 | int i, x, j;
| ^
main.cpp: In function 'bool cmp(ura, ura)':
main.cpp:128:1: warning: control reaches end of non-void function [-Wreturn-type]
128 | }
| ^
In file included from /usr/include/c++/12.2.1/vector:64,
from main.cpp:2:
In member function 'constexpr std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>]',
inlined from 'int main()' at main.cpp:203:42:
/usr/include/c++/12.2.1/bits/stl_vector.h:988:66: warning: 'solj' may be used uninitialized [-Wmaybe-uninitialized]
988 | { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
| ~~~~~~~~~~~~~~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:179:15: note: 'solj' was declared here
179 | int soli, solj, sol = n + 12;
| ^~~~
In member function 'constexpr std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>]',
inlined from 'int main()' at main.cpp:201:42:
/usr/include/c++/12.2.1/bits/stl_vector.h:988:66: warning: 'soli' may be used uninitialized [-Wmaybe-uninitialized]
988 | { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
| ~~~~~~~~~~~~~~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:179:9: note: 'soli' was declared here
179 | int soli, solj, sol = n + 12;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 2654kb | OK! | 10 |
2 | 3ms | 2654kb | OK! | 10 |
3 | 3ms | 2654kb | OK! | 10 |
4 | 3ms | 2654kb | OK! | 10 |
5 | 19ms | 7897kb | OK! | 10 |
6 | 88ms | 19202kb | OK! | 10 |
7 | 88ms | 19234kb | OK! | 10 |
8 | 107ms | 25645kb | OK! | 10 |
9 | 112ms | 25645kb | OK! | 10 |
10 | 108ms | 25452kb | OK! | 10 |
Punctaj total | 100 |