結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2019-09-29 23:11:25 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 637 bytes |
コンパイル時間 | 1,101 ms |
コンパイル使用メモリ | 141,040 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 15:01:03 |
合計ジャッジ時間 | 1,446 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#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; }