結果

問題 No.56 消費税
ユーザー リチウム
提出日時 2014-11-04 23:39:58
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 2,484 ms
コンパイル使用メモリ 73,728 KB
実行使用メモリ 41,576 KB
最終ジャッジ日時 2024-12-30 17:27:30
合計ジャッジ時間 7,837 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 6 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int d=sc.nextInt();
		int p=sc.nextInt();
		int ans=d*(1+p/100);
		System.out.println(ans);
		
		
		}
}
0