結果

問題 No.892 タピオカ
ユーザー stone_725
提出日時 2019-12-01 08:02:23
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 258 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 119,680 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 15:41:34
合計ジャッジ時間 936 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(){
    int cnt = 0;
    for(int i = 0; i < 3; i++){
        int a, b;
        cin >> a >> b;
        cnt += a % 2;
    }
    if(cnt % 2){
        cout << ":-(\n";
    }else{
        cout << ":-)\n";
    }
}
0