結果

問題 No.2960 Judgement
ユーザー Urtusea
提出日時 2024-12-19 19:57:16
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 777 ms
コード長 655 bytes
コンパイル時間 6,681 ms
コンパイル使用メモリ 272,632 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-19 19:57:24
合計ジャッジ時間 7,353 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

#define int  int32_t
#define Int  int64_t
#define uint uint32_t
#define uInt uint64_t

void init() {
    
}

void code() {
    std::string s;

    int cnt = 0;
    for (int i = 1; i <= 8; i++) {
        std::cin >> s;

        if (s == "AC" || s == "NoOut") {
            cnt += 1;
        }
    }

    if (cnt >= 6)
        std::cout << "Win\n";
    else if (cnt >= 5)
        std::cout << "Draw\n";
    else
        std::cout << "Lose\n";
}

int main() {
    std::cin.tie(nullptr)->sync_with_stdio(false);

    // for (int i = 1, n = (std::cin >> n, n); i <= n; i++)
    {
        init();
        code();
    }

    return 0;
}
0