結果
| 問題 | No.857 素振り |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-10 22:46:50 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 467 bytes |
| 記録 | |
| コンパイル時間 | 546 ms |
| コンパイル使用メモリ | 107,784 KB |
| 実行使用メモリ | 24,844 KB |
| 最終ジャッジ日時 | 2026-03-08 23:56:56 |
| 合計ジャッジ時間 | 1,311 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / 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;
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);
}
}
}