Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
319533 方相宜 【C1-8】幸运数字 C++ 通过 100 2 MS 256 KB 229 2025-04-26 20:26:01

Tests(3/3):


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


测评信息: