結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2022-07-22 16:41:24 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 259 bytes |
コンパイル時間 | 2,153 ms |
コンパイル使用メモリ | 73,760 KB |
実行使用メモリ | 54,748 KB |
最終ジャッジ日時 | 2024-07-04 00:15:57 |
合計ジャッジ時間 | 5,858 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 6 WA * 17 |
ソースコード
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int price = sc.nextInt(); int tax = (100 + sc.nextInt()) / 100; System.out.println(price * tax); } }