Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
9eeec96
Initial plan
Copilot Feb 6, 2026
6bca552
Fix AC code export to support 5-digit question IDs
Copilot Feb 6, 2026
9f2ddc9
2.5.3
github-actions[bot] Feb 6, 2026
01c214f
Update version info to 2.5.3
github-actions[bot] Feb 6, 2026
5c12498
Add validation for malformed data in AC code export
Copilot Feb 6, 2026
660b4e1
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ba34c78
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b7262ca
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
997d6d7
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e4d34f5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
deba7b5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6719c31
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
33c3f52
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b909f21
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
11b9aab
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ac74448
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5be26bb
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
51b7c03
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d24a254
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2d152de
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
64d44bf
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ec8098c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e4c8ef3
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
f8076f9
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d8e3405
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
4e5e8ae
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d865b11
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
979c25e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
291747b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3d523e3
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3db21eb
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
841f7b0
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2b77c1e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
12f0488
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
061cf6b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
42f1f42
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
a74ae36
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2fcac56
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b135d6b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ef42441
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
bbea4fd
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
bb134f1
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d34cd0f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c5481e9
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ed52104
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
fa6970e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b24d441
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
0722f1a
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
33b86fe
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
95d7b71
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
0e98cbc
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
df78400
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
301bba6
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
f71ac22
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5c14073
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
4afe5df
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
970ea60
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2314cb9
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b0f2fb5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
8e5169c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
79e48da
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
9a0d8ac
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
03f81f6
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
217401b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6031225
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
19a6da2
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
917c30d
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5833710
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6ad898a
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d41c546
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
f615da5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
4c9a9b5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
8f30ba0
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
af546bb
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
10c8b37
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
1335aca
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e87be79
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
70a8acb
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d5eb357
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
43de6db
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3990ff5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5f42fa5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
696376a
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6014824
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
98bbc1d
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
39827a8
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
da56928
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
8521ecd
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c4d6499
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
769b47c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ff2a88b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3f2c95b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
26283f5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
235bc6b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c04adbc
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
f6848a2
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5bbc98b
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c0e6b9d
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
458adff
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
a9e3abc
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5868391
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
bcb6799
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c9351ab
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2c9996c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ba55ded
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
2f08172
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
849ca60
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e0c295f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e50e945
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
811af5e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
7ebb4bc
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
7de6fc7
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
17cfe98
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
dda4af4
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
54bfcaf
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3604082
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
83fbba0
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
74e23b8
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d35ab46
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
fb8e701
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
aa2439f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
acf021e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
85128d8
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b0ea8a4
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ab40501
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
35b70fc
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ac02892
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
bb16721
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
f42d46d
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
4d72bd3
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e3108ba
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
a77378f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6272209
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d968373
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
1d83d76
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
eebe9d4
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
0f60674
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
d31312d
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
c0d3232
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
296ebcf
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
334c8ba
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e19b3ab
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ca64ae6
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
6583a14
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
01f56da
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
267cd45
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
b9ebb65
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
5519364
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e3e1d8f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
4be6ba7
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
3fcec52
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
58eb5cd
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
e45090f
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
94f05b5
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
eb6006c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
fe9a342
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
698726c
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
ad5204e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
587297e
Update time and description of 2.5.3
github-actions[bot] Feb 6, 2026
83609ec
Fix infinite recursion in UpdateVersion workflow
Copilot Feb 6, 2026
8fd8a9c
Merge pull request #888 from XMOJ-Script-dev/copilot/fix-ac-code-expo…
PythonSmall-Q Feb 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/UpdateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
pull-requests: write
contents: write
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'github-actions[bot]'
steps:
- name: Generate a token
id: generate_token
Expand Down
11 changes: 11 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3214,6 +3214,17 @@
}
],
"Notes": "No release notes were provided for this release."
},
"2.5.3": {
"UpdateDate": 1770358959413,
"Prerelease": true,
"UpdateContents": [
{
"PR": 888,
"Description": "Fix AC code export for 5-digit question IDs"
}
],
"Notes": "No release notes were provided for this release."
}
}
}
12 changes: 9 additions & 3 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name XMOJ
// @version 2.5.2
// @version 2.5.3
// @description XMOJ增强脚本
// @author @XMOJ-Script-dev, @langningchen and the community
// @namespace https://github/langningchen
Expand Down Expand Up @@ -3002,8 +3002,14 @@ async function main() {
for (let i = 0; i < ACCode.length; i++) {
let CurrentCode = ACCode[i];
if (CurrentCode != "") {
let CurrentQuestionID = CurrentCode.substring(7, 11);
CurrentCode = CurrentCode.substring(14);
let lineBreakPos = CurrentCode.search(/[\r\n]/);
if (lineBreakPos === -1) continue;
let headerLine = CurrentCode.slice(0, lineBreakPos);
let digitMatch = headerLine.match(/\d+/);
if (!digitMatch) continue;
let CurrentQuestionID = digitMatch[0];
let newlinePos = CurrentCode.indexOf('\n');
CurrentCode = CurrentCode.slice(newlinePos + 1);
CurrentCode = CurrentCode.replaceAll("\r", "");
Zip.file(CurrentQuestionID + ".cpp", CurrentCode);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmoj-script",
"version": "2.5.2",
"version": "2.5.3",
"description": "an improvement script for xmoj.tech",
"main": "AddonScript.js",
"scripts": {
Expand Down
Loading