結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー eringi103eringi103
提出日時 2016-10-20 13:36:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 1,761 ms
コンパイル使用メモリ 102,656 KB
実行使用メモリ 17,664 KB
最終ジャッジ日時 2024-05-02 20:29:20
合計ジャッジ時間 1,286 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
17,408 KB
testcase_01 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
public class Program
{
  static void Main()
  {
    string AB = Console.ReadLine();
    int A = Convert.ToInt32(AB.Substring(0,1));
    int B = Convert.ToInt32(AB.Substring(2,1));
    string S = Console.ReadLine();
    int N = A + B;
    Console.WriteLine(N.ToString() + " " + S);
  }
}
0