結果

問題 No.926 休日の平均
ユーザー Hoboteru4484Hoboteru4484
提出日時 2019-11-30 22:46:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 143 ms / 2,000 ms
コード長 355 bytes
コンパイル時間 4,231 ms
コンパイル使用メモリ 71,544 KB
実行使用メモリ 56,544 KB
最終ジャッジ日時 2023-08-13 09:51:03
合計ジャッジ時間 9,141 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
54,488 KB
testcase_01 AC 137 ms
55,904 KB
testcase_02 AC 135 ms
55,976 KB
testcase_03 AC 138 ms
55,860 KB
testcase_04 AC 135 ms
56,052 KB
testcase_05 AC 143 ms
56,128 KB
testcase_06 AC 135 ms
56,052 KB
testcase_07 AC 137 ms
55,972 KB
testcase_08 AC 136 ms
53,880 KB
testcase_09 AC 137 ms
56,004 KB
testcase_10 AC 136 ms
55,964 KB
testcase_11 AC 136 ms
55,900 KB
testcase_12 AC 135 ms
55,704 KB
testcase_13 AC 136 ms
55,912 KB
testcase_14 AC 135 ms
56,364 KB
testcase_15 AC 136 ms
55,940 KB
testcase_16 AC 139 ms
56,192 KB
testcase_17 AC 141 ms
56,168 KB
testcase_18 AC 139 ms
56,440 KB
testcase_19 AC 139 ms
55,752 KB
testcase_20 AC 137 ms
55,976 KB
testcase_21 AC 138 ms
55,632 KB
testcase_22 AC 140 ms
56,292 KB
testcase_23 AC 139 ms
56,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No926 {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    double daysOfYear = sc.nextDouble();
    double daysOfWeek = sc.nextDouble();
    double holidaysOfWeek = sc.nextDouble();
    sc.close();

    System.out.println(daysOfYear / daysOfWeek * holidaysOfWeek);
    
  }
  
}
0