結果
| 問題 | No.2547 Did you enjoy Chofu Festival? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-26 22:10:50 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 347 bytes |
| 記録 | |
| コンパイル時間 | 3,013 ms |
| コンパイル使用メモリ | 273,488 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-03 02:05:55 |
| 合計ジャッジ時間 | 3,806 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
using mint = atcoder::modint998244353;
int main(){
int n;
cin>>n;
vector<int> a(n),b(n);
rep(i,n) cin>>a.at(i);
rep(i,n) cin>>b.at(i);
int ans=0;
rep(i,n) if(a.at(i)<=b.at(i)) ans++;
cout<<ans<<endl;
}