Submission #1243247


Source Code Expand

N=int(input())
A=list(map(int,input().split()))
B=A.copy()
B.sort(reverse=True)
for i in range(N):
    ind=A.index(B[i])
    print(ind+1)

Submission Info

Submission Time
Task C - 背の順
User tatatata21
Language Python (3.4.3)
Score 30
Code Size 143 Byte
Status TLE
Exec Time 2104 ms
Memory 14252 KB

Judge Result

Set Name Sample Subtask1 All
Score / Max Score 0 / 0 30 / 30 0 / 70
Status
AC × 3
AC × 19
AC × 19
TLE × 12
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 17 ms 2940 KB
0_01.txt AC 18 ms 2940 KB
0_02.txt AC 17 ms 2940 KB
1_00.txt AC 17 ms 2940 KB
1_01.txt AC 17 ms 2940 KB
1_02.txt AC 17 ms 3060 KB
1_03.txt AC 17 ms 2940 KB
1_04.txt AC 25 ms 3188 KB
1_05.txt AC 25 ms 3188 KB
1_06.txt AC 26 ms 3188 KB
1_07.txt AC 26 ms 3316 KB
1_08.txt AC 26 ms 3188 KB
1_09.txt AC 26 ms 3188 KB
1_10.txt AC 26 ms 3316 KB
1_11.txt AC 26 ms 3188 KB
1_12.txt AC 23 ms 3188 KB
1_13.txt AC 24 ms 3188 KB
1_14.txt AC 23 ms 3188 KB
1_15.txt AC 18 ms 3060 KB
2_00.txt TLE 2104 ms 13812 KB
2_01.txt TLE 2104 ms 14008 KB
2_02.txt TLE 2104 ms 14052 KB
2_03.txt TLE 2104 ms 14052 KB
2_04.txt TLE 2104 ms 14224 KB
2_05.txt TLE 2104 ms 14224 KB
2_06.txt TLE 2104 ms 14252 KB
2_07.txt TLE 2104 ms 14228 KB
2_08.txt TLE 2104 ms 11880 KB
2_09.txt TLE 2104 ms 13428 KB
2_10.txt TLE 2104 ms 6184 KB
2_11.txt TLE 2104 ms 11848 KB