a=input().rstrip().split() b=input().rstrip().split() c=[] d=[] l=0 k=0 for i in a: c.append(int(i)) for i in b: …
Read moreString S is passed as the input to the program. S may or may not have a single underscore embedded in it. The program m…
Read morea=input() b=[] for i in a: b.append(i) b=list(set(b)) b.sort() b.reverse() for i in b: print(i,end='')
Read morevoid negException :: error_Msg() const { cout<<"Negative Marks Not Allowed"; } void moreException :…
Read morevoid mismatchDimension :: error_Msg() const { cout<<"Dimension of matrices do not match\n"; } templ…
Read more#include< string.h > template < class T, class S > int count(T *data,int size,S search) { int count=0; …
Read moretemplate < class T > void right_Shift (T *ele,int n,int r) { for(int i=0;i < r;i++) { T temp=…
Read moreMultiples of X, Y and X+Y Till U w.jdoodle.com/embed/v0/n30 Given two numbers X and Y and an upper limit U, print multi…
Read moreA married person (male of female) is denoted by a triangle. An unmarried person (male or female) is denoted by a square…
Read more"8 4 Rule" (Eight Four Rule) for passwords is defined as below.. 8 = 8 characters minimum length 4 = …
Read moreCheck Attendance Accept a student attendance N in days and print "YES" if the student is eligible to write a…
Read moreMerge Two Sorted Arrays Given two sorted arrays A1 and A2 with size S1 and S2 respectively, merge the two array elemen…
Read moreMaximum Target Hits in Sequence In a shooting competition, whenever the target is hit, the score is increased by 1. Wh…
Read morePointing the man receiving the prize, Sarvan said, "He is the brother of my uncle's daughter." Who is the…
Read moreCrop Water Calculator A farmer wants to plant paddy crops in his farm. So he visited a near by agriculture shop to buy …
Read moreChoose the option to replace the question mark so that the pair on the left has a similar relationship to the pair on…
Read moreString Characters Interlace Given an input string S , accept the input string S and print the string in the interlaced…
Read moreFind out the correct alternative to replace the question mark in the given number series. 16, 30, 32, 60, ?, 120
Read more
Social Profiles