#define _USE_MATH_DEFINES #pragma region include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //// //#include // #pragma endregion //#include ///////// #pragma region typedef typedef long long LL; typedef long double LD; typedef unsigned long long ULL; #pragma endregion //typedef ////定数 const int INF = (int)1e9; const LL MOD = (LL)1e9+7; const LL LINF = (LL)4e18+20; const LD PI = acos(-1.0); const double EPS = 1e-9; ///////// using namespace::std; int f(int N){ stringstream ss; ss << N; //string str = ss.str(); return ss.str().size(); } void solve(){ int ans = 0; int N=5; for(int i=0;i>ter; if( ter%15 == 0 ){ ans += 8; }else if(ter%3==0 || ter%5==0){ ans +=4; }else{ ans += f(ter); } } cout<