結果
| 問題 |
No.1119 Division 3
|
| コンテスト | |
| ユーザー |
ks2m
|
| 提出日時 | 2020-07-22 21:21:05 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 123 ms / 1,000 ms |
| コード長 | 359 bytes |
| コンパイル時間 | 2,321 ms |
| コンパイル使用メモリ | 74,608 KB |
| 実行使用メモリ | 54,120 KB |
| 最終ジャッジ日時 | 2024-06-22 12:39:01 |
| 合計ジャッジ時間 | 4,746 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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