結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-02-10 17:35:39 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 129 ms / 2,000 ms |
コード長 | 353 bytes |
コンパイル時間 | 3,361 ms |
コンパイル使用メモリ | 273,444 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-02-10 17:35:47 |
合計ジャッジ時間 | 8,237 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define int long long const int inf = 2000000000000000000; signed main(){ int n,m;cin>>n>>m; int k=0; for(int i=0;i<n;i++){ string s;int h;cin>>s>>h; if(h>=1200){ if(s[0]+s[1]+s[2]+s[3]!=('o')*4){ k++; } } } cout<<k<<"\n"; }