結果

問題 No.8083 12歳
ユーザー さかぽん
提出日時 2021-04-02 10:45:05
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 386 bytes
コンパイル時間 3,355 ms
コンパイル使用メモリ 104,448 KB
実行使用メモリ 17,920 KB
最終ジャッジ日時 2024-12-23 03:31:45
合計ジャッジ時間 18,889 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 273 WA * 93
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class K
{
	static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
	static (int, int, int) Read3() { var a = Read(); return (a[0], a[1], a[2]); }
	static void Main() => Console.WriteLine(Solve());
	static object Solve()
	{
		var (y, n, d) = Read3();

		var min = Math.Max(0, n - d);
		var max = Math.Min(n, 365 - d);
		return $"{min} {max}";
	}
}
0