結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 12:50:36 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 116 ms / 2,000 ms |
コード長 | 318 bytes |
コンパイル時間 | 3,142 ms |
コンパイル使用メモリ | 273,768 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-25 22:23:34 |
合計ジャッジ時間 | 6,227 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge8 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n = 0,m = 0,ans = 0; cin >> n >> m; for (int i = 0;i < n;i++) { string s = ""; int r = 0; cin >> s >> r; if (1200 <= r && ((s.substr(0,4)).contains("x"))) { ans++; } } cout << ans; }