Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

devu and friendship testing codechef solution

t=int(input())
    for i in range(t):
        n=int(input())
        a=list(map(int,input().split()))
        b=set(a)
        print(len(b))
Comment

PREVIOUS NEXT
Code Example
Python :: count number of repeats in list python 
Python :: using list comprehension to filter out age group pandas 
Python :: how to acces textedit fields pyqt 
Python :: click on button tag with only class selenium python 
Python :: vertica long running queries 
Python :: discord.py find channel by id 
Python :: simplest flask memcached 
Python :: knn example 
Python :: print(cap.get(cv2.CAP_PROP_FRAME_WIDTH)) print(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) 
Python :: how to respond to a number in python 
Python :: problem with console writeline python 
Python :: read stripped lines from a file python 
Python :: how to change array of arrays to simpe array 
Python :: Blender Python set center to center of mass 
Python :: get data from keyboard python 
Python :: a = [ int(i) for i in range(100, 104)] list python 
Python :: convert to pdf fresh little library that outputs our notebook in a nice LaTex format without installing/doing anything else. 
Python :: files and exceptions not working python 
Python :: finding the min an max values of grayscale image or frame 
Python :: numpy rolling 2d 
Python :: online convert http query to json python 
Python :: python converting phred quality score to number 
Python :: change column row box colour tkinter 
Python :: conversion un type image en array python 
Python :: starting point of loop linked list proof 
Python :: chrome drivers documentation 
Python :: Tabpy Configuration file with custom settings 
Python :: Automatic stationary conversion 
Python :: python compiler and shell online 
Python :: how to open camre aopencv 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =