結果

問題 No.1335 1337
ユーザー さかぽんさかぽん
提出日時 2021-02-19 10:05:07
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 2,468 ms
コンパイル使用メモリ 103,580 KB
実行使用メモリ 22,548 KB
最終ジャッジ日時 2023-10-13 21:13:55
合計ジャッジ時間 4,459 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
18,468 KB
testcase_01 AC 51 ms
22,516 KB
testcase_02 AC 49 ms
22,548 KB
testcase_03 AC 48 ms
20,360 KB
testcase_04 AC 48 ms
20,612 KB
testcase_05 AC 50 ms
20,496 KB
testcase_06 AC 49 ms
20,508 KB
testcase_07 AC 49 ms
20,412 KB
testcase_08 AC 50 ms
20,624 KB
testcase_09 AC 50 ms
22,408 KB
testcase_10 AC 50 ms
20,532 KB
testcase_11 AC 49 ms
20,404 KB
testcase_12 AC 50 ms
20,420 KB
testcase_13 AC 49 ms
20,436 KB
testcase_14 AC 49 ms
22,508 KB
testcase_15 AC 50 ms
20,408 KB
testcase_16 AC 50 ms
20,492 KB
testcase_17 AC 50 ms
20,400 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class A
{
	static void Main()
	{
		var a = Console.ReadLine();
		var s = Console.ReadLine();
		Console.WriteLine(new string(Array.ConvertAll(s.ToCharArray(), c => char.IsNumber(c) ? a[c - '0'] : c)));
	}
}
0