How to compile fast for Facebook Hacker Cup?

Правка en5, от Mong_Mang, 2023-10-03 23:52:55

In Facebook Hacker Cup 2022 Round 2, I coded a right O(n) solution (C++) for Problem A, but I downloaded the input test case and ran the code. but it took me around 8 minutes to get the output. As a result, I couldn't submit the output. However, after the contest, I submitted the output and got accepted. Can anyone please tell me how can I compile fast or overcome this problem or any suggestions regarding this?

Note: I use Codeblocks IDE. Sometimes I use VS Code.

Теги facebook-hacker-cup, need help, help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский Mong_Mang 2023-10-03 23:52:55 28
en4 Английский Mong_Mang 2023-10-03 23:48:58 6
en3 Английский Mong_Mang 2023-10-03 23:48:35 54 Tiny change: 'ding this?' -> 'ding this?\nNote: I use Codeblocks IDE. Sometimes I use VS Code.'
en2 Английский Mong_Mang 2023-10-03 23:35:46 5 Tiny change: 'd a right solution ' -> 'd a right O(n) solution '
en1 Английский Mong_Mang 2023-10-03 23:03:16 453 Initial revision (published)