結果
問題 | No.46 はじめのn歩 |
ユーザー | taka_ltd |
提出日時 | 2020-06-09 20:37:15 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 63 ms / 5,000 ms |
コード長 | 388 bytes |
コンパイル時間 | 1,418 ms |
コンパイル使用メモリ | 66,956 KB |
実行使用メモリ | 24,912 KB |
最終ジャッジ日時 | 2023-08-30 20:48:48 |
合計ジャッジ時間 | 2,493 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 63 ms
22,736 KB |
testcase_01 | AC | 62 ms
24,624 KB |
testcase_02 | AC | 62 ms
22,796 KB |
testcase_03 | AC | 61 ms
22,576 KB |
testcase_04 | AC | 61 ms
22,636 KB |
testcase_05 | AC | 61 ms
24,568 KB |
testcase_06 | AC | 62 ms
24,912 KB |
testcase_07 | AC | 62 ms
24,732 KB |
testcase_08 | AC | 62 ms
22,648 KB |
testcase_09 | AC | 62 ms
22,876 KB |
ソースコード
using System; using System.IO.Pipes; namespace yukicoder { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(" "); double A = double.Parse(input[0]); double B = double.Parse(input[1]); double ans = B / A; Console.WriteLine(Math.Ceiling(ans)); } } }