提出 #20520311


ソースコード 拡げる

use proconio::{fastout, input};

#[fastout]
fn main() {
    input! {in_a: f32, in_b: f32};
    println!("{:.4}", (in_a - in_b) / in_a * 100.0);
}

提出情報

提出日時
問題 A - Discount
ユーザ takedarts
言語 Rust (1.42.0)
得点 100
コード長 146 Byte
結果 AC
実行時間 5 ms
メモリ 2220 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 13
セット名 テストケース
Sample 01_sample.txt, 02_sample.txt, 03_sample.txt
All 01_sample.txt, 02_sample.txt, 03_sample.txt, 04_hand.txt, 05_hand.txt, 06_hand.txt, 07_random.txt, 08_random.txt, 09_random.txt, 10_random.txt, 11_random.txt, 12_random.txt, 13_random.txt
ケース名 結果 実行時間 メモリ
01_sample.txt AC 5 ms 2220 KiB
02_sample.txt AC 2 ms 2152 KiB
03_sample.txt AC 2 ms 2108 KiB
04_hand.txt AC 2 ms 2184 KiB
05_hand.txt AC 2 ms 2188 KiB
06_hand.txt AC 2 ms 2100 KiB
07_random.txt AC 1 ms 2168 KiB
08_random.txt AC 1 ms 2040 KiB
09_random.txt AC 1 ms 2184 KiB
10_random.txt AC 2 ms 2132 KiB
11_random.txt AC 1 ms 2076 KiB
12_random.txt AC 2 ms 2120 KiB
13_random.txt AC 2 ms 2140 KiB