結果
問題 | No.810 割った余りの個数 |
ユーザー |
|
提出日時 | 2019-04-19 22:20:17 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 388 bytes |
コンパイル時間 | 1,950 ms |
コンパイル使用メモリ | 111,900 KB |
実行使用メモリ | 26,024 KB |
最終ジャッジ日時 | 2024-09-22 21:16:07 |
合計ジャッジ時間 | 3,654 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;// No.810 割った余りの個数namespace No._810{class Program{static void Main(string[] args){int L, R, M;int[] p = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);L = p[0];R = p[1];M = p[2];Console.WriteLine(Math.Min(R-(L-1), M));}}}