Pagini recente » Borderou de evaluare (job #2505240) | Borderou de evaluare (job #3218207) | Borderou de evaluare (job #1924560) | Borderou de evaluare (job #1186888) | Borderou de evaluare (job #3202151)
Borderou de evaluare (job #3202151)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:21: warning: unused variable 'prim' [-Wunused-variable]
21 | int prim =x;
| ^~~~
In file included from /usr/include/c++/12.2.1/bits/char_traits.h:46,
from /usr/include/c++/12.2.1/ios:40,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/fstream:38,
from main.cpp:1:
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1281:30,
inlined from 'int main()' at main.cpp:26:26:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'prim' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:17:22: note: 'prim' was declared here
17 | int curr = 0,prim;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 303kb | OK | 10 | 0 |
2 | 1ms | 303kb | OK | 10 |
3 | 1ms | 303kb | OK | 10 |
4 | 1ms | 303kb | OK | 10 |
5 | 2ms | 303kb | OK | 10 |
6 | 4ms | 303kb | OK | 10 |
7 | 9ms | 303kb | Incorect | 0 |
8 | 14ms | 409kb | OK | 10 |
9 | 14ms | 303kb | Incorect | 0 |
10 | 14ms | 303kb | Incorect | 0 |
Punctaj total | 0 |