結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
025218
|
| 提出日時 | 2019-11-12 13:48:17 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 125 ms / 1,000 ms |
| コード長 | 548 bytes |
| コンパイル時間 | 2,682 ms |
| コンパイル使用メモリ | 74,292 KB |
| 実行使用メモリ | 54,272 KB |
| 最終ジャッジ日時 | 2024-09-18 23:48:55 |
| 合計ジャッジ時間 | 4,909 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
long[][] t = new long[3][2];
Scanner sc = new Scanner(System.in);
for(int i=0;i<3;i++){
t[i][0] = sc.nextLong();
t[i][1] = sc.nextLong();
}
sc.close();
int c = 0;
for(int i=0; i<3 ;i++){
if(t[i][0] % 2 == 0) c++;
}
if(c==1 || c== 3){
System.out.println(":-)");
}else{
System.out.println(":-(");
}
}
}
025218