Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
75570 sh25_shenpy 与7相关的数 C++ Accepted 0 MS 248 KB 244 2025-12-07 20:20:14

Tests(1/1):


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


Judgement Protocol: