Pagini recente »
Borderou de evaluare (job #568218)
|
Borderou de evaluare (job #49695)
|
Borderou de evaluare (job #367665)
|
Borderou de evaluare (job #763581)
|
Borderou de evaluare (job #733127)
Borderou de evaluare (job #733127)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'main()::<lambda(const auto:1&, const auto:2&)> [with auto:1 = char; auto:2 = char]':
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/predefined_ops.h:158:30: required from 'constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = char*; _Iterator2 = char*; _Compare = main()::<lambda(const auto:1&, const auto:2&)>]'
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1809:14: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1849:25: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1940:31: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:4853:18: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = char*; _Compare = main()::<lambda(const auto:1&, const auto:2&)>]'
main.cpp:30:9: required from here
main.cpp:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | if(v1[a] == v1[b]) return (a < b);
| ~~^
main.cpp:32:23: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | if(v1[a] == v1[b]) return (a < b);
| ~~^
main.cpp:33:24: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | else return (v1[a] < v1[b]);
| ~~^
main.cpp:33:32: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | else return (v1[a] < v1[b]);
| ~~^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
241 kb
|
Incorect
|
0
|
4
|
19 ms
|
507 kb
|
Incorect
|
0
|
5
|
29 ms
|
507 kb
|
Incorect
|
0
|
6
|
59 ms
|
770 kb
|
Incorect
|
0
|
7
|
99 ms
|
1294 kb
|
Incorect
|
0
|
8
|
139 ms
|
1556 kb
|
Incorect
|
0
|
9
|
69 ms
|
2080 kb
|
Memory limit exceeded
|
0
|
10
|
79 ms
|
2347 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
10
|