結果

問題 No.169 何分かかるの!?
ユーザー ルッツファン
提出日時 2015-11-28 02:04:27
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 754 bytes
コンパイル時間 3,628 ms
コンパイル使用メモリ 74,368 KB
実行使用メモリ 36,992 KB
最終ジャッジ日時 2024-09-14 01:50:42
合計ジャッジ時間 5,439 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 1 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class yukicoder07 {
	public static void main(String[] args){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tes = null;
		
			try {
				tes = br.readLine();
			} catch (IOException e) {
				// TODO 自動生成された catch ブロック
				e.printStackTrace();
			}
			long x1 = Long.parseLong(tes);
			try {
				tes = br.readLine();
			} catch (IOException e) {
				// TODO 自動生成された catch ブロック
				e.printStackTrace();
			}
			long x2 = Long.parseLong(tes);
			
			long x3 =(long)(((double)(100-x1))/100d)*x2;
			
			
			
			System.out.println(x2*100L/x1);
			
			
	}

}
0