結果
| 問題 |
No.169 何分かかるの!?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-20 20:48:25 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 1,000 ms |
| コード長 | 344 bytes |
| コンパイル時間 | 728 ms |
| コンパイル使用メモリ | 103,424 KB |
| 実行使用メモリ | 18,944 KB |
| 最終ジャッジ日時 | 2024-07-03 17:33:18 |
| 合計ジャッジ時間 | 2,069 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace _0169
{
class Program
{
static void Main(string[] args)
{
var k = int.Parse(Console.ReadLine());
var s = int.Parse(Console.ReadLine());
var d = (s * 1.0 / (100 - k) * 100);
Console.WriteLine(string.Format("{0}",Math.Floor(d)));
}
}
}