結果

問題 No.46 はじめのn歩
ユーザー _i1115
提出日時 2020-04-08 02:32:15
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 236 bytes
コンパイル時間 2,532 ms
コンパイル使用メモリ 101,888 KB
実行使用メモリ 17,408 KB
最終ジャッジ日時 2024-07-08 13:53:27
合計ジャッジ時間 1,457 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program
{
	static void Main ()
	{
		int a = int.Parse (Console.ReadLine ());
		int b = int.Parse (Console.ReadLine ());

		if (b % a == 0)
			Console.WriteLine (b / a);
		else
			Console.WriteLine (b / a + 1);
	}
}
0