結果

問題 No.3010 水色コーダーさん
ユーザー An Moh
提出日時 2025-03-25 15:24:31
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 314 bytes
コンパイル時間 2,272 ms
コンパイル使用メモリ 195,752 KB
実行使用メモリ 10,264 KB
最終ジャッジ日時 2025-03-25 15:24:39
合計ジャッジ時間 7,486 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
  int N,M,sum=0;cin>>N>>M;
  vector<string> S(N);
  vector<int> R(N);
  for(int i=0;i<N;i++){
    cin>>S.at(i)>>R.at(i);
    if(R.at(i)>=1200&(S.at(i).at(0)=='x'||S.at(i).at(1)=='x'||S.at(i).at(2)=='x'||S.at(i).at(3)=='x')) sum++;
  }
  cout<<sum<<endl;
}
0