結果

問題 No.538 N.G.S.
ユーザー mosmos_21mosmos_21
提出日時 2017-07-01 00:02:33
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 360 bytes
コンパイル時間 2,083 ms
コンパイル使用メモリ 73,804 KB
実行使用メモリ 56,360 KB
最終ジャッジ日時 2024-04-15 07:17:25
合計ジャッジ時間 10,784 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
54,072 KB
testcase_01 AC 135 ms
54,220 KB
testcase_02 AC 132 ms
54,164 KB
testcase_03 AC 132 ms
53,848 KB
testcase_04 AC 133 ms
54,056 KB
testcase_05 AC 133 ms
53,900 KB
testcase_06 AC 131 ms
54,100 KB
testcase_07 WA -
testcase_08 AC 134 ms
54,236 KB
testcase_09 AC 132 ms
53,992 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 131 ms
53,952 KB
testcase_13 AC 132 ms
53,996 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
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 132 ms
53,720 KB
testcase_33 AC 131 ms
54,560 KB
testcase_34 AC 136 ms
54,284 KB
testcase_35 AC 131 ms
53,848 KB
testcase_36 AC 130 ms
54,040 KB
testcase_37 AC 132 ms
54,040 KB
testcase_38 AC 131 ms
54,368 KB
testcase_39 AC 130 ms
54,240 KB
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 AC 137 ms
54,092 KB
testcase_45 AC 132 ms
53,844 KB
testcase_46 WA -
testcase_47 AC 131 ms
54,056 KB
testcase_48 AC 134 ms
54,252 KB
testcase_49 WA -
testcase_50 AC 133 ms
54,060 KB
testcase_51 AC 130 ms
53,856 KB
testcase_52 WA -
testcase_53 WA -
testcase_54 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

package test;

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
       Scanner in = new Scanner(System.in);
       int b1 = in.nextInt();
       int b2 = in.nextInt();
       int b3 = in.nextInt();
       System.out.println((int)(b3 * (b3 - b2) / ((b2 - b1) * 1.0) + b3 - b2 * (b3 - b2) / ((b2 - b1) * 1.0)));
    }
}
0