結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2020-05-12 14:13:56 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 1,976 ms |
コンパイル使用メモリ | 77,004 KB |
実行使用メモリ | 54,508 KB |
最終ジャッジ日時 | 2024-09-13 12:03:49 |
合計ジャッジ時間 | 6,445 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 13 WA * 10 |
ソースコード
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int price = scan.nextInt(); int tax = scan.nextInt(); double yuki ; yuki = price * (1+0.01*tax); System.out.println((int)yuki); } }