結果
| 問題 |
No.2960 Judgement
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-28 15:27:27 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 777 ms |
| コード長 | 415 bytes |
| コンパイル時間 | 2,201 ms |
| コンパイル使用メモリ | 192,960 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-02-28 15:27:30 |
| 合計ジャッジ時間 | 3,314 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF=0x3f3f3f3f;
const ll LLINF=0x3f3f3f3f3f3f3f3fLL;
const int MAX=3e5+10;
const int mod=998244353;
int main()
{
int n,i,cnt;
string s[11];
n=8;
cnt=0;
for(i=0;i<n;i++)
{
cin>>s[i];
if(s[i]=="AC") cnt++;
else if(s[i]=="NoOut") cnt++;
}
if(cnt>=6) puts("Win");
else if(cnt==5) puts("Draw");
else puts("Lose");
return 0;
}