Run ID:113153
提交时间:2025-03-15 12:21:57
#include<bits/stdc++.h> using namespace std; int main() { int n ; cin >> n; for (int i = 1; i <= n; i++) { int shi = i / 10; int ge = i % 10; if (shi == 7 || ge == 7) { } else { cout << i << " "; } } return 0; }