a148. You Cannot Pass?! 5/16/2025

่งฃๆณ•ไธ€

โœ… ๅฎŒๆ•ดไปฃ็ขผ

่ฉ•ๅˆ†็ตๆžœ(ๅƒ่€ƒ) ๏ผš AC (2ms, 328KB)

#include <bits/stdc++.h>
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int n = 0;
    while(cin >> n){
        int score;
        int sum = 0;
        for(int i=0; i<n; i++){
            cin >> score;
            sum += score;
        }

        if(sum*1.0/n > 59) cout << "no\n";
        else cout << "yes\n";
    }
    
    return 0;
}