結果

問題 No.163 cAPSlOCK
ユーザー chike_pluschike_plus
提出日時 2019-03-19 13:41:19
言語 F#
(F# 4.0)
結果
AC  
実行時間 56 ms / 5,000 ms
コード長 276 bytes
コンパイル時間 3,096 ms
コンパイル使用メモリ 159,316 KB
実行使用メモリ 25,848 KB
最終ジャッジ日時 2023-10-11 21:05:09
合計ジャッジ時間 5,379 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
21,900 KB
testcase_01 AC 53 ms
21,868 KB
testcase_02 AC 53 ms
23,964 KB
testcase_03 AC 52 ms
21,768 KB
testcase_04 AC 53 ms
21,952 KB
testcase_05 AC 52 ms
21,968 KB
testcase_06 AC 51 ms
21,772 KB
testcase_07 AC 53 ms
21,896 KB
testcase_08 AC 52 ms
23,904 KB
testcase_09 AC 53 ms
21,764 KB
testcase_10 AC 54 ms
25,848 KB
testcase_11 AC 52 ms
21,840 KB
testcase_12 AC 53 ms
23,824 KB
testcase_13 AC 52 ms
21,764 KB
testcase_14 AC 53 ms
21,764 KB
testcase_15 AC 52 ms
23,752 KB
testcase_16 AC 54 ms
23,916 KB
testcase_17 AC 54 ms
21,720 KB
testcase_18 AC 56 ms
21,900 KB
testcase_19 AC 54 ms
21,972 KB
testcase_20 AC 53 ms
21,964 KB
testcase_21 AC 53 ms
23,956 KB
testcase_22 AC 53 ms
21,968 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.163 cAPSlOCK``() =
  
  stdin.ReadLine()
  |> Seq.iter (fun c -> 
    match System.Char.IsUpper c with
    | false -> c |> System.Char.ToUpper |> stdout.Write 
    | true  -> c |> System.Char.ToLower |> stdout.Write 
    )
  stdout.WriteLine ""

``No.163 cAPSlOCK``()
0