結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
|
提出日時 | 2025-06-29 12:54:07 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 119 ms / 2,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 812 ms |
コンパイル使用メモリ | 81,216 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-06-29 12:54:13 |
合計ジャッジ時間 | 5,886 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <iostream> #include <string> int main() { int N, M; std::cin >> N >> M; int count = 0; while (N--) { std::string S; int R; std::cin >> S >> R; S = S.substr(0, 4); count += R >= 1200 && S.find('x') < 4; } std::cout << count << std::endl; }