結果

問題 No.388 階段 (1)
ユーザー velfare_nagatavelfare_nagata
提出日時 2016-10-03 20:26:31
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 436 bytes
コンパイル時間 1,938 ms
コンパイル使用メモリ 102,732 KB
実行使用メモリ 22,876 KB
最終ジャッジ日時 2023-08-13 18:47:21
合計ジャッジ時間 3,238 ms
ジャッジサーバーID
(参考情報)
judge14 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
18,792 KB
testcase_01 AC 45 ms
20,580 KB
testcase_02 AC 46 ms
22,848 KB
testcase_03 AC 46 ms
20,856 KB
testcase_04 AC 46 ms
22,640 KB
testcase_05 AC 46 ms
20,704 KB
testcase_06 AC 47 ms
20,632 KB
testcase_07 AC 47 ms
20,596 KB
testcase_08 AC 46 ms
20,700 KB
testcase_09 AC 46 ms
20,652 KB
testcase_10 AC 46 ms
20,836 KB
testcase_11 AC 46 ms
20,780 KB
testcase_12 AC 46 ms
20,688 KB
testcase_13 AC 46 ms
22,876 KB
testcase_14 AC 49 ms
20,728 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Diagnostics;

namespace CodeIq
{
	internal class Program
	{
		private static void Main()
		{
			// パラメータ取得
			var line = Console.ReadLine();
			if( string.IsNullOrEmpty( line ) )
				return;
			var s = int.Parse( line.Split( ' ' )[0] );
			var f = int.Parse( line.Split( ' ' )[1] );

			Debug.Print( ( ( s / f )  + 1 ).ToString() );
			Console.WriteLine( ( ( s / f ) + 1 ).ToString() );
		}
	}
}
0