結果

問題 No.56 消費税
ユーザー カニ戯(ryカニ戯(ry
提出日時 2015-02-26 11:19:36
言語 Java21
(openjdk 21)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 205 bytes
コンパイル時間 2,149 ms
コンパイル使用メモリ 71,452 KB
実行使用メモリ 57,248 KB
最終ジャッジ日時 2023-09-25 01:46:41
合計ジャッジ時間 6,546 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,784 KB
testcase_01 AC 124 ms
55,488 KB
testcase_02 AC 123 ms
55,492 KB
testcase_03 AC 124 ms
55,912 KB
testcase_04 AC 123 ms
55,704 KB
testcase_05 AC 122 ms
55,492 KB
testcase_06 AC 123 ms
55,720 KB
testcase_07 AC 123 ms
55,988 KB
testcase_08 AC 123 ms
55,648 KB
testcase_09 AC 123 ms
55,984 KB
testcase_10 WA -
testcase_11 AC 125 ms
55,832 KB
testcase_12 AC 123 ms
55,724 KB
testcase_13 AC 122 ms
55,824 KB
testcase_14 AC 123 ms
55,828 KB
testcase_15 AC 125 ms
55,836 KB
testcase_16 AC 123 ms
55,636 KB
testcase_17 AC 126 ms
54,108 KB
testcase_18 AC 124 ms
55,456 KB
testcase_19 AC 124 ms
55,640 KB
testcase_20 AC 128 ms
55,400 KB
testcase_21 AC 126 ms
55,332 KB
testcase_22 AC 123 ms
55,516 KB
testcase_23 AC 122 ms
55,576 KB
testcase_24 AC 128 ms
55,652 KB
testcase_25 AC 123 ms
55,556 KB
testcase_26 AC 122 ms
55,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main {
	public static void main(String[] a) {
		Scanner s=new Scanner(System.in);
		int P=s.nextInt(),Q=s.nextInt();
		System.out.println((int)(P*(Q/100D))+P);
	}
}
0