結果
| 問題 | No.857 素振り |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2026-03-29 23:32:38 |
| 言語 | C# (.NET 10.0.403 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 42 ms / 1,000 ms |
| + 719µs | |
| コード長 | 526 bytes |
| 記録 | |
| コンパイル時間 | 12,901 ms |
| コンパイル使用メモリ | 174,168 KB |
| 実行使用メモリ | 32,408 KB |
| 最終ジャッジ日時 | 2026-11-27 23:30:01 |
| 合計ジャッジ時間 | 9,604 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (287 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
using System.Security.Cryptography;
class Program
{
static int NN => int.Parse(ReadLine());
static long[] NList => ReadLine().Split().Select(long.Parse).ToArray();
public static void Main()
{
Solve();
}
static void Solve()
{
var c = NList;
var ans = c[2];
if (c[0] <= c[2]) --ans;
if (c[1] <= c[2]) --ans;
WriteLine(ans);
}
}