結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 12:50:34 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 108 ms / 2,000 ms |
| コード長 | 628 bytes |
| コンパイル時間 | 1,780 ms |
| コンパイル使用メモリ | 162,528 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2025-01-25 22:23:20 |
| 合計ジャッジ時間 | 5,015 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
#include <algorithm>
#define rep(i,n) for(ll i = 0;i<n;i++)
#define space " "
using namespace std;
using ll = long long;
ll powll (ll a,ll p){
ll res = 1;
for(ll i = 0;i<p;i++)res*=a;
return res;
}
int main() {
ll n,m;
cin >> n >> m;
vector<pair<ll,string>> dat(n);
rep(i,n)
cin >> dat[i].second >> dat[i].first;
ll ans = 0;
rep(i,n){
if(dat[i].first>=1200){
rep(j,4){
if(dat[i].second[j]=='x'){
ans++;
break;
}
}
}
}
cout << ans << endl;
}