#include<iostream>
using namespace std;
int main() {
double a, b;
int sum = 0,i;
while (cin >> a) {
for (i = 0; i < a; i++) {
cin >> b;
sum += b;
}
if (sum > 59*a) {
cout << "no"<<endl;
}
else {
cout << "yes" << endl;
}
}
}
#include
using namespace std;
int main() {
double a, b;
int sum = 0,i;
while (cin >> a) {
for (i = 0; i < a; i++) {
cin >> b;
sum += b;
}
if (sum > 59*a) {
cout << "no"< }
else {
cout << "yes" << endl;
}
}
}
我怕被質疑貼程式碼,所以傳私人訊息給你了