結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー RabbitCPRabbitCP
提出日時 2015-08-04 01:31:48
言語 D
(dmd 2.106.1)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 431 bytes
コンパイル時間 2,276 ms
コンパイル使用メモリ 141,672 KB
実行使用メモリ 4,368 KB
最終ジャッジ日時 2023-09-02 20:18:55
合計ジャッジ時間 2,901 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,368 KB
testcase_01 AC 1 ms
4,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

/*---------------------
 import
-----------------------*/
import std.stdio;
import std.string;
import std.conv;
import std.array;

/*---------------------
 main
-----------------------*/
int main(string[] args)
{
	//input
	string[] input;
	string s;
	input = split(readln());	
	s = readln();
	
	//A+B
	int a, b, ans;

	a = to!int(input[0]);
	b = to!int(input[1]);
	ans = a + b;

	
	//output
	writef("%d %s", ans, s);
	
	return 0;
}
0