Borderou de evaluare (job #3251023)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 24 octombrie 2024 16:46:32
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:62:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 62 | for(auto e : s) cout << e << " "; cout << '\n'; | ^~~ main.cpp:22:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | #define cout out | ^~~ main.cpp:62:39: note: in expansion of macro 'cout' 62 | for(auto e : s) cout << e << " "; cout << '\n'; | ^~~~ In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/12.2.1/bits/allocator.h:46, from /usr/include/c++/12.2.1/string:41, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/sstream:38, from /usr/include/c++/12.2.1/complex:45, from /usr/include/c++/12.2.1/ccomplex:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54, from main.cpp:3: In member function 'void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = __gnu_cxx::_Rope_RopeConcatenation<int, std::allocator<int> >]', inlined from 'constexpr void std::allocator< <template-parameter-1-1> >::deallocate(_Tp*, std::size_t) [with _Tp = __gnu_cxx::_Rope_RopeConcatenation<int, std::allocator<int> >]' at /usr/include/c++/12.2.1/bits/allocator.h:200:35, inlined from 'static void __gnu_cxx::_Rope_base<_CharT, _Alloc>::_C_deallocate(__C*, std::size_t) [with _CharT = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/ext/rope:1528:7, inlined from 'static __gnu_cxx::rope<_CharT, _Alloc>::_RopeRep* __gnu_cxx::rope<_CharT, _Alloc>::_S_tree_concat(_RopeRep*, _RopeRep*) [with _CharT = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/ext/ropeimpl.h:511:27: /usr/include/c++/12.2.1/bits/new_allocator.h:158:33: warning: 'void operator delete(void*, std::size_t)' called on unallocated object 'buf' [-Wfree-nonheap-object] 158 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); | ^ main.cpp: In static member function 'static __gnu_cxx::rope<_CharT, _Alloc>::_RopeRep* __gnu_cxx::rope<_CharT, _Alloc>::_S_tree_concat(_RopeRep*, _RopeRep*) [with _CharT = int; _Alloc = std::allocator<int>]': main.cpp:10:13: note: declared here 10 | static char buf[48 << 20]; | ^~~ In member function 'void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = int]', inlined from 'constexpr void std::allocator< <template-parameter-1-1> >::deallocate(_Tp*, std::size_t) [with _Tp = int]' at /usr/include/c++/12.2.1/bits/allocator.h:200:35, inlined from 'static void __gnu_cxx::_Rope_RopeRep<_CharT, _Alloc>::_S_free_string(_CharT*, std::size_t, allocator_type&) [with _CharT = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/ext/ropeimpl.h:356:21, inlined from 'static __gnu_cxx::rope<_CharT, _Alloc>::_RopeRep* __gnu_cxx::rope<_CharT, _Alloc>::_S_substring(_RopeRep*, std::size_t, std::size_t) [with _CharT = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/ext/ropeimpl.h:821:13: /usr/include/c++/12.2.1/bits/new_allocator.h:158:33: warning: 'void operator delete(void*, std::size_t)' called on unallocated object 'buf' [-Wfree-nonheap-object] 158 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); | ^ main.cpp: In static member function 'static __gnu_cxx::rope<_CharT, _Alloc>::_RopeRep* __gnu_cxx::rope<_CharT, _Alloc>::_S_substring(_RopeRep*, std::size_t, std::size_t) [with _CharT = int; _Alloc = std::allocator<int>]': main.cpp:10:13: note: declared here 10 | static char buf[48 << 20]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms13402kbOK5
250ms50790kbKilled by Signal 110
350ms50798kbKilled by Signal 110
452ms50790kbKilled by Signal 110
551ms50757kbKilled by Signal 110
652ms50765kbKilled by Signal 110
752ms50757kbKilled by Signal 110
850ms50790kbKilled by Signal 110
950ms50794kbKilled by Signal 110
1049ms50765kbKilled by Signal 110
1149ms50769kbKilled by Signal 110
1248ms50794kbKilled by Signal 110
1348ms50765kbKilled by Signal 110
1448ms50802kbKilled by Signal 110
1549ms50790kbKilled by Signal 110
1648ms50786kbKilled by Signal 110
1749ms50778kbKilled by Signal 110
1849ms50769kbKilled by Signal 110
1949ms50761kbKilled by Signal 110
2050ms50798kbKilled by Signal 110
Punctaj total5

Ceva nu functioneaza?