結果

問題 No.3010 水色コーダーさん
ユーザー しんじ
提出日時 2025-01-25 17:36:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 648 bytes
コンパイル時間 1,418 ms
コンパイル使用メモリ 162,272 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-25 23:59:10
合計ジャッジ時間 2,976 ms
ジャッジサーバーID
(参考情報)
judge4 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0; i < int(n); i++)
#define FOR(i,a,b) for(ll i = a; i < (ll)(b); i++)
#define all(a) (a).begin(),(a).end()
using ll = long long;
using VI = vector<int>;
using P = pair<int,int>;
const long long INF = 1LL << 60;
const int DX[] = {1,0,-1,0};
const int DY[] = {0,1,0,-1};

int main(){
	cin.tie(nullptr);
	ios_base::sync_with_stdio(false);
	
	int n,m;
	cin >> n >> m;
	
	int ans = 0;
	rep(i,n){
		string s; int r;
		cin >> s >> r;
		if(r >= 1200){
			bool ok = false;
			rep(j,4){
				if(s[j] == 'x') ok = true;
			}
			if(ok) ans++;
		}
	}
	
	cout << ans << endl;
	return 0;
}
0