結果

問題 No.892 タピオカ
コンテスト
ユーザー watasihakodama
提出日時 2019-09-29 23:11:25
言語 C++17(clang)
(clang++ 22.1.8 + boost 1.92.0 + ACL)
コンパイル:
clang++ -O2 -lm -std=c++1z -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 1 ms / 1,000 ms
+ 344µs
コード長 637 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 651 ms
コンパイル使用メモリ 140,248 KB
実行使用メモリ 9,848 KB
最終ジャッジ日時 2026-10-02 16:37:58
合計ジャッジ時間 1,638 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include<iostream>
#include<algorithm>
#include<vector>
#include<stack>
#include <cmath>
#include <limits>
#include<set>
#include <iomanip>
#include <queue>
#pragma GCC optimize("Ofast")
using namespace std;
const long long INF=20000000000;
//setprecision(2) <<

const int MOD = 1000000007;

long long max(long long a,long long b){
	if(a<b)return b;
	else return a;	
}
long long min(long long a,long long b){
	if(a>b)return b;
	else return a;	
}

set<long long>s;


int main(){
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	int a,b,c,d,e,f;
	cin>>a>>b>>c>>d>>e>>f;
	if((a+c+e)%2==0)cout<<":-)"<<endl;
	else cout<<":-("<<endl;
}
	
0