結果
問題 |
No.1119 Division 3
|
ユーザー |
|
提出日時 | 2020-08-18 09:15:12 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 125 ms / 1,000 ms |
コード長 | 330 bytes |
コンパイル時間 | 4,210 ms |
コンパイル使用メモリ | 74,028 KB |
実行使用メモリ | 41,652 KB |
最終ジャッジ日時 | 2024-10-11 23:45:52 |
合計ジャッジ時間 | 4,771 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
import java.util.*; public class Main { public static void main (String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); int M = in.nextInt(); int L = in.nextInt(); if (N % 3 == 0 || M % 3 == 0 || L % 3 == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }