結果
問題 | No.350 d=vt |
ユーザー | qwrtpsfg |
提出日時 | 2017-09-04 20:52:03 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 27 ms / 2,000 ms |
コード長 | 338 bytes |
コンパイル時間 | 812 ms |
コンパイル使用メモリ | 112,040 KB |
実行使用メモリ | 27,412 KB |
最終ジャッジ日時 | 2024-10-05 05:34:04 |
合計ジャッジ時間 | 1,735 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Linq; public class yukicoder { public static void Main() { decimal[] n = Console.ReadLine().Split(' ').Select(x => decimal.Parse(x)).ToArray(); decimal v = n[0]; decimal t = n[1]; Console.WriteLine(Math.Floor(v * t)); } }