yosupo's blog

By yosupo, history, 13 months ago, In English,

Hello Codeforces!

On 16th September Japan Alumni Group Summer Camp 2018 Day 2 Contest will take place on AtCoder Contest link(You cannot view contest page yet). This contest is not an official AtCoder round, so it is not rated.

The contest is ICPC style practice contest, and you can take part in it as a team. But you cannot use more than one computers, browse the internet, or copy-paste your library. Since AtCoder does not support team participation, please make a new account and share it if you want to compete as a team.

The problems are prepared by maroonrk, sigma425, sugim48, and me. Some of the problems were used in Petrozavodsk camp last winter, so if you participated in it, please refrain from competing in this contest. Note that the problems are not used in AtCoder Petrozavodsk Contest (see https://codeforces.com/blog/entry/57395 ).

The contest starts at 10:00 (GMT+9:00) and lasts for 5 hours. The standings will be frozen 60 minutes before the end of the contest.

Hope you enjoy the contest!

Read more »

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

By yosupo, history, 2 years ago, In English,

Recently, I start to use dlang in competitive programming. There are 3 dlang compiler, "DMD", "LDC", "GDC".

In competitive programming, best choice is "LDC", but in many online judge, we can use only "DMD" or "GDC".

I hope to many online judge install "LDC", so I write this blog.

Compiler compare

  • DMD : Official compiler. Can use latest language version. Moderate Fast.
  • LDC : based on llvm. Moderate new. Very Fast.
  • GDC : based on gcc. Not new, Moderate Fast.

How to install ldc

  1. Go to github's release page https://github.com/ldc-developers/ldc/releases
  2. Download ldc(If you use 64bit-linux, ldc2-1.2.0-linux-x86_64.tar.xz, in now)
  3. Extract
  4. ADD /your/download/path/ldc2-1.2.0-linux-x86_64/bin to $PATH.

How to use ldc

  • Debug mode : ldc2 -d-debug A.d

  • Release mode(and optimize) : ldc2 -O -release A.d

Read more »

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