結果
問題 | No.494 yukicoder |
ユーザー | funakoshi |
提出日時 | 2019-06-28 11:52:36 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 652 bytes |
コンパイル時間 | 1,939 ms |
コンパイル使用メモリ | 101,492 KB |
実行使用メモリ | 22,512 KB |
最終ジャッジ日時 | 2023-09-14 21:19:44 |
合計ジャッジ時間 | 3,149 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 49 ms
20,488 KB |
testcase_01 | AC | 50 ms
20,440 KB |
testcase_02 | AC | 49 ms
18,500 KB |
testcase_03 | AC | 48 ms
20,468 KB |
testcase_04 | AC | 49 ms
20,476 KB |
testcase_05 | AC | 49 ms
20,528 KB |
testcase_06 | AC | 49 ms
20,468 KB |
testcase_07 | AC | 50 ms
22,512 KB |
testcase_08 | AC | 49 ms
20,536 KB |
コンパイルメッセージ
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 yukicoderTest { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string yuki = "yukicoder"; for (int i = 0; i < yuki.Length; i++) { string itmp = input.Substring(i, 1); string yukitmp = yuki.Substring(i, 1); if(itmp!=yukitmp) { Console.WriteLine(yukitmp); break; } } } } }