結果

問題 No.1119 Division 3
ユーザー xRS43BofaUEZ5gcxRS43BofaUEZ5gc
提出日時 2021-03-04 09:30:04
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 344 bytes
コンパイル時間 3,127 ms
コンパイル使用メモリ 74,436 KB
実行使用メモリ 54,544 KB
最終ジャッジ日時 2024-04-15 03:13:05
合計ジャッジ時間 6,004 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
53,972 KB
testcase_01 AC 111 ms
52,696 KB
testcase_02 AC 124 ms
54,036 KB
testcase_03 AC 125 ms
54,384 KB
testcase_04 AC 121 ms
54,336 KB
testcase_05 AC 122 ms
54,004 KB
testcase_06 WA -
testcase_07 AC 118 ms
54,060 KB
testcase_08 AC 120 ms
54,360 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 127 ms
54,024 KB
testcase_17 AC 111 ms
53,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class HelloWorld {

	    public static void main(String[] args) throws Exception {

	    	Scanner sc = new Scanner(System.in);
	    	int x = sc.nextInt();
	    	int y = sc.nextInt();
	    	int z = sc.nextInt();
	    	sc.close();

	    	System.out.println((long)x * y * z  % 3== 0 ? "Yes" : "No");

	    	}



}
0