結果

問題 No.69 文字を自由に並び替え
ユーザー toshiro_yanagi
提出日時 2018-06-02 12:30:09
言語 Nim
(2.2.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 119 bytes
コンパイル時間 3,212 ms
コンパイル使用メモリ 65,008 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 09:03:10
合計ジャッジ時間 3,927 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'strutils' [UnusedImport]

ソースコード

diff #

import strutils, algorithm
let A, B = stdin.readLine

if A.sorted(cmp) == B.sorted(cmp):
  echo "YES"
else:
  echo "NO"
0