結果

問題 No.591 (^o^)/
ユーザー mbanmban
提出日時 2017-11-11 00:56:59
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 1,025 bytes
コンパイル時間 2,279 ms
コンパイル使用メモリ 101,620 KB
実行使用メモリ 22,772 KB
最終ジャッジ日時 2023-08-16 06:07:59
合計ジャッジ時間 3,543 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
20,592 KB
testcase_01 AC 53 ms
20,500 KB
testcase_02 AC 52 ms
20,628 KB
testcase_03 AC 53 ms
20,720 KB
testcase_04 AC 53 ms
20,656 KB
testcase_05 AC 53 ms
20,580 KB
testcase_06 AC 53 ms
22,552 KB
testcase_07 AC 53 ms
20,644 KB
testcase_08 AC 53 ms
22,772 KB
testcase_09 AC 54 ms
22,540 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;

class Scanner
{
    private string[] Line;
    private int Index;

    public Scanner()
    {
        Line = new string[0];
        Index = 0;
    }

    public string Next()
    {
        if (Index >= Line.Length)
        {
            Line = Console.ReadLine().Split(' ');
            Index = 0;
        }
        var ret = Line[Index];
        Index++;
        return ret;

    }

    public int NextInt()
    {
        return int.Parse(Next());
    }
}

struct S
{
    public int Num, Sum;

    public S(int num, int sum)
    {
        this.Num = num;
        this.Sum = sum;
    }
}

class Program
{
    string a, b;

    private void Scan()
    {
        var sc = new Scanner();
        a = sc.Next();
        b = sc.Next();
    }

    public void Solve()
    {
        Scan();
        Console.WriteLine("({0}{1}{0})/", a, b);
    }

    static public void Main()
    {
        new Program().Solve();
    }
}
0