結果

問題 No.2460 #強調#
ユーザー 👑 kakel-sankakel-san
提出日時 2023-09-14 22:19:19
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 463 bytes
コンパイル時間 1,421 ms
コンパイル使用メモリ 67,700 KB
実行使用メモリ 23,628 KB
最終ジャッジ日時 2023-09-14 22:19:23
合計ジャッジ時間 3,617 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
21,740 KB
testcase_01 AC 61 ms
21,572 KB
testcase_02 AC 56 ms
23,628 KB
testcase_03 AC 58 ms
21,636 KB
testcase_04 AC 56 ms
21,432 KB
testcase_05 AC 57 ms
21,548 KB
testcase_06 AC 56 ms
21,500 KB
testcase_07 AC 55 ms
21,664 KB
testcase_08 AC 57 ms
21,696 KB
testcase_09 AC 56 ms
21,640 KB
testcase_10 AC 58 ms
23,564 KB
testcase_11 AC 58 ms
23,576 KB
testcase_12 AC 59 ms
21,564 KB
testcase_13 AC 59 ms
21,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
class Program
{
    static int NN => int.Parse(ReadLine());
    static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
    public static void Main()
    {
        Solve();
    }
    static void Solve()
    {
        var s = ReadLine();
        WriteLine(string.Concat(s.Skip(s.IndexOf('#') + 1).Take(s.LastIndexOf('#') - s.IndexOf('#') - 1)));
    }
}
0