結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2023-09-04 15:19:30 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 292 bytes |
コンパイル時間 | 4,281 ms |
コンパイル使用メモリ | 74,476 KB |
実行使用メモリ | 56,384 KB |
最終ジャッジ日時 | 2024-06-22 13:41:11 |
合計ジャッジ時間 | 7,459 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 23 |
ソースコード
import java.util.Scanner; class Wandbox { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int d = sc.nextInt(); double p = sc.nextInt(); p /= 100; double ans = d * (1 + p); System.out.println(Math.floor(ans)); } }