Borderou de evaluare (job #3284210)
Raport evaluator
Compilare:
main.cpp: In function 'void completeaza(int)':
main.cpp:51:32: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
51 | if(judet[i].size() > maxi){
| ~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/12.2.1/map:60,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:81,
from main.cpp:1:
In member function 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(const_iterator) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]',
inlined from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(const_iterator, const_iterator) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_tree.h:2509:16,
inlined from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::erase(const _Key&) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_tree.h:2520:19,
inlined from 'std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::erase(const key_type&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_set.h:685:26,
inlined from 'void completeaza(int)' at main.cpp:65:17:
/usr/include/c++/12.2.1/bits/stl_tree.h:2496:7: warning: 'jud' may be used uninitialized [-Wmaybe-uninitialized]
2496 | --_M_impl._M_node_count;
| ^~
main.cpp: In function 'void completeaza(int)':
main.cpp:45:14: note: 'jud' was declared here
45 | int i,maxi=0,jud;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |