結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-26 00:11:00 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 514 bytes |
コンパイル時間 | 4,359 ms |
コンパイル使用メモリ | 276,452 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-01-26 00:11:09 |
合計ジャッジ時間 | 4,821 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template <class T> using V=vector<T>; template <class T> using VV=V<V<T>>; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n,m; cin>>n>>m; V<string> S(n); V<int> R(n); rep(i,n) cin>>S[i]>>R[i]; int ans=0; rep(i,n){ if(R[i]<1200) continue; if(S[i].substr(0,4)!="oooo") ans++; } cout<<ans<<endl; return 0; }