結果
問題 |
No.892 タピオカ
|
ユーザー |
![]() |
提出日時 | 2022-08-04 16:29:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 339 bytes |
コンパイル時間 | 687 ms |
コンパイル使用メモリ | 77,692 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 13:08:25 |
合計ジャッジ時間 | 1,263 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 3 |
ソースコード
#include <iostream> #include <vector> #include <map> #include<string> #include<algorithm> #include<math.h> #define ll long long using namespace std; int main() { ll a,b,c,d,e,f,ans; cin>>a>>b>>c>>d>>e>>f; ans=pow(a,b)+pow(c,d)+pow(e,f); if(ans%2==0) cout<<":-)"<<endl; else cout<<":-("<<endl;; return 0; }