Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115156 | 胡海峰老师 | 含有3的所有数 | C | Presentation Error | 1 MS | 204 KB | 234 | 2025-03-29 15:36:16 |
#include <stdio.h> int main() { int n,m; scanf("%d",&n); for(int t =3;t<n;t++) { m = t; while(m !=0) { if(m%10==3) { printf("%d ",t); break; } m=m/10; } } return 0; }