Please read the new rule regarding the restriction on the use of AI tools. ×

giang.best.1's blog

By giang.best.1, history, 3 years ago, In English

Hello, I just switched to macOS M1. Now I'm using VSC to code c++ on codeforces. But I just realized cin.tie(0) doesn't work like in windows. In windows, after entering all input, the output will be written later. But now, the output comes before I finish the input (I'm talking about the problem with multiple test cases). Does anyone have the same problem, can help me to fix it? Thank you guys so much!

Full text and comments »

  • Vote: I like it
  • -4
  • Vote: I do not like it