SODEP3


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 512M

Problem type

Comments


  • 0
    Nguyenanhkhoa13082011  commented on Oct. 31, 2024, 7:30 a.m.

    include<bits/stdc++.h>

    using namespace std; long long x=2,y=3,n; int main() { cin>>n; while(x<=n) {x=x2;} x=x/2; while(y<=9) {y=y2;} y=y/2; long long a=max(x,y); long long d=n-a; cout<<d; return 0; }