結果

問題 No.373 かけ算と割った余り
ユーザー sougo002sougo002
提出日時 2016-07-01 00:48:06
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 359 bytes
コンパイル時間 3,412 ms
コンパイル使用メモリ 73,848 KB
実行使用メモリ 41,648 KB
最終ジャッジ日時 2024-04-20 05:00:23
合計ジャッジ時間 4,084 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class TGMain {
    
    public static void main(String[] args){
        int a, b, c, N;
        int ans = 0;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        N = sc.nextInt();
        ans = a*b*c/N;
    
        System.out.println(ans);
    }
}
0