結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 13:11:45 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 97 ms / 2,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 10,627 ms |
| コンパイル使用メモリ | 251,956 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2025-01-25 22:36:48 |
| 合計ジャッジ時間 | 12,563 ms |
|
ジャッジサーバーID (参考情報) |
judge11 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int n,m;
cin>>n>>m;
int ans=0;
for(int i=0;i<n;i++){
string s;
int r;
cin>>s>>r;
bool batu=false;
for(int i=0;i<4;i++){
if(s[i]=='x') batu=true;
}
if(batu&&r>=1200) ans++;
}
cout<<ans<<endl;
}