in problem C the MIDs are not always evenly spaced in the same level try the test when n = 14. 1 -> 14 1->7 8->14 1->3 5->7 8->10 12->14 in the last level mids are -> 2, 6, 9, 13
Thanks for sharing such valuable information! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
C problem: I tried to solve by this equation --> terms/2*(midA*2+(terms-1)*d); I get the second term to get 'd' ll midA = (r+1)/2, lB = r+2, rB = lB+(r-1), midB = (lB+rB)/2, d = midB-midA; ans += terms/2*(midA*2+(terms-1)*d); if(terms == 1){ans = midA;} But give me WA. WHY?
in problem C the MIDs are not always evenly spaced in the same level try the test when n = 14.
1 -> 14
1->7 8->14
1->3 5->7 8->10 12->14
in the last level mids are -> 2, 6, 9, 13
Thanks for sharing such valuable information! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
C problem:
I tried to solve by this equation --> terms/2*(midA*2+(terms-1)*d);
I get the second term to get 'd'
ll midA = (r+1)/2, lB = r+2, rB = lB+(r-1), midB = (lB+rB)/2, d = midB-midA;
ans += terms/2*(midA*2+(terms-1)*d);
if(terms == 1){ans = midA;}
But give me WA. WHY?
في بروبلم a
ليه مينفعش اشوف subarray سايزها ٣ ليه سايز ٢ بس؟
دا الحل ال optimal
@@mahmoudayman8873
ما هو في التست ده
1 3 1 3
لو اخدت ساب اراي السايز بتاعها ٢ بس مش هينفع ، لكن لو اخدت الساب اراي دي (3,1,3) هتنفع بس دي سايزها ٣
@mahmoudayman8873
ما هو في التيست ده
1 3 1 3
لو اخدت ساب اراي سايزها ٢ مش هينفع لكن لو اخدت الساب اراي دي ( 3,1,3) هتنفع
@mahmoudayman8873
ما هو في التيست ده
1 3 1 3
مش هينفع لو اخدت ساب اراي سايزها ٢
لكن لو اخدت الساب اراي دي (3,1,3)هتنفع
@@mahmoudayman8873
ما هو في التست ده
3 1 3 1
مش هينفع لو اخدت ساب اراي سايزها 2 بس لكن هتنفع لو اخدت الساب اراي دي (3,1,3)