結果

問題 No.3010 水色コーダーさん
ユーザー あいすあうと
提出日時 2025-01-25 12:42:37
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 106 ms / 2,000 ms
コード長 680 bytes
コンパイル時間 2,791 ms
コンパイル使用メモリ 276,284 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-25 22:18:00
合計ジャッジ時間 5,682 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template<typename T> using vc = vector<T>;
template<typename T> using vv = vc<vc<T>>;
using vl = vc<ll>;
using vs = vc<string>;
#define rep(i,n) for(ll i=0;i<(n);i++)
#define pb push_back
#define pob pop_back
#define YES cout<<"Yes"<<endl
#define NO cout<<"No"<<endl
#define YN {cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}
#define M1 cout<<"-1"<<endl
#define INF (ll)4e18
vl dx = {1,-1,0,0};vl dy = {0,0,1,-1};
int main(){
	ll n,m,r,count=0;
	string s;
	cin >> n >> m;
	rep(i,n){
		cin >> s >> r;
		if(r>=1200){
			rep(j,4){
				if(s[j]=='x'){
					count++;
					break;
				}
			}
		}
	}
	cout << count << endl;
}
0