A=B
Ei tarpeeksi arvosteluja
k-9 Lexicographic Order
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tunnisteet: level
Tiedostokoko
Julkaistu
Päivitetty
361.783 KB
11.11.2024 klo 19.09
13.4. klo 15.18
5 muutosilmoitusta ( näytä )

Tilaa ladataksesi
k-9 Lexicographic Order

1 kokoelmassa, tekijä カズエイ
kazuei's problems
12 luomusta
Kuvaus
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だけ入力される。