結果
| 問題 |
No.2960 Judgement
|
| コンテスト | |
| ユーザー |
eve__fuyuki
|
| 提出日時 | 2024-11-17 15:53:05 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 777 ms |
| コード長 | 382 bytes |
| コンパイル時間 | 1,978 ms |
| コンパイル使用メモリ | 193,400 KB |
| 最終ジャッジ日時 | 2025-02-25 05:15:00 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
void fast_io() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
int main() {
fast_io();
int cnt = 0;
for (int i = 0; i < 8; i++) {
string s;
cin >> s;
if (s == "AC" || s == "NoOut") {
cnt++;
}
}
if (cnt >= 6) {
cout << "Win\n";
} else if (cnt == 5) {
cout << "Draw\n";
} else {
cout << "Lose\n";
}
}
eve__fuyuki