結果
問題 | No.56 消費税 |
ユーザー |
|
提出日時 | 2018-04-09 17:42:47 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 55 ms / 5,000 ms |
コード長 | 444 bytes |
コンパイル時間 | 1,984 ms |
コンパイル使用メモリ | 74,332 KB |
実行使用メモリ | 50,492 KB |
最終ジャッジ日時 | 2024-06-26 20:38:43 |
合計ジャッジ時間 | 4,296 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int d = Integer.parseInt(input[0]); int p = Integer.parseInt(input[1]); System.out.println((d*(100+p)/100)); } }