結果

問題 No.892 タピオカ
ユーザー 37zigen
提出日時 2020-01-23 04:25:55
言語 Java
(openjdk 23)
結果
AC  
実行時間 117 ms / 1,000 ms
コード長 291 bytes
コンパイル時間 2,084 ms
コンパイル使用メモリ 78,184 KB
実行使用メモリ 53,992 KB
最終ジャッジ日時 2024-07-18 07:07:44
合計ジャッジ時間 3,342 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;

class Main{
	public static void main(String[] args){
		new Main().run();
	}
	
	void run(){
		Scanner sc=new Scanner(System.in);
		int s=0;
		for(int i=0;i<3;++i){
			s+=sc.nextInt()%2;
			sc.nextInt();
		}
		System.out.println(s%2==0?":-)":":-(");
	}
}
0