Submission #72583079


Source Code Expand

N = int(input())
S = [input() for _ in range(N)]
S.sort(key = lambda x: len(x), reverse= True)
ans = []
for i in range(N):
    ans.append(S[i][0].upper())

print("".join(ans))

Submission Info

Submission Time
Task D - EGFイニシャル
User sugarcrash
Language Python (PyPy 3.11-v7.3.20)
Score 100
Code Size 182 Byte
Status AC
Exec Time 56 ms
Memory 79872 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 14
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 53 ms 79628 KiB
00_sample_01.txt AC 53 ms 79648 KiB
00_sample_02.txt AC 56 ms 79544 KiB
01_random_00.txt AC 55 ms 79628 KiB
01_random_01.txt AC 54 ms 79780 KiB
01_random_02.txt AC 53 ms 79632 KiB
01_random_03.txt AC 54 ms 79552 KiB
01_random_04.txt AC 54 ms 79808 KiB
01_random_05.txt AC 53 ms 79816 KiB
01_random_06.txt AC 53 ms 79608 KiB
01_random_07.txt AC 54 ms 79576 KiB
01_random_08.txt AC 55 ms 79872 KiB
01_random_09.txt AC 55 ms 79868 KiB
01_random_10.txt AC 56 ms 79508 KiB