Submission #12311477


Source Code Expand

Copy
n = int(input())
rs = []

for i in range(n):
    s,p = input().split()
    p = int(p)
    rs.append([[s, -p], i+1])

for r in sorted(rs):
    print(r[1])

Submission Info

Submission Time
Task B - Guidebook
User shinobe
Language Python3 (3.4.3)
Score 200
Code Size 162 Byte
Status
Exec Time 18 ms
Memory 3060 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 01.txt, 02.txt
All 200 / 200 01.txt, 02.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt
Case Name Status Exec Time Memory
01.txt 18 ms 2940 KB
02.txt 18 ms 2940 KB
11.txt 18 ms 2940 KB
12.txt 18 ms 2940 KB
13.txt 17 ms 2940 KB
14.txt 18 ms 3060 KB
15.txt 18 ms 3060 KB