結果
問題 | No.56 消費税 |
ユーザー |
|
提出日時 | 2020-12-25 22:48:09 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 66 ms / 5,000 ms |
コード長 | 447 bytes |
コンパイル時間 | 2,643 ms |
コンパイル使用メモリ | 84,832 KB |
実行使用メモリ | 51,212 KB |
最終ジャッジ日時 | 2024-09-22 16:13:33 |
合計ジャッジ時間 | 5,365 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.stream.Stream; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // D P int[] input = Stream.of(br.readLine().split(" ")).mapToInt(Integer::parseInt).toArray(); System.out.println(input[0] * (input[1] + 100) / 100); } }