結果
| 問題 | 
                            No.857 素振り
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ixTL255
                         | 
                    
| 提出日時 | 2019-08-13 21:34:57 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 318 bytes | 
| コンパイル時間 | 2,277 ms | 
| コンパイル使用メモリ | 113,224 KB | 
| 実行使用メモリ | 27,036 KB | 
| 最終ジャッジ日時 | 2024-09-19 13:35:37 | 
| 合計ジャッジ時間 | 2,183 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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.Collections.Generic;
using System.Linq;
public class Yuki857
{
	public static void Main()
	{
		var xyz = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList();
		var ans = xyz[2];
		if(xyz[0] <= xyz[2]) ans -= 1;
		if(xyz[1] <= xyz[2]) ans -= 1;
		
		Console.WriteLine(ans);
	}
}
            
            
            
        
            
ixTL255