Borderou de evaluare (job #3314539)

Utilizator amalia_ghicaAmalia Ghica amalia_ghica Data 10 octombrie 2025 12:41:42
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:42: 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 && 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
34ms4751kbOk!5
427ms27078kbTime limit exceeded0
529ms34787kbTime limit exceeded0
628ms33435kbTime limit exceeded0
728ms30654kbTime limit exceeded0
829ms27983kbTime limit exceeded0
929ms30134kbTime limit exceeded0
1028ms30322kbTime limit exceeded0
1129ms33660kbTime limit exceeded0
1229ms35336kbTime limit exceeded0
1328ms35127kbTime limit exceeded0
1428ms35004kbTime limit exceeded0
1529ms35602kbTime limit exceeded0
1629ms34660kbTime limit exceeded0
1728ms32522kbTime limit exceeded0
1829ms34119kbTime limit exceeded0
1929ms35119kbTime limit exceeded0
2029ms36831kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?