AAA马舒批发部 • 3天前
#include <bits/stdc++.h>
using namespace std;
/*O(n)
!=
*/
int main() {
unsigned long long n, m, total = 0;
cin >> n;
for (int in = 0; in < n; in++) {
cin >> m;
if (m % 10 != 7) {
total += m;
}
}
cout << total;
}
评论:
请先登录,才能进行评论