MikeMirzayanov's blog

By MikeMirzayanov, history, 115 minutes ago, In English

Hello, Codeforces!

Together with Vladosiya, we've added support for the 64-bit g++14 C++23. You can find it under the name GNU G++23 14.2 (64 bit, winlibs).

If you're using Windows, you can easily install it via our minimalistic package manager, PBOX, by running the command pbox install gcc14-64-winlibs.

Thanks to the WinLibs project! We used the distribution from this page: https://winlibs.com/ GCC 14.2.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 18.1.8 + MinGW-w64 12.0.0 UCRT - release 1, Win64.

Your solutions will be compiled using the following command line: g++ -Wall -Wextra -Wconversion -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++23 program.cpp.

Now you can start using C++23 features!

Please note that support for GNU G++23 14.2 (64 bit, winlibs) is currently experimental. We invite you to join in the testing and experimentation process. Share your thoughts and experiences in the comments!

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

»
111 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Cool

»
110 minutes ago, # |
  Vote: I like it +5 Vote: I do not like it

clang diag when back

»
108 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

ha?

»
103 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Finally the wait is over...[Hooray]

»
98 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

its perf is really bad, last contest's E1 gave 1800ms in +23, 1600ms in +20 and 1200ms in +17

»
97 minutes ago, # |
  Vote: I like it +14 Vote: I do not like it

That's great! Thanks a lot!

»
97 minutes ago, # |
  Vote: I like it -9 Vote: I do not like it

first comment hooray!!! attractors

»
97 minutes ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

I'd just tried to use new compiler in this submission 277680488, got TLE

but previously absolutely same solution 277680737 (1 char difference to be able to submit it again) gave me AC

MikeMirzayanov please pay attention on it

»
64 minutes ago, # |
  Vote: I like it +2 Vote: I do not like it

Cant use print :(

»
41 minute(s) ago, # |
  Vote: I like it +1 Vote: I do not like it

Savior-of-Cross bro can finally rest after asking from last 5 months.

»
29 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Oh finally!, it is amazing, thanks a lot!!!

»
27 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Thank you.

std::format will be very useful to make many output statements cleaner for those not using printf style format strings.

Before: std::cout << a << " + " << b << " = " << a+b << '\n';

After: std::cout << std::format("{} + {} = {}\n", a, b, a+b);