Submission #1439741
Source Code Expand
# coding: utf-8 from operator import itemgetter n = int(input()) member = list(map(int, input().split())) indices = range(n) lis = list(zip(member, indices)) sortedlis = sorted(lis, key=itemgetter(0, 1), reverse=True) for m in sortedlis: print(m[1]+1)
Submission Info
Submission Time | |
---|---|
Task | C - 背の順 |
User | halll |
Language | Python (3.4.3) |
Score | 100 |
Code Size | 269 Byte |
Status | AC |
Exec Time | 253 ms |
Memory | 26668 KB |
Judge Result
Set Name | Sample | Subtask1 | All | ||||||
---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 30 / 30 | 70 / 70 | ||||||
Status |
|
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
Subtask1 | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt, 1_08.txt, 1_09.txt, 1_10.txt, 1_11.txt, 1_12.txt, 1_13.txt, 1_14.txt, 1_15.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt, 1_08.txt, 1_09.txt, 1_10.txt, 1_11.txt, 1_12.txt, 1_13.txt, 1_14.txt, 1_15.txt, 2_00.txt, 2_01.txt, 2_02.txt, 2_03.txt, 2_04.txt, 2_05.txt, 2_06.txt, 2_07.txt, 2_08.txt, 2_09.txt, 2_10.txt, 2_11.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 18 ms | 3060 KB |
0_01.txt | AC | 17 ms | 3060 KB |
0_02.txt | AC | 17 ms | 3060 KB |
1_00.txt | AC | 20 ms | 3060 KB |
1_01.txt | AC | 17 ms | 3060 KB |
1_02.txt | AC | 17 ms | 3060 KB |
1_03.txt | AC | 17 ms | 3060 KB |
1_04.txt | AC | 19 ms | 3444 KB |
1_05.txt | AC | 19 ms | 3444 KB |
1_06.txt | AC | 19 ms | 3444 KB |
1_07.txt | AC | 19 ms | 3444 KB |
1_08.txt | AC | 19 ms | 3444 KB |
1_09.txt | AC | 19 ms | 3444 KB |
1_10.txt | AC | 19 ms | 3444 KB |
1_11.txt | AC | 19 ms | 3444 KB |
1_12.txt | AC | 19 ms | 3316 KB |
1_13.txt | AC | 19 ms | 3316 KB |
1_14.txt | AC | 19 ms | 3316 KB |
1_15.txt | AC | 17 ms | 3060 KB |
2_00.txt | AC | 144 ms | 25700 KB |
2_01.txt | AC | 143 ms | 25700 KB |
2_02.txt | AC | 146 ms | 25188 KB |
2_03.txt | AC | 144 ms | 25188 KB |
2_04.txt | AC | 248 ms | 26668 KB |
2_05.txt | AC | 246 ms | 26668 KB |
2_06.txt | AC | 239 ms | 26668 KB |
2_07.txt | AC | 253 ms | 26668 KB |
2_08.txt | AC | 180 ms | 20892 KB |
2_09.txt | AC | 224 ms | 24948 KB |
2_10.txt | AC | 73 ms | 9656 KB |
2_11.txt | AC | 198 ms | 21956 KB |