19 for (
long i= 0; i < n; i++)
84 for (
auto i= 4; i <= 100; i++) {
int N(array< T > a)
Get the length of the array.
array< T > reverse(array< T > a)
Reverse an array.
bool contains(T a, array< T > b)
Check if an array contains a specified element.
int copy(int x)
Returns a copy of an integer.
The list class represents a linked list.
list< T > remove(list< T > l, T what)
Create a new list with a specific item removed.
list< T > tail(list< T > l, int n=1)
Get all but the first n items of a list.
list< T > head(list< T > l, int n=1)
Get the first n items of a list.
bool is_atom(list< T > l)
Check if a list is an atom (i.e., a single item).
T last_item(list< T > l)
Return the last item of the list. The input list must not be an empty list.
T & access_last(list< T > &l)
Get a reference to the last item in a list.
list< T > & suppress_last(list< T > &l)
Remove the last item from a list.
static list< long > gen(int64_t n)
TEST_CASE("test for operator+= and advance()")