結果

問題 No.538 N.G.S.
ユーザー fjafjafjafjafjafja
提出日時 2017-08-13 23:11:47
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 3,243 ms
コンパイル使用メモリ 74,740 KB
実行使用メモリ 41,548 KB
最終ジャッジ日時 2024-04-21 10:33:41
合計ジャッジ時間 11,546 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
41,504 KB
testcase_01 AC 109 ms
39,816 KB
testcase_02 AC 115 ms
39,812 KB
testcase_03 AC 129 ms
41,508 KB
testcase_04 AC 116 ms
41,128 KB
testcase_05 AC 123 ms
40,972 KB
testcase_06 AC 124 ms
40,708 KB
testcase_07 WA -
testcase_08 AC 119 ms
41,080 KB
testcase_09 AC 110 ms
39,936 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 121 ms
41,036 KB
testcase_18 AC 120 ms
41,456 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 117 ms
40,300 KB
testcase_33 AC 128 ms
41,268 KB
testcase_34 AC 123 ms
41,508 KB
testcase_35 AC 126 ms
41,356 KB
testcase_36 AC 122 ms
41,204 KB
testcase_37 AC 110 ms
40,108 KB
testcase_38 AC 120 ms
41,096 KB
testcase_39 AC 124 ms
41,252 KB
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 AC 113 ms
40,088 KB
testcase_45 AC 115 ms
40,588 KB
testcase_46 WA -
testcase_47 AC 114 ms
40,824 KB
testcase_48 AC 119 ms
40,836 KB
testcase_49 WA -
testcase_50 AC 119 ms
40,920 KB
testcase_51 AC 121 ms
41,076 KB
testcase_52 WA -
testcase_53 WA -
testcase_54 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class N538
{
	public static void main(String[] args)
	{
		Scanner sc=new Scanner(System.in);
		long[] b=new long[3];
		for(int i=0;i<3;i++){b[i]=sc.nextLong();}
		long b4=(int)Math.pow((b[2]-b[1]),2)/(b[1]-b[0])+b[2];
		System.out.println(b4);
	}
}
0