結果

問題 No.892 タピオカ
ユーザー yuji9511yuji9511
提出日時 2019-09-27 21:24:32
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 790 bytes
コンパイル時間 1,505 ms
コンパイル使用メモリ 166,568 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-25 01:33:01
合計ジャッジ時間 1,993 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

/*** author: yuji9511 ***/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> lpair;
const ll MOD = 1e9 + 7;
const ll INF = 1e18;
#define rep(i,m,n) for(ll i = (m); i < (n); i++)
#define rrep(i,m,n) for(ll i = (m); i >= (n); i--)
#define printa(x,n) for(ll i = 0; i < n; i++){ cout << (x[i]) << " \n"[i==n-1];};
void print() {}
template <class Head, class... Tail>
void print(Head&& head, Tail&&... tail){ cout << head << " \n"[sizeof...(tail) == 0]; print(forward<Tail>(tail)...);}

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);
	ll a1,b1,a2,b2,a3,b3;
	cin >> a1 >> b1 >> a2 >> b2 >> a3 >> b3;
	ll cnt = 0;
	if(a1 % 2 == 0) cnt++;
	if(a2 % 2 == 0) cnt++;
	if(a3 % 2 == 0) cnt++;
	if(cnt % 2 == 0){
		print(":-)");
	}else{
		print(":-(");
	}
}
0