mercredi 17 juin 2020

TLE Issue while using function

In this question https://codeforces.com/contest/1367/problem/C for the same algorithm I tried 2 different approaches

  1. Using function link: https://codeforces.com/contest/1367/submission/84101002

  2. Without using function link: https://codeforces.com/contest/1367/submission/84126840

    If I am using the function then I am getting TLE and if I'm not using the function I'm gettig AC. Why so?

Aucun commentaire:

Enregistrer un commentaire