結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-03-24 10:59:16 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 339 bytes |
コンパイル時間 | 3,948 ms |
コンパイル使用メモリ | 274,392 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-24 10:59:24 |
合計ジャッジ時間 | 8,258 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int N,M; cin>>N>>M; int an=0; for(int i=0;i<N;i++){ string S; cin>>S; int R; cin>>R; bool BAD=0; for(int m=0;m<4;m++){ if(S[m]=='x')BAD=1; } if(BAD&&R>=1200)an++; } cout<<an<<endl; }