結果
問題 |
No.24 数当てゲーム
|
ユーザー |
|
提出日時 | 2017-07-04 12:36:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 5,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 142 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-05 15:04:54 |
合計ジャッジ時間 | 951 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
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)))