結果

問題 No.892 タピオカ
ユーザー SHOGO501SHOGO501
提出日時 2019-09-27 21:34:40
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 639 ms
コンパイル使用メモリ 69,296 KB
最終ジャッジ日時 2025-01-07 19:22:28
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 3 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <string>
using namespace std;

int main(){
    int key=0,A,B;
   for(int i=0;i<3;i++){
     cin >> A >> B;
     key += A^B;
   }
  if(key%2==0)cout << ":-)" << endl;
  else cout << ":-(" << endl;
}
0