Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3923 A班-袁誉晏 不吉利的数字 C++ 解答错误 0 1 MS 260 KB 368 2025-01-04 12:15:04

Tests(0/8):


#include <bits/stdc++.h> using namespace std; int main() { int n,flag=1; cin>>n; int m=n; while(n!=0) { int p=n%10; if(p==4) { flag=1; break; } n/=10; } if(flag==0 || m%13==0) { cout<<"NO"; } else { cout<<"OK"; } }


测评信息: