結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-25 19:51:00 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 620 bytes |
コンパイル時間 | 14,784 ms |
コンパイル使用メモリ | 317,760 KB |
実行使用メモリ | 11,176 KB |
最終ジャッジ日時 | 2025-01-26 00:04:08 |
合計ジャッジ時間 | 16,617 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge7 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#ifdef LOCAL #define _GLIBCXX_DEBUG #endif #include <bits/stdc++.h> #include <atcoder/all> using namespace atcoder; using namespace std; #define ll long long #define rep(i,n) for(ll i=0;i<(ll)n;i++) #define all(v) v.begin(),v.end() const ll INF = (ll)2e18; int main(){ cin.tie(0); ios::sync_with_stdio(false); ll N, M; cin >> N >> M; vector<string> S(N); vector<ll> R(N); ll ans = 0; rep(i, N){ cin >> S[i] >> R[i]; rep(j,4){ if(S[i][j]=='x'&&R[i]>=1200){ ans++; break; } } } cout << ans << endl; }