Shefin_'s blog

By Shefin_, 22 months ago, In English

Hello, Codeforces!

adnan_toky and I are super thrilled to invite everyone to participate in Codeforces Round 848 (Div. 2), which will be held on 01.02.2023 17:35 (Московское время).

This round is rated for the participants with ratings strictly lower than 2100. You will be given 6 problems and 2 hours to solve them. All the problems are authored and prepared by adnan_toky and me. To get the 6 problems approved, we needed to propose 12 problems in total sneaky_wink_catto.

UPD: Score distribution: $$$500-1000-1250-1750-2250-2750$$$

We would like to thank:

This is our first round! We've tried our best to make the round enjoyable. It is greatly recommended to read all the problems.

We are looking forward to your participation. Good luck to everyone king.

UPD2: Congratulations to the winners!

Overall:
1. jiangly
2. SSRS_
3. Geothermal
4. BurnedChicken
5. Ormlis

Div. 2:
1. CoCl2_6H2O
2. Joyemang
3. gqh_cpp
4. rainboy
5. NoMentalPowerLeft

UPD3: Editorial is out

Full text and comments »

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

By Shefin_, 3 years ago, In English

Hello, Codeforces community!

We are thrilled to invite you to participate in the first-ever rated team contest of Toph.co: Tough Duo, April 2022 on April 14, 02:00 PM BST. To participate you will have to form a team of 2 members and be registered on Toph. You can create an account here.

The contest is rated for all participants. There are also prizes for the students of Bangladeshi academic institutions:

  • 1st place: Toph goodies and 250 GB Portable SSD
  • 2nd and 3rd place: Toph goodies

The authors of the contest are upobir, Shefin_, adnan_toky, thisIsMorningstar, rifatrraazz, Black_Be4rD, Short_Bit , TarifEzaz and Joty. Thanks to TarifEzaz for coordinating this contest and hjr265 for the Toph platform.

You will be given 7-8 problems and 3 hours to solve them. The contest will follow standard ICPC rules.

We've tried to create very engaging problems and robust datasets for this contest. We hope you will enjoy the problem set.

Also, there will be an editorial shortly after the contest ends.

Good Luck!

UPD: Congratulations to the teams! The problems are available for practice here. Editorials are attached to each of the problems separately.

Full text and comments »

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

By Shefin_, 3 years ago, In English

I was solving the problem 185B/186D. Then I encountered a weird issue. I got WA on test $$$8$$$ in this submission: 123642519. But, when I made the solve function inline, it passed test $$$8$$$ (though it got WA on test $$$31$$$): 123642504.

In test $$$8$$$, the submission without inlined solve function prints 2.712800440549510 6.287199559450490 0.000000000000000 as output. On the other hand, the submission with inlined solve function prints 2.700961045920403 6.299038954079596 0.000000000000000 as output. So, the outputs have significant precision differences.

My question is, how the inlined function has an impact on precision? It will be very helpful if anybody gives an insight.

Full text and comments »

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