結果
| 問題 | No.591 (^o^)/ |
| コンテスト | |
| ユーザー |
mban
|
| 提出日時 | 2017-11-11 00:56:59 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 2,000 ms |
| コード長 | 1,025 bytes |
| 記録 | |
| コンパイル時間 | 1,063 ms |
| コンパイル使用メモリ | 110,820 KB |
| 実行使用メモリ | 26,004 KB |
| 最終ジャッジ日時 | 2024-11-24 16:30:02 |
| 合計ジャッジ時間 | 1,881 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
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;
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();
}
}
mban