-
个人简介
#include<bits/stdc++.h> #include<bits/stdc++.h> using namespace std; int m(int a){ int t=0; for(int i=1;i<=a;i++){ int e=0; int b = i; while(0<b){ int d=b%10; e+=d; b=b/10; } if(e==13){ t++; } } return t; } int main(){ int a; cin>>a; cout<<m(a); return 0;
}
-
最近活动
This person is lazy and didn't join any contests or homework.