結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 12:30:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 216 ms / 2,000 ms |
| コード長 | 1,077 bytes |
| コンパイル時間 | 301 ms |
| コンパイル使用メモリ | 82,228 KB |
| 実行使用メモリ | 77,000 KB |
| 最終ジャッジ日時 | 2025-01-25 22:02:14 |
| 合計ジャッジ時間 | 4,990 ms |
|
ジャッジサーバーID (参考情報) |
judge7 / judge10 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import sys
# sys.setrecursionlimit(10 ** 6)
# import pypyjit
# pypyjit.set_param('max_unroll_recursion=-1')
from collections import defaultdict as dd
S = input
R = range
P = print
def I(): return int(S())
def M(): return map(int, S().split())
def L(): return list(M())
def O(): return list(map(int, open(0).read().split()))
def yn(b): print("Yes" if b else "No")
biga = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
smaa = "abcdefghijklmnopqrstuvwxyz"
ctoi = lambda c: ord(c) - ord('a')
ctoi2 = lambda c: ord(c) - ord('A')
itoc = lambda i: chr(ord('a') + i)
itoc2 = lambda i: chr(ord('A') + i)
inf = 10 ** 18
mod = 998244353
dxy4 = [(-1, 0), (0, -1), (1, 0), (0, 1)]
dxy8 = [(-1, -1), (-1, 0), (-1, 1), (0, -1), (0, 1), (1, -1), (1, 0), (1, 1)]
def acc(a):
b = [0]
for i in a:
b.append(b[-1] + i)
return b
def gin(N, M):
g = [[] for _ in range(N)]
for _ in range(M):
u, v = map(int, input().split())
u -= 1
v -= 1
g[u].append(v)
g[v].append(u)
return g
n,m=M();ans=0
for i in R(n):
r,s=input().split();s=int(s)
if s>=1200 and (not r.startswith("oooo")):
ans+=1
print(ans)