結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-07-01 13:57:55 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 741 bytes |
| 記録 | |
| コンパイル時間 | 3,119 ms |
| コンパイル使用メモリ | 103,680 KB |
| 実行使用メモリ | 19,200 KB |
| 最終ジャッジ日時 | 2026-03-30 16:09:34 |
| 合計ジャッジ時間 | 4,345 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 WA * 1 |
コンパイルメッセージ
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();
int index = 0;
string temp = input.Substring(0, 2);
index = input.IndexOf(temp, 2);
if (index != -1)
{
temp = input.Substring(0, index);
input = input.Replace(temp, "");
}
if(input=="")
{
Console.WriteLine("YES");
}
else
{
Console.WriteLine("NO");
}
}
}
}
funakoshi