Lines
Time limit1sMemory limit2048 MB
Given three arrays a, b, c, find every index i where line F_i is strictly above all other 3n lines at some real t, and print those indices.
Problem
Three integer arrays , , and are given, each with elements.
Define functions as follows:
A function is called NeVeR_LosEs if and only if there does not exist a real number such that for all . Find all functions that can be called NeVeR_LosEs.
Input
The first line contains an integer (). The second line contains the array (). The third line contains the array (). The fourth line contains the array ().
Output
On the first line, print the number of functions that can be called NeVeR_LosEs. On the second line, print these indices in ascending order.