Comments

Does codeforces gives extra points for hacking own solution???

Logic for C?

On tourist → Hello 2018 -- Tutorial, 9 years ago
0

No , I'm talking about code of solution.

On tourist → Hello 2018 -- Tutorial, 9 years ago
0

In Solution of 913C ,in the following line

// ans = min(ans, sum + (L > 0) * c[i]); //

what is significance of (L>0) ????

On tourist → Hello 2018, 9 years ago
+6

Please can anyone tell approach for 'C'?

On Mediocrity → Codeforces Round #429, 9 years ago
0

Ya , I have Solved the problem using Fastscan() .

But i am asking why i m getting TlE even when time limit is 2 SEC

On Mediocrity → Codeforces Round #429, 9 years ago
+4

Got TLE on B using simple input , output only Can't understand why???

Use int instead of long long int .