提交时间:2024-04-01 21:13:10

运行 ID: 44669

#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; int n; cin >> n; a = n % 10; b = n / 10 % 10; c = n / 100 % 10; d = n % 7; if(a == 7 or b == 7 or c == 7 or d == 0){ cout << "yes"; } else{ cout << "no"; } return 0; }