Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85371 叶城俊 所有不包含7的数 C++ Wrong Answer 0 MS 268 KB 234 2024-07-17 11:05:06

Tests(0/4):


Code:

# include<iostream> using namespace std; int main (){ int a,i; cin>>a; a<=100; for(i =0 ;i<=a;i++){ if(i/10 == 7 || i%10 == 7) continue; cout<<i<<" "; } return 0; }


Run Info:

------Input------
20
------Answer-----
1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 18 19 20
------Your output-----
0 1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 18 19 20