結果
| 問題 |
No.2460 #強調#
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-14 22:19:19 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 463 bytes |
| コンパイル時間 | 856 ms |
| コンパイル使用メモリ | 104,576 KB |
| 実行使用メモリ | 18,432 KB |
| 最終ジャッジ日時 | 2024-07-02 04:56:41 |
| 合計ジャッジ時間 | 1,972 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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)));
}
}