結果
| 問題 | 
                            No.857 素振り
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-10-31 21:57:56 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 340 bytes | 
| コンパイル時間 | 778 ms | 
| コンパイル使用メモリ | 111,604 KB | 
| 実行使用メモリ | 27,164 KB | 
| 最終ジャッジ日時 | 2024-07-22 05:25:57 | 
| 合計ジャッジ時間 | 1,549 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 2 RE * 6 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Linq;
namespace Streak
{
    public class Streak
    {
        public static int Main()
        {
            var a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
            Console.WriteLine(a[2] - (a[0] <= a[2] ? 1 : 0) - (a[1] <= a[2] ? 1 : 0));
            return 0;
        }
    }
}