結果

問題 No.2034 Anti Lexicography
ユーザー bluemeganebluemegane
提出日時 2022-08-12 22:17:10
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
実行時間 -
コード長 364 bytes
コンパイル時間 4,107 ms
コンパイル使用メモリ 108,320 KB
実行使用メモリ 51,140 KB
最終ジャッジ日時 2023-10-24 10:27:35
合計ジャッジ時間 7,751 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
23,644 KB
testcase_01 AC 23 ms
23,644 KB
testcase_02 AC 23 ms
23,644 KB
testcase_03 AC 22 ms
23,644 KB
testcase_04 AC 22 ms
23,644 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        Console.ReadLine();
        var s = Console.ReadLine().Trim();
        var ans = "";
        foreach (var x in s) ans += getC(x);
        Console.WriteLine(ans);
    }
    static char getC(char t)
    {
        var p = t - 'a';
        var res = (char)('z' - p);
        return res;
    }
}
0