Problem | toxic |
---|---|
User | ZivTheONe |
Submission Time | 2024-05-30 16:29:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from toxic.cpp:2:
/usr/include/c++/9/bits/stl_algo.h: In instantiation of ‘void std::random_shuffle(_RAIter, _RAIter, _Generator&&) [with _RAIter = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; _Generator = int]’:
toxic.cpp:63:51: required from here
/usr/include/c++/9/bits/stl_algo.h:4656:48: error: expression cannot be used as a function
4656 | _RandomAccessIterator __j = __first + __rand((__i - __first) + 1);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~