結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
d_sei
|
| 提出日時 | 2019-10-13 18:39:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 382 bytes |
| コンパイル時間 | 762 ms |
| コンパイル使用メモリ | 81,240 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-16 06:35:02 |
| 合計ジャッジ時間 | 1,401 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 3 WA * 3 |
ソースコード
#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 >> b1 >> a2 >> b2 >> a3 >> b3;
if ((int(pow(a1, b1)) + int(pow(a2, b2)) + int(pow(a3, b3))) % 2) {
cout << ":-(" << endl;
}
else {
cout << ":-)" << endl;
}
}
d_sei