結果
問題 | No.739 大事なことなので2度言います |
ユーザー | funakoshi |
提出日時 | 2019-07-01 13:46:18 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 664 bytes |
コンパイル時間 | 4,915 ms |
コンパイル使用メモリ | 104,948 KB |
実行使用メモリ | 22,552 KB |
最終ジャッジ日時 | 2023-09-22 23:33:49 |
合計ジャッジ時間 | 3,528 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 50 ms
20,600 KB |
testcase_02 | AC | 51 ms
20,692 KB |
testcase_03 | AC | 50 ms
20,620 KB |
testcase_04 | AC | 51 ms
20,568 KB |
testcase_05 | AC | 51 ms
22,552 KB |
testcase_06 | WA | - |
testcase_07 | AC | 51 ms
18,564 KB |
testcase_08 | AC | 52 ms
18,536 KB |
testcase_09 | RE | - |
testcase_10 | AC | 50 ms
20,592 KB |
コンパイルメッセージ
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 n = input.Length/2; for(int i=0;i<n;i+=2) { string temp = input.Substring(0, 2); input = input.Replace(temp, ""); } if(input=="") { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } } }