結果
| 問題 | No.1119 Division 3 |
| コンテスト | |
| ユーザー |
ks2m
|
| 提出日時 | 2020-07-22 21:21:05 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 1,000 ms |
| + 371µs | |
| コード長 | 359 bytes |
| 記録 | |
| コンパイル時間 | 1,769 ms |
| コンパイル使用メモリ | 83,636 KB |
| 実行使用メモリ | 43,008 KB |
| 最終ジャッジ日時 | 2026-07-27 03:07:50 |
| 合計ジャッジ時間 | 3,753 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
import java.util.Scanner;
public class Main {
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();
if (x % 3 == 0 || y % 3 == 0 || z % 3 == 0) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
ks2m