結果

問題 No.1381 Simple Geometry 1
ユーザー さかぽんさかぽん
提出日時 2021-02-17 09:36:57
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 294 bytes
コンパイル時間 2,476 ms
コンパイル使用メモリ 104,644 KB
実行使用メモリ 24,932 KB
最終ジャッジ日時 2023-10-11 21:10:56
合計ジャッジ時間 5,917 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
22,712 KB
testcase_01 AC 64 ms
24,816 KB
testcase_02 AC 63 ms
22,752 KB
testcase_03 AC 63 ms
20,712 KB
testcase_04 AC 63 ms
22,684 KB
testcase_05 AC 63 ms
20,764 KB
testcase_06 AC 62 ms
24,720 KB
testcase_07 AC 63 ms
22,748 KB
testcase_08 AC 62 ms
22,800 KB
testcase_09 AC 63 ms
22,780 KB
testcase_10 AC 63 ms
24,932 KB
testcase_11 AC 62 ms
22,856 KB
testcase_12 AC 63 ms
22,740 KB
testcase_13 AC 63 ms
24,744 KB
testcase_14 AC 62 ms
22,860 KB
testcase_15 AC 64 ms
22,772 KB
testcase_16 AC 63 ms
20,732 KB
testcase_17 AC 63 ms
22,576 KB
testcase_18 AC 62 ms
20,848 KB
testcase_19 AC 63 ms
22,688 KB
testcase_20 AC 63 ms
22,800 KB
testcase_21 AC 62 ms
20,752 KB
testcase_22 AC 63 ms
24,712 KB
testcase_23 AC 63 ms
22,772 KB
testcase_24 AC 63 ms
24,804 KB
testcase_25 AC 63 ms
24,768 KB
testcase_26 AC 63 ms
22,844 KB
testcase_27 AC 63 ms
22,896 KB
testcase_28 AC 64 ms
24,808 KB
testcase_29 AC 63 ms
24,716 KB
testcase_30 AC 63 ms
22,748 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class B
{
	static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
	static (int, int, int, int) Read4() { var a = Read(); return (a[0], a[1], a[2], a[3]); }
	static void Main()
	{
		var (x, y, z, w) = Read4();
		Console.WriteLine((x - y * z) / 2.0);
	}
}
0