A=B
Otillräckligt med betyg
k-9 Lexicographic Order
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Taggar: level
Filstorlek
Lades upp
Uppdaterades
361.783 KB
11 nov, 2024 @ 19:09
13 apr @ 15:18
5 ändringsnotiser ( visa )

Abonnera för att ladda ner
k-9 Lexicographic Order

I 1 samling av カズエイ
kazuei's problems
12 artiklar
Beskrivning
Input: Two strings of "a", "b", "c" and "x", separated by a ",".
Output: The string that comes before the other in the lexicographic order.
Constraint: 1 <= String length <= 4
First string ≠ Second string
Of the 115260 total test cases, only 10000 are input.

<日本語訳>
k-9 辞書順
入力: ","で区切られた、a,b,c,xからなる2つの文字列
出力: 2つの文字列のうち、辞書順で早い方を出力する。
制約: 1 <= 文字列の長さ <= 4
1つ目の文字列 ≠ 2つ目の文字列
全115260のテストケースのうち10000だけ入力される。