結果
問題 |
No.892 タピオカ
|
ユーザー |
|
提出日時 | 2020-03-19 18:15:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 363 bytes |
コンパイル時間 | 1,795 ms |
コンパイル使用メモリ | 166,664 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 03:24:42 |
合計ジャッジ時間 | 2,149 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 3 |
ソースコード
#include <bits/stdc++.h> typedef long long ll; int main() { ll tapi[6]; ll tapiall=0; for(int i=0;i<6;i++) std::cin >> tapi[i]; for(int i=0;i<6;i+=2) tapiall+=std::pow((double)tapi[i],(double)tapi[i+1]); if(tapiall%2==0) std::cout << ":-)" << std::endl; else std::cout << ":-(" << std::endl; return 0; }