Блог пользователя pertifiedcobra

Автор pertifiedcobra, история, 16 месяцев назад, По-английски

We invite you to participate in ChemCoding 23' Round 2 Mirror This contest is a mirror of ChemCoding 23' Round 2, organised by SoChem IIT BHU as part of it's annual fest Osmoze 23'.

Time : 9:30 AM — 11:00 AM IST

The tasks were prepared and tested by:

Setters: Aniruddha Chimpanzee Patil, Thakur pertifiedcobra Abhishek, Gaurav Enma Verma, Pranjal Ramanujan1729 Shrivastava

Testers: Shubham shubhamgrg1000 Garg, Shashwat Sad_lyf Kesharwani, Vardan vardan_09 Goel, Himanshu Himanshujoy Srivastava

Although there are no prizes for online participants, the tasks are really nice and we're sure you'll enjoy solving them!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +23
  • Проголосовать: не нравится

Автор pertifiedcobra, история, 3 года назад, По-английски

1. WA Submission

2. AC Submission

The only difference between the two submissions is the cout<<"", which is there in the AC Submission and not there in WA Submission. Can someone please help me understand why printing an empty string gives a different answer than when not printing print it?

Thank you!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится