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 Python (3.4.3)
Score 200
Code Size 162 Byte
Status AC
Exec Time 18 ms
Memory 3060 KB

Judge Result

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