Beginner Free Contest 10 - BIGGER

View as PDF

Submit solution

Points: 0.11 (partial)
Time limit: 1.0s
Memory limit: 256M

Problem types
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement

Lưu ý: các bạn không nhập, xuất dữ liệu bằng file kể cả khi đề bài có yêu cầu. Đọc, ghi dữ liệu được thực hiện ở stdin và stdout.


Comments

Please read the guidelines before commenting.



  • 0
    nguyentanlocefootball  commented on Jan. 25, 2026, 2:54 p.m.

    include <bits/stdc++.h>

    using namespace std; int main() { iosbase::syncwith_stdio(0); cin.tie(0); cout.tie(0); int a,b; cin>>a>>b; int cnt=0; while (a<=b){ a=a3; b=b2; cnt++;

     }
     cout<&lt;cnt;
    

    }


  • 1
    pika68267  commented on June 26, 2025, 8:49 a.m.

    arya? nice


  • 1
    lanMX  commented on June 8, 2025, 2:38 a.m. edited

    while (a<=b){ int m=(b+a)/2; if (m<=b2){ res++; a=a3; b=b*2; } else{ break; } }


  • 0
    phannam310810  commented on June 1, 2025, 3:42 a.m.

    trau cung ac


  • 1
    _no_love_no_gain_  commented on April 14, 2025, 3:12 a.m.

    while(a <= b){ a *= 3; b *= 2; ++d; }