結果

問題 No.538 N.G.S.
ユーザー mikan765
提出日時 2017-07-07 22:41:31
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 2,215 ms
コンパイル使用メモリ 74,240 KB
実行使用メモリ 41,672 KB
最終ジャッジ日時 2024-10-06 10:06:52
合計ジャッジ時間 9,976 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other WA * 51
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.Arrays;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a1 = 21;//sc.nextDouble();
		int a2 = 9;//sc.nextInt();
		int a3 = 3;//sc.nextInt();
		System.out.println((a3*(a3-a1)+a2*(a2-a3))/(a2-a1));
	}
}
0