sojabhai's blog

By sojabhai, history, 5 months ago, In English

Hey Codeforces

I am well aware that we shouldn't use unordered maps in our solutions because they lead to tle in certain cases

I came across some solutions using unordered map for the 4th Question in the recent Edu Round. I tried generating a testcase in which these submissions tle but failed to do so

Can anyone help me out in this

Submission 1 : 273573097 Submission 2 : 273588275 Submission 3 (Its in Java but shouldn't it use TreeMap instead of Map ? ) : 273571369

Thanks a lot :)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By sojabhai, history, 5 months ago, In English

The D problem in the Div 2 round Yesterday

270778100 — AC

270777306 — TLE

Reference Variable for accessing DP leads to tle

Any explanation ?

Thanks a lot ! :)

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By sojabhai, history, 8 months ago, In English
Problem A - Number Theory
Problem B - Maximise Mex
Problem C - Thala For A Reason
Problem D - Sort me please *uwu*
Problem E - Prime Queries
Problem F - Trie Me
Problem G - Minimum Sum Node
Problem H - Negative Phobia

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By sojabhai, 9 months ago, In English

Hello Codeforces!

After the great success of AlgoBee I, we are excited to invite you all to 0xPPL AlgoBee II the flagship event of NlogN The Competitive Programming Club of Scaler School Of Technology , Co-Sponsored by 0xPPL and AlgoZenith.

Participation is open to all, but the prizes are only for people who have registered on Unstop. We encourage everyone to participate in these contests. All of these contests are unrated and will be held as CodeForces gym contest.

0xPPL AlgoBee II

Get ready to put your coding skills to the test in the 0xPPL AlgoBee II — a three-hour extravaganza Co-Sponsored by 0xPPL and AlgoZenith packed with stimulating problems and exciting prizes.

General Instructions:

  • Teams of sizes up to 3 members are allowed.
  • Each participant is allowed to use their laptop.
  • Participants will be required to submit their code on Codeforces and will receive a verdict accordingly. Ranking will be done based on the number of solves and in case of a tie, a time penalty will be used as a tie-breaker. Detailed contest rules are available at Codeforces Contest Rules (except the Hacks section).

Details:

  • Date: 14th April 2024 EDIT : POSTPONED TO 14th DUE TO CF ROUND CLASH
  • Time: 8:00 pm — 11:00 pm
  • Duration: 3 hours
  • Mode: Online
  • Platform: Codeforces
  • Registration Link — Unstop
  • Codeforces Invitation — 0xPPL AlgoBee II By NlogN

Prizes:

The Contest is Sponsored by 0xPPL and AlgoZenith

Exciting prizes worth 75k await the winners! Prizes include:

  • Beginner resources access at AlgoZenith for all participants
  • Merchandise for the top 15 teams
  • T-shirts, bottles, cash prizes, and more!

EDIT : POSTPONED TO 14th DUE TO CF ROUND CLASH

Congratulations to the winners :

  1. takeabyte (VS-Codes, om_mittal7 and twoplusthree)
  2. Windchime (IceKnight1093)
  3. OverShadow (Coder_Nayak , Krypto_Ray and sloppy_coder)
  4. Tier69420 (Vipin and 18o3)
  5. TLE Course eliminator (Pranav16 , aaryadeep21 and MegaUmbreon)

First Solves :

Prizes : Google Doc Please Refer to The Prizes doc for steps to claim your prize before 21st April.

Editorial Is Out : Here

The NlogN Team’s decision shall be absolute and it holds the right to disqualify any team in case of breaching. Failure to follow any of these rules will lead to disqualification. In case of any discrepancy, the decision by the committee will be final.

Full text and comments »

  • Vote: I like it
  • +15
  • Vote: I do not like it