結果

問題 No.56 消費税
コンテスト
ユーザー paraskevidekatriaphobia
提出日時 2018-12-14 15:44:57
言語 Java
(openjdk 25.0.2)
コンパイル:
javac -encoding UTF8 _filename_
実行:
java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
結果
AC  
実行時間 56 ms / 5,000 ms
コード長 622 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,285 ms
コンパイル使用メモリ 81,784 KB
実行使用メモリ 41,796 KB
最終ジャッジ日時 2026-04-12 09:29:51
合計ジャッジ時間 4,771 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package yukicoder;

import java.util.Scanner;

/**
 *
 * @author hjhto
 */
public class YukicoderNo56 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        
        System.out.println((a*(100+b))/100);
    }
    
}
0