Qingyu✨ 的部落格

網誌

Tags
None

一些比赛的资料

By Qingyu

来自 HY 大神的提醒:注意账户安全,FTP 密码已重置

By Qingyu
閱讀其他語言版本: 原文 English

为了避免自己的账户泄露,建议不要在大机房中使用浏览器的“保存密码”功能!!

若认为自己的密码已经泄露,需要在修改密码后使用 登出所有活跃会话 功能,否则此前认证过的会话可能不会失效。

同时,为了避免权限组的题目泄露,hydd 大神指示各位 hy 的粉丝 使用强度较高的密码,请不要使用诸如 123456、114514、19260817、hyakcts、ilovechino 的弱口令。

FTP 所有账户已重置,请有 FTP 权限的群友查看系统消息获取最新的用户密码。对于 Archive 中一些公开的测试数据,建议大家转至 Google Drive 镜像进行下载。

不建议在博客中写模拟赛题的题解,如果需要写内部题的题解,一定注意添加权限。所有内部题目的讨论博客需要拥有 access-secret-blogs 权限与校内团队(目前有 $12,16,17,19,22$ 五个团队)权限才可以查看。

本公告的最终解释权归 hydd 所有。

Judging environment of QOJ (2026 updated)

By Qingyu
閱讀其他語言版本: 原文 简体中文

Last Updated: June 2026

Judgehost Specification

The judgehosts of QOJ are all hosted on Microsoft Azure. All judgehosts have the identical specifications:

  • OS: Ubuntu 26.04.1 LTS
  • RAM: 8 GiB
  • CPU: Intel(R) Xeon(R) Platinum 8573C

Language Details

Unless specified in the problem meta page, you may submit your solution in any of our supported languages. Note that IOI and most other Olympiads support C++ exclusively, so problems with graders typically only support C++. Always check the problem meta information before starting!

  • C
  • C++
  • D
  • Fortran
  • Go
  • Haskell
  • Java
  • Kotlin
  • Lean 4.23.0
  • Pascal
  • Python 3 (CPython 3.13 or PyPy 3.11)
  • Ruby
  • Rust

C++ (C++98, C++11, C++14, C++17, C++20, C++23, C++26)

All C++ submissions are compiled using GCC 15.2.0. The detailed compilation tag is as follows:

g++ -o answer -x c++ answer.code -lm -O2 -DONLINE_JUDGE -std=c++XX

The -std=c++XX flag will be set according to your chosen standard (98, 11, 14, 17, 20, 23, or 26).

C (C99, C11)

All C submissions are compiled using GCC 15.2.0. The detailed compilation tag is as follows:

gcc -o answer -x c answer.code -lm -O2 -DONLINE_JUDGE -std=cXX

The -std=cXX flag will be set to either c99 or c11 based on your selection.

Java (Java 8, Java 11, Java 17, Java 21)

Note: As of January 13, 2025, Java 7 and Java 14 are no longer supported by QOJ.

We use Open JDK for all Java submissions.

  • Java 8: openjdk version "1.8.0_462"
  • Java 11: openjdk 11.0.28
  • Java 17: openjdk 17.0.16
  • Java 21: openjdk 21.0.8

Flags -Xmx2048m, -Xss1024m, and -XX:ActiveProcessorCount=1 will be added when running Java programs.

Python (CPython 3.13 / PyPy 3.11)

Note: As of Dec 20, 2023, Python 2 is no longer supported by QOJ.

The Python Interpreters we used are CPython 3.13.7 and PyPy 3.11.

Rust

The Rust compiler we used is rustc 1.92.0 (ded5c06cf 2025-12-08). The detailed compilation tag is as follows:

rustc -o answer -C opt-level=3 --edition=2021 answer.code

D

The D compiler we used is DMD64 D Compiler v2.109.1. The detailed compilation tag is as follows:

dmd answer -O -release -inline -boundscheck=off

Pascal

The Pascal compiler we used is fpc, Free Pascal Compiler version 3.2.2. The detailed compilation tag is as follows:

fpc answer.code -O2

Haskell

The Haskell compiler we used is ghc, The Glorious Glasgow Haskell Compilation System, version 9.4.7. The detailed compilation tag is as follows:

ghc -O2 -rtsopts -XSafe -no-keep-hi-files -no-keep-o-files -static -o answer answer.hs

Kotlin

The Kotlin compiler we used is kotlinc-jvm 2.1.0 (JRE 21.0.5+11-Ubuntu-1ubuntu124.04). The JVM option we used to run Kotlin programs is the same as we used in Java programs.

Go

The Go compiler we used is go version go1.22.2 linux/amd64.

go build -o answer -ldflags -s -w -trimpath

Ruby

The Ruby version we used is Ruby 3.4.8.

Fortran 95 / Fortran 2018

The Fortran compiler we used is GNU Fortran 15.0.1. The detailed compilation tag is as follows:

gfortran -o answer answer.f90  -O2 -DONLINE_JUDGE -std=fX

The -std=fX flag will be set according to your chosen standard (95 or 2018).

Discovery Hailiang Teams

By Qingyu
閱讀其他語言版本: 原文 English

Discovery Hailiang Logins

这个东西在若干个群友监督下随机生成的,他们都表示直接通过!

随机生成器是 @Qingyu 瞎写的,有问题就喷他.

在随机现场的 @hydd, @Lenstar 表示这个真的是一次随机生成的.

Login Member 1 Member 2 Member 3
hailiang01 房俊哲 张涵硕 郭思博
hailiang02 贾皓博 楼元培 刘成果
hailiang03 杨久知 徐锐扬 赖可依
hailiang04 蒋帅泉 郑杞珩 胡昊
hailiang05 王鸿翼 时庆钰 潘大卫
hailiang06 姜圻圣 徐子恩 毛艺婷

Yandex Contest 比赛合集

By Qingyu
閱讀其他語言版本: 原文 English

因为一些原因去随便找了个爬虫爬了下来所有比赛名称。

下面是部分内容展示,完整版请见附件下载:

Part I: contest.yandex.ru

最后更新:2021.02.19,更新至比赛 id 25209

Название URL
Sample Contest https://contest.yandex.ru/contest/3/enter/
Admin Requests https://contest.yandex.ru/contest/4/enter/
Test Contest #1 - Eternal https://contest.yandex.ru/contest/5/enter/
713 https://contest.yandex.ru/contest/6/enter/
Open Cup in Programming 2008-2009. Round 7. Northern Grand Prix. High division. https://contest.yandex.ru/contest/7/enter/
Contest #187 - Jury Session https://contest.yandex.ru/contest/8/enter/
Ural SU Contest (Petrozavodsk Summer, 2008) https://contest.yandex.ru/contest/9/enter/
Contest #1326 - Jury Session https://contest.yandex.ru/contest/10/enter/
Rocky Mountain SF 2011 https://contest.yandex.ru/contest/11/enter/
Contest 6125 - Jury Session https://contest.yandex.ru/contest/12/enter/
ECNA 2011 https://contest.yandex.ru/contest/13/enter/
ECNA11 - Jury Session https://contest.yandex.ru/contest/14/enter/
Petrozavodsk Training Camp - 2008. Belarusian SU + Kazakhstan Contest https://contest.yandex.ru/contest/15/enter/
CTU Open 2011 https://contest.yandex.ru/contest/17/enter/
CTU Open 2011 - Jury Session https://contest.yandex.ru/contest/18/enter/
Unpredictable Contest 1 - Petrozavodsk Summer, 2008 https://contest.yandex.ru/contest/19/enter/
Unpredictable Contest 1 - Jury Session https://contest.yandex.ru/contest/20/enter/
Petrozavodsk SU WX Contest - Petrozavodsk Summer, 2008 https://contest.yandex.ru/contest/21/enter/
Petrozavodsk SU WX Contest - Jury Session https://contest.yandex.ru/contest/22/enter/
Petrazavodsk 2008, Japanese Contest https://contest.yandex.ru/contest/23/enter/
Andrew Stankevich Contest 18 https://contest.yandex.ru/contest/29/enter/
PTZ 2009, Japanese Contest https://contest.yandex.ru/contest/30/enter/
ACM World Finals 2002 https://contest.yandex.ru/contest/31/enter/
PTZ 2009, day 5 https://contest.yandex.ru/contest/32/enter/
PTZ 2009, day 2 https://contest.yandex.ru/contest/33/enter/
PTZ 2009, day 8 https://contest.yandex.ru/contest/35/enter/
World Finals 2004 https://contest.yandex.ru/contest/36/enter/
World Finals 2005 https://contest.yandex.ru/contest/39/enter/
World Finals 2007 https://contest.yandex.ru/contest/40/enter/
World Finals 2007 (With Standings) https://contest.yandex.ru/contest/41/enter/
ASC, 2009 OpenCup Onsite https://contest.yandex.ru/contest/42/enter/
South Eastern USA https://contest.yandex.ru/contest/43/enter/
PTZ 2009, Ufa tour https://contest.yandex.ru/contest/44/enter/
PTZ2009, ASC 35 https://contest.yandex.ru/contest/45/enter/
Archive https://contest.yandex.ru/contest/46/enter/
Blitz (26 problems) https://contest.yandex.ru/contest/48/enter/
MIPT training camp individual contest 1 https://contest.yandex.ru/contest/53/enter/
ICL Individual Contest virtual https://contest.yandex.ru/contest/54/enter/
MIPT training camp individual contest 2 https://contest.yandex.ru/contest/55/enter/
MIPT Virtual https://contest.yandex.ru/contest/56/enter/
MIPT Virtual 2 https://contest.yandex.ru/contest/57/enter/
A+B Virtual https://contest.yandex.ru/contest/59/enter/
CPR Beta 1 https://contest.yandex.ru/contest/60/enter/
TRGI Day-1 https://contest.yandex.ru/contest/61/enter/
TRGI Day-2 https://contest.yandex.ru/contest/62/enter/
TRGI Day-3 https://contest.yandex.ru/contest/63/enter/
Mirror of XI Open Cup Onsite https://contest.yandex.ru/contest/64/enter/
Moscow Subregional 2006 https://contest.yandex.ru/contest/65/enter/
Moscow Subregional 2008 https://contest.yandex.ru/contest/68/enter/
Moscow Subregional - 2009 https://contest.yandex.ru/contest/72/enter/
Computer Science Center, 1 семестр, упражнения https://contest.yandex.ru/contest/74/enter/
Northern Subregional 2006 https://contest.yandex.ru/contest/75/enter/
Dummy https://contest.yandex.ru/contest/76/enter/
Д/з 3 - A* https://contest.yandex.ru/contest/77/enter/
Яндекс.Контест https://contest.yandex.ru/contest/79/enter/
Northern Subregional 2007 https://contest.yandex.ru/contest/81/enter/
Northern Subregional 2008 https://contest.yandex.ru/contest/84/enter/
SPbAU Homework 1 https://contest.yandex.ru/contest/85/enter/
Test contest for monitoring https://contest.yandex.ru/contest/87/enter/
Яндекс.Контест https://contest.yandex.ru/contest/88/enter/
SPbAU Theoretical Minimum https://contest.yandex.ru/contest/92/enter/
Northern Subregional 2009 https://contest.yandex.ru/contest/93/enter/
Western Subregional 2009 https://contest.yandex.ru/contest/94/enter/
Quarterfinal 1: Moscow-2012 https://contest.yandex.ru/contest/96/enter/
Quarterfinal 2: Western-2012 https://contest.yandex.ru/contest/97/enter/
Quarterfinal 3: Northern-2012 https://contest.yandex.ru/contest/98/enter/
SPbAU Homework 2 https://contest.yandex.ru/contest/99/enter/
Яндекс.Контест https://contest.yandex.ru/contest/102/enter/
Computer Science Center, 1 семестр, домашнее задание https://contest.yandex.ru/contest/103/enter/
Семинар 19.10.12 - Алгоритмы на графах https://contest.yandex.ru/contest/105/enter/
Central Subregional 2012 https://contest.yandex.ru/contest/110/enter/
Southern Subregional 2012 https://contest.yandex.ru/contest/111/enter/
SPbAU Aftersolving https://contest.yandex.ru/contest/112/enter/
Eastern Subregional 2012 https://contest.yandex.ru/contest/113/enter/
WQF12-Pre https://contest.yandex.ru/contest/114/enter/
Д/з 5 - Биномиальная куча https://contest.yandex.ru/contest/115/enter/
Д/з 6 - Максимальный поток https://contest.yandex.ru/contest/116/enter/
Яндекс.Контест https://contest.yandex.ru/contest/117/enter/
Д/з 7 - Дерево Фенвика https://contest.yandex.ru/contest/119/enter/
BAPC 2012 https://contest.yandex.ru/contest/120/enter/
Northern Subregional MIPT Run https://contest.yandex.ru/contest/121/enter/
All-Siberian Olympiad 2008, Day 2 https://contest.yandex.ru/contest/122/enter/
NCPC 2012 https://contest.yandex.ru/contest/123/enter/
MIPT Training Camp Entry Contest: CTU Open 2012 https://contest.yandex.ru/contest/124/enter/
Д/з 8 - Дерево отрезков + LCA + RMQ https://contest.yandex.ru/contest/125/enter/
Rocky Mountain Regional 2012 https://contest.yandex.ru/contest/126/enter/
MIPT Training camp team blitz 1 (12.11.2012) https://contest.yandex.ru/contest/128/enter/
MIPT Training camp team PTZ Selection 1 (13.11.2012) https://contest.yandex.ru/contest/129/enter/
MIPT Training camp team short contest 1 (12.11.2012) https://contest.yandex.ru/contest/130/enter/
MIPT Training camp team blitz 2 (13.11.2012) https://contest.yandex.ru/contest/131/enter/
Д/з 9 - Декартово дерево https://contest.yandex.ru/contest/132/enter/
MIPT Training camp 3D Contest (14.11.2012) https://contest.yandex.ru/contest/133/enter/
Яндекс.Контест https://contest.yandex.ru/contest/134/enter/
MIPT Training camp personal contest https://contest.yandex.ru/contest/135/enter/
MIPT Training camp 2D contest (15.11.2012) https://contest.yandex.ru/contest/136/enter/
MIPT Training camp Graph contest (16.11.2012) https://contest.yandex.ru/contest/137/enter/
MIPT Training camp short contest 2 (17.11.2012) https://contest.yandex.ru/contest/139/enter/
MIPT Training camp Math contest (17.11.2012) https://contest.yandex.ru/contest/141/enter/
MIPT Training camp Final Contest 1 (18.11.2012) https://contest.yandex.ru/contest/143/enter/
MIPT Training camp Final contest 2 (19.11.2012) https://contest.yandex.ru/contest/144/enter/

……

下载附件

共 75 篇博客
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8