Borderou de evaluare (job #3314558)

Utilizator amalia_ghicaAmalia Ghica amalia_ghica Data 10 octombrie 2025 13:02:53
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:50:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for(int i = 0; i < s.size(); i++){ | ~~^~~~~~~~~~ main.cpp:65:71: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | if(mat[l][c][0] == 0 && mat[l][c][dcur] == 0 && i == (s.size() - 1)){ | ~~^~~~~~~~~~~~~~~~~ main.cpp:48:9: warning: unused variable 'd' [-Wunused-variable] 48 | int d, dcur, ok; | ^ main.cpp: In function 'int dir(char)': main.cpp:14:1: warning: control reaches end of non-void function [-Wreturn-type] 14 | } | ^ In file included from /usr/include/c++/12.2.1/functional:54, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:71, from main.cpp:1: In constructor 'constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = int&; long unsigned int _Idx = 1; _Head = int]', inlined from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(_UHead&&, _UTail&& ...) [with _UHead = int&; _UTail = {int}; <template-parameter-2-3> = void; long unsigned int _Idx = 1; _Head = int; _Tail = {int}]' at /usr/include/c++/12.2.1/tuple:292:38, inlined from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(_UHead&&, _UTail&& ...) [with _UHead = int&; _UTail = {int&, int}; <template-parameter-2-3> = void; long unsigned int _Idx = 0; _Head = int; _Tail = {int, int}]' at /usr/include/c++/12.2.1/tuple:292:38, inlined from 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int}; bool _Valid = true; typename std::enable_if<_TCC<_Valid>::__is_implicitly_constructible<_UElements ...>(), bool>::type <anonymous> = true; _Elements = {int, int, int}]' at /usr/include/c++/12.2.1/tuple:744:54, inlined from 'int main()' at main.cpp:47:11: /usr/include/c++/12.2.1/tuple:200:11: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 200 | : _M_head_impl(std::forward<_UHead>(__h)) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:18: note: 'y' was declared here 23 | int n, m, x, y, p, cnt = 0; | ^ In constructor 'constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = int&; long unsigned int _Idx = 0; _Head = int]', inlined from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(_UHead&&, _UTail&& ...) [with _UHead = int&; _UTail = {int&, int}; <template-parameter-2-3> = void; long unsigned int _Idx = 0; _Head = int; _Tail = {int, int}]' at /usr/include/c++/12.2.1/tuple:292:38, inlined from 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int}; bool _Valid = true; typename std::enable_if<_TCC<_Valid>::__is_implicitly_constructible<_UElements ...>(), bool>::type <anonymous> = true; _Elements = {int, int, int}]' at /usr/include/c++/12.2.1/tuple:744:54, inlined from 'int main()' at main.cpp:47:11: /usr/include/c++/12.2.1/tuple:200:11: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 200 | : _M_head_impl(std::forward<_UHead>(__h)) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:15: note: 'x' was declared here 23 | int n, m, x, y, p, cnt = 0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOk!5
20ms303kbWrong answer!0
37ms5799kbOk!5
427ms23764kbTime limit exceeded0
528ms30748kbTime limit exceeded0
629ms30658kbTime limit exceeded0
728ms28098kbTime limit exceeded0
828ms23334kbTime limit exceeded0
929ms27881kbTime limit exceeded0
1029ms28082kbTime limit exceeded0
1128ms28372kbTime limit exceeded0
1228ms31174kbTime limit exceeded0
1328ms31453kbTime limit exceeded0
1429ms31592kbTime limit exceeded0
1528ms31076kbTime limit exceeded0
1628ms29761kbTime limit exceeded0
1728ms29016kbTime limit exceeded0
1829ms32387kbTime limit exceeded0
1928ms32407kbTime limit exceeded0
2029ms33169kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?