結果
問題 | No.3010 水色コーダーさん |
ユーザー |
![]() |
提出日時 | 2025-01-25 12:33:52 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 135 ms / 2,000 ms |
コード長 | 857 bytes |
コンパイル時間 | 320 ms |
コンパイル使用メモリ | 82,640 KB |
実行使用メモリ | 77,448 KB |
最終ジャッジ日時 | 2025-01-25 22:03:53 |
合計ジャッジ時間 | 3,870 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge10 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
from collections import defaultdict, deque, Counter# from functools import cache# import copyfrom itertools import combinations, permutations, product, accumulate, groupby, chain# from more_itertools import distinct_permutationsfrom heapq import heapify, heappop, heappush, heappushpopimport mathimport bisect# from pprint import pprintfrom random import randint, shuffle, randrange# from sortedcontainers import SortedSet, SortedList, SortedDictimport sys# sys.setrecursionlimit(2000000)input = lambda: sys.stdin.readline().rstrip('\n')inf = float('inf')mod1 = 10**9+7mod2 = 998244353def ceil_div(x, y): return -(-x//y)#################################################N, M = map(int, input().split())ans = 0for _ in range(N):s, r = input().split()r = int(r)if r >= 1200 and "x" in s[:4]:ans += 1print(ans)