結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-02-22 01:33:49 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 117 ms / 2,000 ms |
コード長 | 325 bytes |
コンパイル時間 | 10,538 ms |
コンパイル使用メモリ | 170,448 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-22 01:34:03 |
合計ジャッジ時間 | 6,088 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { int N, M; cin >> N >> M; int ans{}; for (int i = 0; i < N; i++) { string s; int r; cin >> s >> r; ans += (r >= 1200) && (s[0] == 'x' || s[1] == 'x' || s[2] == 'x' || s[3] == 'x'); } cout << ans << endl; }