Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Hack --about string

Revision en2, by I_m_sfg, 2023-08-27 22:56:46

--if the question constraints is 10^18 and input is given in digit then never use stoi,atoi,or any kind of string into digit number because it gives always tle.

--Never Use stoi,atoi with to_string it also give tle .I wasted 1 hr to solve this problem.......so don't do that...and

Happy journey to _____ to master.

Tags c++, string, stoi, c++11

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English I_m_sfg 2023-08-27 22:56:46 4 Tiny change: 'ays tle.\n--Never ' -> 'ays tle.\n\n\n--Never '
en1 English I_m_sfg 2023-08-27 22:56:17 338 Initial revision (published)