Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115161 蔡胤泽 含有3的所有数 C Accepted 1 MS 200 KB 245 2025-03-29 15:55:02

Tests(10/10):


Code:

#include <stdio.h> int main() { int a, b; scanf("%d", &a); for(int i = 3;i < a;i++) { b= i; while(b != 0) { if(b % 10 == 3) { printf("%d ", i); break; } b = b /10; } } return 0 ; }