結果
問題 | No.706 多眼生物の調査 |
ユーザー | xkumiyu |
提出日時 | 2018-06-29 22:28:28 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 22 ms / 2,000 ms |
コード長 | 209 bytes |
コンパイル時間 | 91 ms |
コンパイル使用メモリ | 10,564 KB |
実行使用メモリ | 9,068 KB |
最終ジャッジ日時 | 2023-09-13 15:20:57 |
合計ジャッジ時間 | 841 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 21 ms
8,432 KB |
testcase_01 | AC | 21 ms
8,428 KB |
testcase_02 | AC | 19 ms
8,520 KB |
testcase_03 | AC | 19 ms
8,516 KB |
testcase_04 | AC | 20 ms
8,708 KB |
testcase_05 | AC | 20 ms
8,712 KB |
testcase_06 | AC | 22 ms
9,068 KB |
testcase_07 | AC | 20 ms
8,580 KB |
ソースコード
from collections import Counter N = int(input()) A = [None] * N for i in range(N): A[i] = input() c = Counter(A) c = sorted(c.items(), key=lambda x: (x[1], x[0]), reverse=True) print(c[0][0].count('^'))