q099. 外星語 (Language)
Tags : 字串 字典序 拓樸排序
Accepted rate : 23人/27人 ( 85% ) [非即時]
評分方式:
Tolerant

最近更新 : 2025-01-10 01:35

Input
Output
Sample Input #1
4
baba
nanaba
nanana
naana
Sample Output #1
bna
Sample Input #2
10
6/6+/
6+/6+
///++
//++/+
/+/+66
/+/+/
++66+6
++//
++//+
+++6/
Sample Output #2
6/+
Sample Input #3
13
A
a
a
C
+
d
1
F
8
8
2
0
k
Sample Output #3
AaC+d1F820k
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 1.0s , <1K
公開 測資點#1 (5%): 1.0s , <1K
公開 測資點#2 (5%): 1.0s , <1K
公開 測資點#3 (5%): 1.0s , <1M
公開 測資點#4 (5%): 1.0s , <1K
公開 測資點#5 (5%): 1.0s , <1K
公開 測資點#6 (5%): 1.0s , <1K
公開 測資點#7 (5%): 1.0s , <1K
公開 測資點#8 (5%): 1.0s , <1M
公開 測資點#9 (5%): 1.0s , <1M
公開 測資點#10 (5%): 1.0s , <1M
公開 測資點#11 (5%): 1.0s , <1M
公開 測資點#12 (5%): 1.0s , <1M
公開 測資點#13 (5%): 1.0s , <1M
公開 測資點#14 (5%): 1.0s , <1M
公開 測資點#15 (5%): 1.0s , <1M
公開 測資點#16 (5%): 1.0s , <1M
公開 測資點#17 (5%): 1.0s , <1M
公開 測資點#18 (5%): 1.0s , <1M
公開 測資點#19 (5%): 1.0s , <1M
Hint :

2025/1/10 01:30 修正測資並重測 NA 程式碼,感謝 ericshen1955 ... (暴力又被TLE) 指正。

Tags:
字串 字典序 拓樸排序
出處:
TOI練習賽202412潛力組第2題 [管理者: liaoweichen1 ... (M_SQRT) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」