Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

traits c++

# Nested Lists in Python - Hacker Rank Solution  
# python2 solution
score_list = []; # do not forget to declare a list
for _ in range(int(raw_input())):
    name = raw_input()
    score = float(raw_input())
    
    # Nested Lists in Python - Hacker Rank Solution START
    score_list.append([name, score])
second_highest = sorted(set([score for name, score in score_list]))[1]
print('
'.join(sorted([name for name, score in score_list if score == second_highest])))
# Nested Lists in Python - Hacker Rank Solution END
Comment

PREVIOUS NEXT
Code Example
Typescript :: democrats are pussies 
Typescript :: You’re asked to read a file a line at a time. For each line, you have to split it into fields. Which of the following sets of pseudo class definitions is likely to be more orthogonal? 
Typescript :: python write a program that asks the user for a weight in kilograms and converts it to pounds 
Typescript :: how to setup netflix workflow worker 
Typescript :: inline scripts encapsulated in <script tags 
Cpp :: 0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed 
Cpp :: how to downgrade numpy 
Cpp :: how to list environments with conda 
Cpp :: if vector contains value c++ 
Cpp :: std logic vhdl 
Cpp :: make cin cout faster 
Cpp :: how to print in c++ 
Cpp :: vhdl integer to std_logic_vector 
Cpp :: maximum in vector 
Cpp :: como medir tiempo de ejecucion cpp 
Cpp :: check if key exists in map c++ 
Cpp :: c++ ros subscriber 
Cpp :: bits/stdc++.h visual studio 
Cpp :: rapidjson write stringbuffer to file 
Cpp :: map of vector of struct error 
Cpp :: c++ dictionary 
Cpp :: average of a matrix c++ 
Cpp :: regex for phone number c++ 
Cpp :: do you need inline for template in C++ 
Cpp :: Arduino Sring to const char 
Cpp :: c++ get last character of string 
Cpp :: convert string to number c++ 
Cpp :: convert decimal to binary c++ 
Cpp :: all of the stars lyrics 
Cpp :: C++ convert vector of digits into integer 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =