Borderou de evaluare (job #3314537)

Utilizator amalia_ghicaAmalia Ghica amalia_ghica Data 10 octombrie 2025 12:40:51
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int i = 0; i < s.size(); i++){ | ~~^~~~~~~~~~ main.cpp:64:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | if(mat[l][c] == 0 && i == (s.size() - 1)){ | ~~^~~~~~~~~~~~~~~~~ main.cpp:47:9: warning: unused variable 'd' [-Wunused-variable] 47 | 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:46: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:46: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
37ms5812kbWrong answer!0
427ms26386kbTime limit exceeded0
527ms35147kbTime limit exceeded0
627ms32415kbTime limit exceeded0
729ms31506kbTime limit exceeded0
828ms26841kbTime limit exceeded0
929ms31080kbTime limit exceeded0
1028ms30736kbTime limit exceeded0
1128ms31768kbTime limit exceeded0
1229ms35147kbTime limit exceeded0
1328ms35180kbTime limit exceeded0
1429ms35950kbTime limit exceeded0
1528ms34349kbTime limit exceeded0
1628ms33456kbTime limit exceeded0
1729ms33280kbTime limit exceeded0
1829ms36081kbTime limit exceeded0
1928ms35897kbTime limit exceeded0
2029ms36937kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?