abc058/abc058_b.cpp
///////////////////
// Simple loop and check for length
Simple loop and check for length
Simple loop and check for length
void solve()
{
    string o, e;
    cin >> o >> e;
    rep(i, max(o.length(), e.length()))
    {
        if (i < o.length())
            cout << o[i];
        if (i < e.length())
            cout << e[i];
    }
}
void solve ( ) { string o , e ; cin >> o >> e ; rep ( i , max ( o . length ( ) , e . length ( ) ) ) { if ( i < o . length ( ) ) cout << o [ i ] ; if ( i < e . length ( ) ) cout << e [ i ] ; } }
Simple loop and check for length
Simple loop and check for length