結果

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
	
	int N,M; cin >> N >> M;
	int answer = 0;
	while(N--){
		string s; cin >> s;
		int r; cin >> r;
		if(r < 1200) continue;
		for(int i=0; i<4; i++) if(s.at(i) == 'x'){answer++; break;}
	}
	cout << answer << endl;
}
0