結果
問題 |
No.857 素振り
|
ユーザー |
|
提出日時 | 2020-06-10 22:46:50 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 467 bytes |
コンパイル時間 | 2,376 ms |
コンパイル使用メモリ | 107,640 KB |
実行使用メモリ | 26,012 KB |
最終ジャッジ日時 | 2024-06-23 18:44:00 |
合計ジャッジ時間 | 2,398 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; namespace _0857 { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var x = int.Parse(_[0]); var y = int.Parse(_[1]); var z = int.Parse(_[2]); var a = z; if(x <= z){ a -= 1; } if(y <= z){ a -= 1; } Console.WriteLine(a); } } }