結果
問題 | No.256 桁の数字を入れ替え (2) |
ユーザー | shi-mo |
提出日時 | 2016-04-03 01:07:56 |
言語 | D (dmd 2.106.1) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 207 bytes |
コンパイル時間 | 1,723 ms |
コンパイル使用メモリ | 151,492 KB |
実行使用メモリ | 4,372 KB |
最終ジャッジ日時 | 2023-09-02 21:02:22 |
合計ジャッジ時間 | 2,299 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,372 KB |
testcase_01 | AC | 1 ms
4,372 KB |
testcase_02 | AC | 9 ms
4,368 KB |
testcase_03 | AC | 8 ms
4,372 KB |
ソースコード
import std.stdio; import std.string; import std.conv; import std.algorithm; import std.array; void main() { ubyte[] s = readln.strip.map!(to!ubyte).array; writeln(s.sort!("a > b").map!(to!char)); }