結果
問題 |
No.892 タピオカ
|
ユーザー |
![]() |
提出日時 | 2019-10-13 18:34:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 380 bytes |
コンパイル時間 | 910 ms |
コンパイル使用メモリ | 81,112 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-16 06:27:28 |
合計ジャッジ時間 | 1,570 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 2 WA * 4 |
ソースコード
#include<iostream> #include<algorithm> #include <vector> #include<cmath> #include<iomanip> #include<queue> using namespace std; typedef long long int lint; int main() { int a1, a2, a3, b1, b2, b3; cin >> a1 >> a2 >> a3 >> b1 >> b2 >> b3; if ((int(pow(a1, b1)) + int(pow(a2, b2)) + int(pow(a3, b3))) % 2) { cout << ":-(" << endl; } else { cout << ":-)" << endl; } }