結果

問題 No.2960 Judgement
ユーザー karinohito
提出日時 2025-01-01 22:23:40
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 777 ms
コード長 434 bytes
コンパイル時間 1,904 ms
コンパイル使用メモリ 193,192 KB
最終ジャッジ日時 2025-02-26 17:23:32
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

using ll = long long;
#define rep(i,n) for(int i=0;i<n;i++)
#define rep2(i,s,t) for(int i=s;i<t;i++)


int main() {

    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    int cnt=0;
    rep(i,8){
        string S;
        cin>>S;
        if(S=="AC"||S=="NoOut")cnt++;
    }
    if(cnt>=6)cout<<"Win"<<endl;
    else if(cnt==5)cout<<"Draw"<<endl;
    else cout<<"Lose"<<endl;
    

}
0