@@ -54,6 +54,7 @@ C/C++ 家族提供多个 C/C++ 语言标准的 GCC 编译环境,这些标准
5454- C++14 (ISO/IEC 14882:2014)
5555- C++17 (ISO/IEC 14882:2017)
5656- C++20 (ISO/IEC 14882:2020)
57+ - C++23 (ISO/IEC 14882:2024)
5758
5859他们都有相同的编译开关:
5960
@@ -67,8 +68,8 @@ g++ -x c++ -std=$version -fPIC -DONLINE_JUDGE -Wall -fno-asm -lm -march=native
6768
6869```
6970# gcc --version
70- gcc (GCC) 13.2 .0
71- Copyright (C) 2023 Free Software Foundation, Inc.
71+ gcc (GCC) 15.1 .0
72+ Copyright (C) 2025 Free Software Foundation, Inc.
7273```
7374
7475::: caution [ 优化开关提示]
@@ -100,7 +101,7 @@ fpc -dONLINE_JUDGE -vnw
100101# fpc -i
101102Free Pascal Compiler version 3.2.2
102103
103- Compiler date : 2023/10/16
104+ Compiler date : 2025/07/05
104105Compiler CPU target: x86_64
105106```
106107
@@ -112,16 +113,16 @@ Python 家族目前仅提供 Python 3(CPython)、PyPy 3 两种选项。Pytho
112113
113114```
114115# python3 -VV
115- Python 3.11 .5 (main, Aug 24 2023, 12:23:19 ) [GCC 12 .3.0]
116+ Python 3.13 .5 (main, Jun 11 2025, 15:36:57 ) [GCC 14 .3.0]
116117
117118# python3 -c 'print(__import__("numpy").__version__)'
118- 1.25.2
119+ 2.3.1
119120```
120121
121122```
122123# pypy3 -VV
123- Python 3.9.17 (3f3f2298ddc56db44bbdb4551ce992d8e9401646, Oct 16 2023, 15:22:08 )
124- [PyPy 7.3.12 with GCC 12.3.0 ]
124+ Python 3.10.14 (39dc8d3c85a7, Jun 24 2025, 03:33:34 )
125+ [PyPy 7.3.17 with GCC 14.2.1 20250322 ]
125126```
126127
127128Python 2 已于 2020 年结束了它的生命周期,因此洛谷也不再提供 Python 2 和 PyPy 2 支持。
@@ -157,32 +158,32 @@ public class Main {
157158
158159```
159160# java -version
160- openjdk version "1.8.0_362 "
161- OpenJDK Runtime Environment (build 1.8.0_362-ga )
162- OpenJDK 64-Bit Server VM (build 25.362-bga , mixed mode)
161+ openjdk version "1.8.0_442 "
162+ OpenJDK Runtime Environment (build 1.8.0_442-06 )
163+ OpenJDK 64-Bit Server VM (build 25.442-b06 , mixed mode)
163164```
164165
165166```
166167# java -version
167- openjdk version "21" 2023-09-19
168- OpenJDK Runtime Environment (build 21+35 -nixos)
169- OpenJDK 64-Bit Server VM (build 21+35 -nixos, mixed mode, sharing)
168+ openjdk version "21.0.7" 2025-04-15
169+ OpenJDK Runtime Environment (build 21.0.7+6 -nixos)
170+ OpenJDK 64-Bit Server VM (build 21.0.7+6 -nixos, mixed mode, sharing)
170171```
171172
172173### Rust
173174
174- Rust 非主流竞赛语言,仅提供评测环境更新时的 nightly channel 的 rustc。 其编译开关为:
175+ 其编译开关为:
175176
176177``` shell
177178# O2 开关为 -C opt-level=2
178- rustc --edition 2021 -W warnings
179+ rustc --edition 2024 -W warnings
179180```
180181
181182当前版本信息为:
182183
183184```
184185# rustc -V
185- rustc 1.76.0-nightly (2c1b65ee1 2023-11-11 )
186+ rustc 1.88.0 (6b00bc388 2025-06-23 )
186187```
187188
188189### Go
@@ -191,7 +192,7 @@ rustc 1.76.0-nightly (2c1b65ee1 2023-11-11)
191192
192193```
193194# go version
194- go version go1.21.3 linux/amd64
195+ go version go1.24.4 linux/amd64
195196```
196197
197198### C#
207208
208209```
209210# mono --version
210- Mono JIT compiler version 6.12.0.182 (tarball Mon Oct 16 00:06:46 UTC 2023 )
211- Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
212- TLS: __thread
211+ Mono JIT compiler version 6.14.1 (tarball Tue Apr 29 17:43:02 UTC 2025 )
212+ Copyright (C) Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
213+ TLS:
213214 SIGSEGV: altstack
214215 Notifications: epoll
215216 Architecture: amd64
@@ -234,46 +235,46 @@ ghc -DONLINE_JUDGE -Wall
234235
235236```
236237# ghc --version
237- The Glorious Glasgow Haskell Compilation System, version 9.4.7
238+ The Glorious Glasgow Haskell Compilation System, version 9.8.4
238239
239240# ghc --show-packages | grep -E 'id: (.+)'
240- id: Cabal-3.8.1.0
241- id: Cabal-syntax-3.8.1.0
242- id: array-0.5.4.0
243241id: base
244- id: binary-0.8.9.1
245- id: bytestring-0.11.5.2
246- id: containers-0.6.7
247- id: deepseq-1.4.8.0
248- id: directory-1.3.7.1
249- id: exceptions-0.10.5
250- id: filepath-1.4.2.2
251- id: ghc
252- id: ghc-bignum
253- id: ghc-boot-9.4.7
254- id: ghc-boot-th-9.4.7
255- id: ghc-compact-0.1.0.0
256- id: ghc-heap-9.4.7
242+ id: stm-2.5.3.1-bf39
243+ id: ghci-9.8.4-13f2
244+ id: haskeline-0.8.2.1-4be1
245+ id: ghc-compact-0.1.0.0-db7e
246+ id: filepath-1.4.301.0-abf5
247+ id: text-2.1.1-332f
248+ id: system-cxx-std-lib-1.0
249+ id: parsec-3.1.17.0-9df1
250+ id: containers-0.6.8-bda1
251+ id: mtl-2.3.1-4301
252+ id: unix-2.8.6.0-a07b
253+ id: ghc-boot-9.8.4-5858
254+ id: process-1.6.25.0-a883
255+ id: exceptions-0.10.7-9038
256+ id: semaphore-compat-1.0.0-4217
257+ id: array-0.5.8.0-25c5
258+ id: terminfo-0.4.1.6-97ac
259+ id: hpc-0.7.0.0-4276
260+ id: pretty-1.1.3.6-0329
261+ id: xhtml-3000.2.2.1-8f3e
262+ id: deepseq-1.5.1.0-013a
263+ id: directory-1.3.8.5-3f1c
264+ id: time-1.12.2-85bf
265+ id: Cabal-syntax-3.10.3.0-aa2e
266+ id: ghc-heap-9.8.4-7357
267+ id: binary-0.8.9.1-6bc0
268+ id: transformers-0.6.1.0-4025
269+ id: Cabal-3.10.3.0-2169
270+ id: bytestring-0.12.1.0-7d6c
271+ id: integer-gmp-1.1-2f6a
272+ id: ghc-boot-th-9.8.4-fe63
273+ id: ghc-9.8.4-4b7d
257274id: ghc-prim
258- id: ghci-9.4.7
259- id: haskeline-0.8.2
260- id: hpc-0.6.1.0
261- id: integer-gmp-1.1
262- id: libiserv-9.4.7
263- id: mtl-2.2.2
264- id: parsec-3.1.16.1
265- id: pretty-1.1.3.6
266- id: process-1.6.17.0
267275id: rts
268- id: stm-2.5.1.0
269- id: system-cxx-std-lib-1.0
270276id: template-haskell
271- id: terminfo-0.4.1.5
272- id: text-2.0.2
273- id: time-1.12.2
274- id: transformers-0.5.6.2
275- id: unix-2.7.3
276- id: xhtml-3000.2.2.1
277+ id: ghc-bignum
277278```
278279
279280### OCaml
@@ -289,7 +290,7 @@ ocamlopt
289290
290291```
291292# ocamlopt -version
292- 4.14.1
293+ 5.3.0
293294```
294295
295296### Lua
@@ -307,7 +308,7 @@ Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio
307308
308309```
309310# julia -version
310- julia version 1.9.3
311+ julia version 1.11.6
311312```
312313
313314### Kotlin
@@ -325,7 +326,7 @@ java -DONLINE_JUDGE
325326
326327```
327328# kotlinc-jvm -version
328- info: kotlinc-jvm 1.9.20 (JRE 21+35 -nixos)
329+ info: kotlinc-jvm 2.2.0 (JRE 21.0.7+6 -nixos)
329330```
330331
331332### Scala
@@ -341,7 +342,7 @@ java -DONLINE_JUDGE
341342
342343```
343344# scalac -version
344- Scala compiler version 2.13.12 -- Copyright 2002-2023 , LAMP/EPFL and Lightbend, Inc.
345+ Scala compiler version 3.3.6 -- Copyright 2002-2025 , LAMP/EPFL
345346```
346347
347348### PHP
@@ -350,10 +351,10 @@ Scala compiler version 2.13.12 -- Copyright 2002-2023, LAMP/EPFL and Lightbend,
350351
351352```
352353# php --version
353- PHP 8.2.12 (cli) (built: Oct 24 2023 19 :22:16 ) (NTS)
354+ PHP 8.4.10 (cli) (built: Jul 2 2025 02 :22:42 ) (NTS)
354355Copyright (c) The PHP Group
355- Zend Engine v4.2.12 , Copyright (c) Zend Technologies
356- with Zend OPcache v8.2.12 , Copyright (c), by Zend Technologies
356+ Zend Engine v4.4.10 , Copyright (c) Zend Technologies
357+ with Zend OPcache v8.4.10 , Copyright (c), by Zend Technologies
357358```
358359
359360### Perl
@@ -362,8 +363,8 @@ Zend Engine v4.2.12, Copyright (c) Zend Technologies
362363
363364```
364365# perl --version
365- This is perl 5, version 38 , subversion 0 (v5.38 .0) built for x86_64-linux-thread-multi
366- Copyright 1987-2023 , Larry Wall
366+ This is perl 5, version 40 , subversion 0 (v5.40 .0) built for x86_64-linux-thread-multi
367+ Copyright 1987-2024 , Larry Wall
367368```
368369
369370### Ruby
@@ -372,7 +373,7 @@ Copyright 1987-2023, Larry Wall
372373
373374```
374375# ruby --version
375- ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81 ) [x86_64-linux]
376+ ruby 3.3.8 (2025-04-09 revision b200bad6cd ) [x86_64-linux]
376377```
377378
378379### Node.js
@@ -381,5 +382,5 @@ ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
381382
382383```
383384# node --version
384- v20.9 .0
385+ v22.17 .0
385386```
0 commit comments