結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2022-07-22 16:35:51 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 261 bytes |
コンパイル時間 | 2,169 ms |
コンパイル使用メモリ | 74,148 KB |
実行使用メモリ | 56,564 KB |
最終ジャッジ日時 | 2024-07-04 00:10:27 |
合計ジャッジ時間 | 6,215 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 = sc.nextInt() / 100; System.out.println(price + (price * tax)); } }