結果

問題 No.2460 #強調#
ユーザー bluemeganebluemegane
提出日時 2023-09-10 22:50:44
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 315 bytes
コンパイル時間 1,806 ms
コンパイル使用メモリ 62,956 KB
実行使用メモリ 22,832 KB
最終ジャッジ日時 2023-09-10 22:50:48
合計ジャッジ時間 3,499 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
22,716 KB
testcase_01 AC 55 ms
22,764 KB
testcase_02 AC 53 ms
20,680 KB
testcase_03 AC 53 ms
20,856 KB
testcase_04 AC 53 ms
20,816 KB
testcase_05 AC 54 ms
22,832 KB
testcase_06 AC 53 ms
22,732 KB
testcase_07 AC 53 ms
20,672 KB
testcase_08 AC 52 ms
20,684 KB
testcase_09 AC 53 ms
22,720 KB
testcase_10 AC 52 ms
20,672 KB
testcase_11 AC 53 ms
20,768 KB
testcase_12 AC 54 ms
20,668 KB
testcase_13 AC 54 ms
18,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim();
        getAns(s);
    }
    static void getAns(string s)
    {
        var p0 = s.IndexOf('#');
        var p1 = s.IndexOf('#', p0 + 1);
        Console.WriteLine(s.Substring(p0 + 1, p1 - p0 - 1));
    }
}
0