結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
|
提出日時 | 2016-10-20 13:36:18 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 773 ms |
コンパイル使用メモリ | 111,364 KB |
実行使用メモリ | 25,696 KB |
最終ジャッジ日時 | 2024-11-23 14:42:15 |
合計ジャッジ時間 | 1,184 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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); } }