@xcpcio/core 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/export/cf.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -249,7 +249,7 @@ class CodeforcesGymGhostDATConverter {
|
|
|
249
249
|
}
|
|
250
250
|
const status = this.submissionStatusToCodeforcesGymDatStatus(submission.status);
|
|
251
251
|
submissionsIdMap.get(teamId).set(problemId, submissionsIdMap.get(teamId).get(problemId) + 1);
|
|
252
|
-
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.
|
|
252
|
+
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.timestampToSecond},${status}
|
|
253
253
|
`;
|
|
254
254
|
});
|
|
255
255
|
return res;
|
package/dist/index.mjs
CHANGED
|
@@ -219,7 +219,7 @@ class CodeforcesGymGhostDATConverter {
|
|
|
219
219
|
}
|
|
220
220
|
const status = this.submissionStatusToCodeforcesGymDatStatus(submission.status);
|
|
221
221
|
submissionsIdMap.get(teamId).set(problemId, submissionsIdMap.get(teamId).get(problemId) + 1);
|
|
222
|
-
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.
|
|
222
|
+
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.timestampToSecond},${status}
|
|
223
223
|
`;
|
|
224
224
|
});
|
|
225
225
|
return res;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "XCPCIO Core",
|
|
5
5
|
"author": "Dup4 <lyuzhi.pan@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lodash": "^4.17.21",
|
|
45
45
|
"string-width": "^6.1.0",
|
|
46
46
|
"xlsx-js-style": "^1.2.0",
|
|
47
|
-
"@xcpcio/types": "0.
|
|
47
|
+
"@xcpcio/types": "0.29.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@babel/types": "^7.22.4",
|
package/src/export/cf.ts
CHANGED
|
@@ -72,7 +72,7 @@ export class CodeforcesGymGhostDATConverter {
|
|
|
72
72
|
const status = this.submissionStatusToCodeforcesGymDatStatus(submission.status);
|
|
73
73
|
submissionsIdMap.get(teamId)!.set(problemId, submissionsIdMap.get(teamId)!.get(problemId)! + 1);
|
|
74
74
|
|
|
75
|
-
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.
|
|
75
|
+
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.timestampToSecond},${status}\n`;
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
return res;
|