結果

問題 No.445 得点
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-11 04:10:33
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 373 bytes
コンパイル時間 2,574 ms
コンパイル使用メモリ 73,764 KB
実行使用メモリ 41,772 KB
最終ジャッジ日時 2024-04-24 23:18:49
合計ジャッジ時間 6,655 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
40,620 KB
testcase_01 AC 143 ms
41,368 KB
testcase_02 AC 140 ms
41,600 KB
testcase_03 AC 141 ms
41,148 KB
testcase_04 AC 148 ms
41,280 KB
testcase_05 AC 141 ms
41,584 KB
testcase_06 AC 142 ms
41,552 KB
testcase_07 AC 141 ms
41,628 KB
testcase_08 AC 138 ms
41,436 KB
testcase_09 AC 140 ms
41,720 KB
testcase_10 AC 141 ms
41,672 KB
testcase_11 AC 138 ms
41,420 KB
testcase_12 AC 141 ms
41,528 KB
testcase_13 AC 132 ms
41,372 KB
testcase_14 AC 141 ms
41,620 KB
testcase_15 AC 143 ms
41,772 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 142 ms
41,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		double n = sc.nextDouble();
		double k = sc.nextDouble();
		double score = 50*n;
		double a = 0.8;
		double b = 0.2;
		double sub_score = (score)/(a+b*k);
		int total_score = (int)score + (int)sub_score;
		System.out.println(total_score);
	}
}
0