結果

問題 No.3010 水色コーダーさん
ユーザー Hyoka7
提出日時 2025-01-25 12:33:09
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 735 bytes
コンパイル時間 1,656 ms
コンパイル使用メモリ 194,036 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-25 22:03:37
合計ジャッジ時間 4,508 ms
ジャッジサーバーID
(参考情報)
judge3 / judge7
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
#define rep(a, b, c) for (int a = b; a < (int)c; ++a)

vector<int> xm = {-1, 1, 0, 0};
vector<int> ym = {0, 0, 1, -1};

const ll MOD = 998244353;

int main()
{
    int n, m;
    cin >> n >> m;
    int ans = 0;
    rep(i, 0, n)
    {
        string s;
        int r;
        cin >> s >> r;
        if (r < 1200)
        {
            continue;
        }
        else
        {
            bool iwaied = false;
            rep(j, 0, 4)
            {
                if (s[j] == 'x')
                {
                    iwaied = true;
                }
            }
            ans += iwaied;
        }
    }
    cout << ans << endl;
}
0