結果
| 問題 | No.169 何分かかるの!? | 
| コンテスト | |
| ユーザー |  fujita | 
| 提出日時 | 2023-05-08 14:20:44 | 
| 言語 | C# (.NET 8.0.404) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 52 ms / 1,000 ms | 
| コード長 | 529 bytes | 
| コンパイル時間 | 7,338 ms | 
| コンパイル使用メモリ | 169,480 KB | 
| 実行使用メモリ | 184,888 KB | 
| 最終ジャッジ日時 | 2024-11-25 06:51:24 | 
| 合計ジャッジ時間 | 9,431 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 22 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (102 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System.Collections.Generic;
using System;
using System.Drawing;
using System.Runtime.Intrinsics.X86;
namespace yukicoder
{
    class Program
    {
        static void Main(string[] args)
        {
            int K = int.Parse(Console.ReadLine());
            int S = int.Parse(Console.ReadLine());
            double n = S / (100 - K);//37
            double num = S % (100 - K);//48
            double amari = num / (100 - K);//0.5
            Console.WriteLine(Math.Floor((amari + n) * 100));
        }
    }
   
}
            
            
            
        