結果

問題 No.3010 水色コーダーさん
ユーザー takoyaki782
提出日時 2025-07-13 04:55:46
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 939 bytes
コンパイル時間 4,727 ms
コンパイル使用メモリ 251,444 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2025-07-13 04:55:56
合計ジャッジ時間 9,172 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
ll inf_ll = 9223372036854775807;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using mint = atcoder::modint998244353;
using mint1 = atcoder::modint1000000007;
using Pa = std::pair<ll, ll>;

int Yes(bool x){
    if(x) cout << "Yes";
    else cout << "No";
    cout << endl;
    return 0;
}

int main(){
    ll N, M;
    cin >> N >> M;
    ll ans = 0;
    rep(i, N){
        string S;
        ll R;
        cin >> S >> R;
        if(R < 1200) continue;
        bool x = false;
        rep(j, 4){
            if(S[j] == 'x'){
                x = true;
            }
        }
        if(x) ans++;
    }
    cout << ans;
}
0