結果

問題 No.892 タピオカ
ユーザー kikage
提出日時 2020-01-30 15:52:14
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 226 bytes
コンパイル時間 766 ms
コンパイル使用メモリ 54,884 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-16 03:36:12
合計ジャッジ時間 1,354 ms
ジャッジサーバーID
(参考情報)
judge6 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int A,B,sum=0;
    for(int i=0;i<3;i++){
        cin >> A >>B;
        sum+=A;
    }
    if(sum%2==0)cout << ":-)" <<endl;
    else cout << ":-(" <<endl;
    return 0;
}
0