Borderou de evaluare (job #3257852)

Utilizator tudor_costinCostin Tudor tudor_costin Data 19 noiembrie 2024 18:18:41
Problema Domino Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for(int i=1;i<ciclu.size();i++) | ~^~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_iterator.h:85, from /usr/include/c++/12.2.1/bits/stl_algobase.h:67, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41, 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 'void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_deque.h:1543:30, inlined from 'void std::stack<_Tp, _Sequence>::push(const value_type&) [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]' at /usr/include/c++/12.2.1/bits/stl_stack.h:261:20, inlined from 'int main()' at main.cpp:40:12: /usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'start' may be used uninitialized [-Wmaybe-uninitialized] 97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:14:9: note: 'start' was declared here 14 | int start; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbToo few lines!0
20ms303kbToo few lines!0
30ms303kbAll OK!5
40ms303kbAll OK!5
57ms2506kbAll OK!5
67ms2482kbToo few lines!0
78ms2555kbAll OK!5
87ms2519kbToo few lines!0
97ms2203kbToo few lines!0
104ms1605kbAll OK!5
110ms303kbToo few lines!0
120ms303kbToo few lines!0
130ms303kbToo few lines!0
140ms303kbAll OK!5
150ms303kbAll OK!5
160ms303kbAll OK!5
170ms303kbAll OK!5
182ms819kbAll OK!5
196ms1732kbAll OK!5
207ms2256kbAll OK!5
Punctaj total60

Ceva nu functioneaza?