結果
問題 |
No.2960 Judgement
|
ユーザー |
|
提出日時 | 2025-04-24 20:33:11 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 777 ms |
コード長 | 383 bytes |
コンパイル時間 | 788 ms |
コンパイル使用メモリ | 67,188 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-24 20:33:13 |
合計ジャッジ時間 | 1,922 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
#include <iostream> using namespace std; int main() { string s; int count = 0; for (int i = 0; i < 8; ++i) { cin >> s; if (s == "AC" || s == "NoOut") { count++; } } if (count >= 6) { cout << "Win\n"; } else if (count == 5) { cout << "Draw\n"; } else { cout << "Lose\n"; } return 0; }