結果

問題 No.445 得点
ユーザー YamaKasa
提出日時 2018-05-24 22:26:18
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 2,712 ms
コンパイル使用メモリ 74,652 KB
実行使用メモリ 41,528 KB
最終ジャッジ日時 2024-06-28 17:32:33
合計ジャッジ時間 5,313 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int A = scan.nextInt();
		int B = scan.nextInt();
		scan.close();
		double d = 0.8 + 0.2 * B;
		int ans = 50 * A + (int) (50 * A / d);
		System.out.println(ans);
	}
}
0