結果

問題 No.163 cAPSlOCK
ユーザー phsplsphspls
提出日時 2020-03-27 23:51:54
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 266 bytes
コンパイル時間 2,150 ms
コンパイル使用メモリ 104,784 KB
実行使用メモリ 23,556 KB
最終ジャッジ日時 2023-08-30 17:03:22
合計ジャッジ時間 4,657 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
21,316 KB
testcase_01 AC 55 ms
23,556 KB
testcase_02 AC 54 ms
23,496 KB
testcase_03 AC 54 ms
21,404 KB
testcase_04 AC 54 ms
21,316 KB
testcase_05 AC 55 ms
23,460 KB
testcase_06 AC 55 ms
21,376 KB
testcase_07 AC 57 ms
21,468 KB
testcase_08 AC 54 ms
21,384 KB
testcase_09 AC 53 ms
23,276 KB
testcase_10 AC 54 ms
21,248 KB
testcase_11 AC 54 ms
21,312 KB
testcase_12 AC 54 ms
19,336 KB
testcase_13 AC 56 ms
23,444 KB
testcase_14 AC 54 ms
21,416 KB
testcase_15 AC 53 ms
21,384 KB
testcase_16 AC 55 ms
23,460 KB
testcase_17 AC 54 ms
21,476 KB
testcase_18 AC 54 ms
21,344 KB
testcase_19 AC 54 ms
21,240 KB
testcase_20 AC 54 ms
21,392 KB
testcase_21 AC 54 ms
21,388 KB
testcase_22 AC 56 ms
21,336 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

public class P0163 {
    public static void Main() {
        var result = String.Join("", Console.ReadLine().ToCharArray().Select(c => Char.IsUpper(c) ? Char.ToLower(c) : Char.ToUpper(c)));
        Console.WriteLine(result);
    }
}
0