結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
masakt
|
| 提出日時 | 2017-03-12 19:39:53 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 272 bytes |
| コンパイル時間 | 747 ms |
| コンパイル使用メモリ | 111,716 KB |
| 実行使用メモリ | 26,812 KB |
| 最終ジャッジ日時 | 2024-06-30 00:33:58 |
| 合計ジャッジ時間 | 1,764 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 10 WA * 2 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class Program
{
static void Main(string[] args)
{
args = Console.ReadLine().Split(' ');
double a = double.Parse(args[0]) + 10E-9;
double b = double.Parse(args[1]) + 0.5;
Console.WriteLine(Math.Ceiling(a / b));
}
}
masakt