Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
353637 沈昊煊 【C1-8】幸运数字 C++ 通过 100 2 MS 256 KB 218 2025-09-30 19:54:20

Tests(3/3):


#include<iostream> using namespace std; int main(){ int n,g,s; cin>>n; g=n%10; s=n/10%10; if((g==6||g==8)&&(s==6||s==8)){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }


测评信息: