A=B
评价数不足
k-9 Lexicographic Order
   
奖励
收藏
已收藏
取消收藏
标签: level
文件大小
发表于
更新日期
361.783 KB
2024 年 11 月 11 日 下午 7:09
4 月 13 日 下午 3:18
5 项改动说明 ( 查看 )

订阅以下载
k-9 Lexicographic Order

在 カズエイ 的 1 个合集中
k problem/k問題
12 件物品
描述
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だけ入力される。