結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
bin101
|
| 提出日時 | 2019-09-27 22:15:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 803 bytes |
| コンパイル時間 | 850 ms |
| コンパイル使用メモリ | 72,148 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 16:58:23 |
| 合計ジャッジ時間 | 1,034 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <stdio.h>
#include <cmath>
#include <algorithm>
#include <cfloat>
#include <stack>
#include <queue>
#include <vector>
#include <string>
#include <iostream>
#include <set>
#include <map>
#include <time.h>
using namespace std;
typedef long long int ll;
typedef unsigned long long int ull;
typedef pair<int,int> P;
typedef pair<ll,pair<ll,ll> > p;
#define BIG_NUM 2000000000
#define MOD 1000000007
#define EPS 0.000000001
#define bit(n,k) ((n>>k)&1) /*nのk bit目*/
static const int MAX_SIZE = 1 << 17; //segment tree のサイズ。この実装では2べきにする必要がある。 2^17 ≒ 1.3 * 10^5
const ll INF=1ll<<60;
const int MAX=60;
int main(){
int a,b,A=0;
for(int i=0;i<3;i++){
cin>>a>>b;
A+=a;
}
if(A%2==0) cout<<":-)"<<endl;
else cout<<":-("<<endl;
}
bin101