結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-22 01:33:10 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 115 ms / 2,000 ms |
| コード長 | 485 bytes |
| コンパイル時間 | 3,742 ms |
| コンパイル使用メモリ | 273,856 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2025-02-22 01:33:19 |
| 合計ジャッジ時間 | 5,976 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define all(a) begin(a) end(a)
#define rep(i,a,b) for(ll i = a; i < (b); i++)
int main(){
int n,m;
cin >> n >> m;
int ans = 0;
rep(i,0,n){
string s;
cin >> s;
int r;
cin >> r;
if(r >= 1200){
int cnt =0;
rep(j,0,4){
if(s[j] == 'x') cnt++;
}
if(cnt) ans++;
}
}
cout << ans << endl;
}