Pagini recente » Borderou de evaluare (job #3287422) | Borderou de evaluare (job #1153662) | Borderou de evaluare (job #3289237) | Borderou de evaluare (job #2282618) | Borderou de evaluare (job #3287155)
Borderou de evaluare (job #3287155)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int i=0;i<siruri[index].v.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/vector:64,
from /usr/include/c++/12.2.1/functional:62,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:71,
from main.cpp:1:
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:50:39:
/usr/include/c++/12.2.1/bits/stl_vector.h:988:66: warning: 'index' 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:28:20: note: 'index' was declared here
28 | int n,x,lmax=0,index;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 303kb | Corect! | 10 | 10 |
2 | 1ms | 303kb | Corect! | 10 | 10 |
3 | 0ms | 303kb | Lungime incorecta! | 0 | 0 |
4 | 0ms | 303kb | Lungime incorecta! | 0 | 0 |
5 | 0ms | 303kb | Lungime incorecta! | 0 | 0 |
6 | 1ms | 303kb | Lungime incorecta! | 0 | 0 |
7 | 1ms | 303kb | Lungime incorecta! | 0 | 0 |
8 | 9ms | 716kb | Lungime incorecta! | 0 | 0 |
9 | 8ms | 4673kb | Corect! | 10 |
10 | 9ms | 819kb | Lungime incorecta! | 0 |
Punctaj total | 20 |