結果
問題 | No.477 MVP |
ユーザー |
|
提出日時 | 2018-12-06 09:51:42 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 26 ms / 1,000 ms |
コード長 | 358 bytes |
コンパイル時間 | 990 ms |
コンパイル使用メモリ | 103,932 KB |
実行使用メモリ | 26,072 KB |
最終ジャッジ日時 | 2024-09-14 00:40:35 |
合計ジャッジ時間 | 1,704 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; namespace StudyApp { class Program { static void Main(string[] args) { var inputs = Console.ReadLine().Trim().Split(' '); var n = long.Parse(inputs[0]); var k = long.Parse(inputs[1]); var result = n / (k + 1) + 1; Console.WriteLine(result); } } }