結果
| 問題 | No.2960 Judgement |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2024-11-18 15:36:40 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 777 ms |
| コード長 | 428 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 52,368 KB |
| 実行使用メモリ | 9,228 KB |
| 最終ジャッジ日時 | 2026-07-06 04:32:27 |
| 合計ジャッジ時間 | 1,406 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2960.cc: No.2960 Judgement - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
const int N = 8;
/* main */
int main() {
int win = 0;
for (int i = 0; i < N; i++) {
char s[16];
scanf("%s", s);
if (s[0] == 'A' || s[2] == 'O') win++;
}
if (win >= 6) puts("Win");
else if (win == 5) puts("Draw");
else puts("Lose");
return 0;
}
tnakao0123