結果
問題 | No.3010 水色コーダーさん |
ユーザー |
![]() |
提出日時 | 2025-02-01 16:51:43 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 130 ms / 2,000 ms |
コード長 | 1,130 bytes |
コンパイル時間 | 4,389 ms |
コンパイル使用メモリ | 219,944 KB |
実行使用メモリ | 9,788 KB |
最終ジャッジ日時 | 2025-02-01 16:51:52 |
合計ジャッジ時間 | 8,698 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#ifndef ONLINE_JUDGE #define _GLIBCXX_DEBUG #endif #include <bits/stdc++.h> #include <atcoder/all> using namespace atcoder; using namespace std; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define ll long long #define bigmod 1000000007 #define P pair<ll,ll> #define T tuple<ll,ll,ll> #define nall(a) a.begin(),a.end() #define rall(a) a.rbegin(),a.rend()//逆順ソート #define inf 2000000000000000000LL #define mint modint998244353 #define mkp make_pair #define mkt make_tuple template<class X> using priority_minq = priority_queue<X, vector<X>, greater<X>>;//小さい順 ll min(ll a1,ll b1){if(a1>b1)return b1;else return a1;} ll max(ll a1,ll b1){if(a1>b1)return a1;else return b1;} #define chmax(x,y) x = max(x,y) #define chmin(x,y) x = min(x,y) //cout << fixed << setprecision(10); double型出力するときに使うやつ ll n,m; string st[200009]; int main(){ cin >> n >> m; ll ans = 0; rep(i,n){ ll r; cin >> st[i] >> r; if(r >= 1200){ if(st[i][0] == 'x' || st[i][1] == 'x' || st[i][2] == 'x' || st[i][3] == 'x')ans++; } } cout << ans << endl; }