Please subscribe to the official Codeforces channel in Telegram via the link: https://t.me/codeforces_official. ×

### Infinite_S's blog

By Infinite_S, history, 7 weeks ago, ,

There is a long queue more then 1hour 30 minutes in codeforces status.Please fixed it.

•
• +15
•

By Infinite_S, history, 5 months ago, ,
bitset < n > b1, b2;
b1 |= b2;


Is the complexity of above code O(n)? Or it works in O(1).

•
• -10
•

By Infinite_S, history, 8 months ago, ,

My code getting TLE in sgu 112 problem. I am new to java programming so I am not understanding why my code is getting TLE. I also have submitted 3 code from github for this problem. They also got TLE. Now what should I do? Question link : http://codeforces.com/problemsets/acmsguru/problem/99999/112

My code :

//In the name of ALLAH

//package OverRiding;

import java.math.BigInteger;
import java.util.Scanner;

public class Example1 {

public static void main(String[]args) {

Scanner cin = new Scanner( System.in );

BigInteger bigA = cin.nextBigInteger();
BigInteger bigB = cin.nextBigInteger();
BigInteger aPowb, bPowa;
aPowb = bigA.pow ( bigB.intValue() );
bPowa = bigB.pow ( bigA.intValue() );

BigInteger ans = aPowb.subtract ( bPowa );
System.out.println(ans);

}
}



By Infinite_S, history, 8 months ago, ,

a2oj.com is not working. It's showing error. Can anyone tell me why?

•
• +5
•

By Infinite_S, history, 11 months ago, ,

Please give me some tutorial on dp where basic to advance topic has discussed with problem link.Problems will be more welcomed then theory.

•
• -2
•

By Infinite_S, history, 13 months ago, ,

I have solved 269 problems in codeforeces and 82 problems in light oj.But still I am Newbie.My rating in code chef is 1454 (attended 5 contest).But codeforece rating is getting down day by day.What should I do now?How to choose questions to improve my coding skill + rating?

•
• +9
•

By Infinite_S, history, 13 months ago, ,

Why getting wa in this test cases :

2

16 12

16 18

8192BEFA70CD3564

Correct Output :

Case 1: 5230697472000

Case 2: 3486618432000

My output :

Case 1: 2324797191360

Case 2: 1226335446000

My code: https://ideone.com/2XjGaV

•
• -18
•

By Infinite_S, history, 13 months ago, ,

Topic : LCS My code is getting TLE for this test case: 1 weuwmwxxeajlsalokh dmnmklyoltvdpjzbkqe

How to solve this problem?

My code: https://ideone.com/WrNYdg

•
• -8
•

By Infinite_S, history, 14 months ago, ,

What is upsolving realy means? Is it means solving all problem of that contest that I havn't solved.Or it means solving those problems that I can solve but didn't solved in the contest.

•
• +3
•

By Infinite_S, history, 14 months ago, ,

Is A2 oj really helpful to improve my rating in codeforces ? And when practicing in codeforces how to choose difficulty level of question as a newbie or pupil ? Note : I can solve div-2 A easily but div-2 B is hard to me and I can't solve div-2 C with out reading editorial (But I have to spend huge time to understand the editorial of C ). Thanks in advance. : )

•
• +4
•

By Infinite_S, history, 14 months ago, ,

How much time I should spend to solve a problem before reading the editorial.Please give me a perfect advice so that I can save myself from wasting time.

•
• +4
•

By Infinite_S, history, 14 months ago, ,

If I don't understand the tutorial, is it wise to see some red coder's code or the code given in tutorial to under stand the tutorial perfectly.