結果
問題 | No.1217 せしすせそ |
ユーザー |
![]() |
提出日時 | 2020-11-03 21:49:23 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 23 ms / 2,000 ms |
コード長 | 790 bytes |
コンパイル時間 | 2,282 ms |
コンパイル使用メモリ | 104,192 KB |
実行使用メモリ | 17,408 KB |
最終ジャッジ日時 | 2024-07-22 09:12:44 |
合計ジャッジ時間 | 2,532 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApp92{class Program{static void Main(string[] args){string s = Console.ReadLine();string moto = "0";string kawa = "9";char[] v = new char[]{'a', 'b', 'c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};for(int i = 0; i < 26; i++){if (v[i] != s[i]){moto = s[i].ToString();kawa = v[i].ToString();}}Console.WriteLine(kawa + "to" + moto);Console.ReadLine();}}}