Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
125387 杨涵雅 最大值 C++ Wrong Answer 0 0 MS 248 KB 258 2024-01-23 16:51:33

Tests(0/2):


#include<iostream> using namespace std; int main() { int a; do{ cin >> a; }while( a<0 ); if( a%7==0 ) cout<<"yes"<<endl; else { for(; a>0; a/=10) { if( a%10==7 ) {cout<<"yes"<<endl;break;} } if( a==0 ) cout<<"no"<<endl; } return 0; }


Judgement Protocol: