結果
| 問題 | 
                            No.1643 Not Substring
                             | 
                    
| コンテスト | |
| ユーザー | 
                             bluemegane
                         | 
                    
| 提出日時 | 2021-08-13 22:14:28 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 26 ms / 2,000 ms | 
| コード長 | 253 bytes | 
| コンパイル時間 | 998 ms | 
| コンパイル使用メモリ | 108,652 KB | 
| 実行使用メモリ | 25,736 KB | 
| 最終ジャッジ日時 | 2024-10-03 21:52:08 | 
| 合計ジャッジ時間 | 2,565 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 26 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim();
        var count = s.Length - s.Replace("a", "").Length;
        Console.Write("a");
        Console.WriteLine(new string('a', count));
    }
}
            
            
            
        
            
bluemegane