結果
| 問題 | No.24 数当てゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-04 12:36:02 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 17 ms / 5,000 ms |
| + 952µs | |
| コード長 | 300 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-15 14:27:04 |
| 合計ジャッジ時間 | 1,556 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
N = [0]*10
n = int(input())
s = [list(input().split()) for i in range(n)]
for i in range(n):
if s[i][4]=="NO":
s[i].remove("NO")
for j in s[i]:
N[int(j)] -= 1
else:
s[i].remove("YES")
for j in s[i]:
N[int(j)] += 1
print(N.index(max(N)))