結果
問題 |
No.1119 Division 3
|
ユーザー |
![]() |
提出日時 | 2020-08-17 23:37:11 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 1,000 ms |
コード長 | 332 bytes |
コンパイル時間 | 2,079 ms |
コンパイル使用メモリ | 74,088 KB |
実行使用メモリ | 41,144 KB |
最終ジャッジ日時 | 2024-10-11 11:30:39 |
合計ジャッジ時間 | 5,245 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); if (x % 3 == 0 || y % 3 == 0 || z % 3 == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }