ma • 2个月前
using namespace std;
int main() {
int n, m, total = 0; cin >> n; for (int i = 1; i <= n; i = i + 1) { cin >> m; if (m % 10 != 7) { total = total + m; } } cout << total; return 0;
}
评论:
请先登录,才能进行评论