foundnt_Alice's blog

By foundnt_Alice, history, 4 days ago, In English

The title says its all!

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it

By foundnt_Alice, 3 months ago, In English

Hi!

Recently I tried to solve a problem with 1.5s time limit. After several tries, I finally got AC within 1496ms.

![ ](20240122-224251)

Share your lucky moments!!!

Full text and comments »

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

By foundnt_Alice, history, 3 months ago, In English

Hi all!

Recently, I tried to implement a HLD struct. However, my local computer shows Segmentation Fault verdict as soon as I set the constraint of N to 1e5, the online judge shows TLE verdict btw. Small constraint on N works just fine. Here is the code:

Segmentation Fault Code

So, I tried to rewrite the same code without using struct. This time my local computer ran smoothly and the online judge showed AC verdict.

The AC code:

Could someone plz explain why's there a difference verdict in my codes? Where did I get it wrong? I much appreciate it!

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it

By foundnt_Alice, history, 14 months ago, In English

Most of the editorials are well-written in a very formal way. I guess I'm not good at reading formal stuff. Luckily, I have my own solution for this, reading contest announcement comments or looking at jiangly submissions. Not gonna lie, his codes are super neat and thankfully he participates in most of the contests both officially and unofficially.

Full text and comments »

  • Vote: I like it
  • +7
  • Vote: I do not like it