結果
問題 |
No.2960 Judgement
|
ユーザー |
|
提出日時 | 2024-11-16 15:32:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 777 ms |
コード長 | 510 bytes |
コンパイル時間 | 1,918 ms |
コンパイル使用メモリ | 197,008 KB |
最終ジャッジ日時 | 2025-02-25 04:22:07 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); vector<string> a = { "AC", "WA", "RE", "NoOut", "NoSub" }; int cnt = 0; for(int i = 0; i < 8; i++){ string s; cin >> s; cnt += (s == "AC" || s == "NoOut"); } if(cnt >= 6){ cout << "Win\n"; }else if(cnt == 5){ cout << "Draw\n"; }else{ cout << "Lose\n"; } }