結果

問題 No.2547 Did you enjoy Chofu Festival?
ユーザー LyricalMaestro
提出日時 2024-01-24 01:42:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-09-28 06:56:05
合計ジャッジ時間 1,349 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

## https://yukicoder.me/problems/no/2547


def main():
    N = int(input())
    A = list(map(int, input().split()))
    B = list(map(int, input().split()))

    answer = 0
    for i in range(N):
        if A[i] <= B[i]:
            answer += 1
    print(answer)




if __name__ == "__main__":
    main()
0