結果
| 問題 |
No.2041 E-mail Address
|
| コンテスト | |
| ユーザー |
gru66y
|
| 提出日時 | 2022-08-31 00:02:06 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 48 ms / 2,000 ms |
| コード長 | 471 bytes |
| コンパイル時間 | 15,866 ms |
| コンパイル使用メモリ | 164,644 KB |
| 実行使用メモリ | 180,832 KB |
| 最終ジャッジ日時 | 2024-11-07 17:18:52 |
| 合計ジャッジ時間 | 11,252 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (101 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Paiza
{
static class Problem
{
static void Main (string[] args)
{
string T = Console.ReadLine();
int indexKakko = T.IndexOf('(');
int indexKokka = T.IndexOf(')');
string U = T.Substring(indexKakko, indexKokka - indexKakko + 1);
Console.WriteLine(T.Replace(U, "@"));
}
}
}
gru66y