- 题解
A
- 2023-8-8 12:43:10 @
#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=10;i<=n;i++) { int j=((i%10)+(i/10)); if(i%j==0) { cout<<i<<endl; } } return 0;}
0 comments
No comments so far...
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.