結果
問題 | No.56 消費税 |
ユーザー | fal_rnd |
提出日時 | 2017-03-31 16:01:41 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 138 ms / 5,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 2,029 ms |
コンパイル使用メモリ | 74,104 KB |
実行使用メモリ | 54,364 KB |
最終ジャッジ日時 | 2024-07-18 03:29:32 |
合計ジャッジ時間 | 6,684 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
import java.util.Scanner; public class Main{ static Scanner s=new Scanner(System.in); public static void main(String __[]){ input(); solve(); } private static void input(){ } private static void solve(){ int a=s.nextInt(),b=s.nextInt(); System.out.println((int)(a*b/100.0+a)); } }