結果

問題 No.353 ヘイトプラス
ユーザー aaaaasatori
提出日時 2018-02-17 02:00:50
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 4,113 ms
コンパイル使用メモリ 76,024 KB
実行使用メモリ 56,060 KB
最終ジャッジ日時 2024-06-23 20:33:44
合計ジャッジ時間 5,916 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1 WA * 4 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No353 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		
		System.out.println((A*A - B*B) / (A-B));
	}
}
0