結果
| 問題 |
No.170 スワップ文字列(Easy)
|
| コンテスト | |
| ユーザー |
tottoripaper
|
| 提出日時 | 2015-03-22 23:25:05 |
| 言語 | Haskell (9.10.1) |
| 結果 |
AC
|
| 実行時間 | 105 ms / 5,000 ms |
| コード長 | 105 bytes |
| コンパイル時間 | 6,929 ms |
| コンパイル使用メモリ | 172,288 KB |
| 実行使用メモリ | 20,864 KB |
| 最終ジャッジ日時 | 2024-12-23 00:06:02 |
| 合計ジャッジ時間 | 8,612 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
import Data.List main = do s <- getLine print $ subtract 1 . length . group . sort $ permutations s
tottoripaper