結果

問題 No.709 優勝可能性
ユーザー Yuhel TanakaYuhel Tanaka
提出日時 2018-10-03 15:40:50
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 277 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 120,280 KB
最終ジャッジ日時 2024-04-20 14:44:55
合計ジャッジ時間 6,086 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,284 KB
testcase_01 AC 40 ms
53,436 KB
testcase_02 AC 41 ms
52,880 KB
testcase_03 AC 39 ms
53,412 KB
testcase_04 AC 38 ms
52,396 KB
testcase_05 AC 38 ms
53,104 KB
testcase_06 AC 38 ms
52,692 KB
testcase_07 AC 39 ms
52,264 KB
testcase_08 AC 38 ms
52,448 KB
testcase_09 AC 38 ms
53,548 KB
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

read=lambda :list(map(int,input().split()))
n,m=read()
v=[[0,[]] for _ in range(m)]
for k in range(n):
  s=set()
  for i,j in enumerate(read()):
    if v[i][0]<j:
      v[i][0]=j
      v[i][1]=[k]
    elif v[i][0]==j:
      v[i][1].append(k)
    s|=set(v[i][1])
  print(len(s))
0