結果
問題 | No.857 素振り |
ユーザー | curryudon08 |
提出日時 | 2020-06-10 22:46:50 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 467 bytes |
コンパイル時間 | 2,524 ms |
コンパイル使用メモリ | 100,596 KB |
実行使用メモリ | 22,780 KB |
最終ジャッジ日時 | 2023-09-05 23:29:11 |
合計ジャッジ時間 | 3,915 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 54 ms
20,768 KB |
testcase_01 | AC | 54 ms
20,692 KB |
testcase_02 | AC | 55 ms
20,724 KB |
testcase_03 | AC | 57 ms
22,780 KB |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
コンパイルメッセージ
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); } } }