| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 443853 | 任虞昊 | 【C1-8】数字之中有9吗? | C++ | 通过 | 100 | 1 MS | 248 KB | 198 | 2026-06-07 09:55:49 |
#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; int x=n%10; int y=n/10%10; int z=n/100%10; if(x==9||y==9||z==9) cout<<"YES"; else cout<<"NO"; return 0; }