SODEP2


Submit solution

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

Problem type

Comments


  • 0
    10Tin_Le_Vu_Minh  commented on July 16, 2024, 8:28 p.m. edit 2

    include<bits/stdc++.h>

    using namespace std; long long N,X,Y; int main() { cin>>N; X=1; while(X<=N) { X=2; } X=X/2; Y=3; while(Y<=N) { Y=2; } Y=Y/2; cout<<max(X,Y); return 0; }