TDISTINT - Todos Distintos

no tags 

in English

Write a function called "bool todos_distintos(int a[], int N)" to report if all elements of a list of N elements are different. Write a program that receives an N (indicating the amount of items you have the list) and then the N elements of the list. The program should return "Verdadero" if all the items in the list are different and "Falso" otherwise. Example of todos_distintos function: todos_distintos([6, 6, 6], 3) -> False.

Input

Natural number + sequence of positive integers.

Output

Report "Verdadero" or "Falso".

Example 1

Input:
3
6
6
6 Output: Falso

Example 2

Input:
3
6
6
1 Output: Falso

Example 3

Input:
3
0
90
1 Output: Verdadero

en Español

Escribir la función bool todos_distintos(int a[], int N) que indique si todos los elementos de una lista  de N elementos son distintos. Escribir un programa que reciba un N (indicando la cantidad de elementos que tiene la lista) y luego los N elementos de la lista. El programa debe retornar "Verdadero" si todos los elementos de la lista son distintos y "Falso" en caso contrario. Ejemplo de la función todos_distintos: todos_distintos([6, 6, 6], 3) -> False.

Entrada

Número natural + Secuencia de enteros positivos.

Salida

Informar "Verdadero" o "Falso".

Ejemplo 1

Input:
3
6
6
6 Output: Falso

Ejemplo 2

Input:
3
6
6
1 Output: Falso

Ejemplo 3

Input:
3
0
90
1 Output: Verdadero


Added by:Coach UTN FRSF
Date:2015-08-19
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64 GOSU JS-MONKEY