ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1427. SMS

If you have problems with Test #17
Posted by Semm 5 Jan 2025 21:08
Advertisement contains up to 100000 symbols and ends with a newline.

So may need to store 100000 symbols + newline symbol + one '\0' symbol.

I had problems with this using fgets in C++.