lscontests 1.8.12 → 1.8.13

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/README.md CHANGED
@@ -50,13 +50,13 @@ Options:
50
50
  It performs as follows:
51
51
 
52
52
  <!-- block_cli begin -->
53
- (*The following content was automatically generated in Fri, 13 May 2022 12:49:18 GMT*)
53
+ (*The following content was automatically generated in Fri, 13 May 2022 13:22:53 GMT*)
54
54
 
55
55
  <details>
56
56
  <summary> <code>> lsct </code> </summary>
57
57
 
58
58
  ```text
59
- 最近的 3 天内在 AtCoder,Codeforces,Luogu,NowCoder 上有 10 场比赛
59
+ 最近的 3 天内在 AtCoder,Codeforces,Luogu,NowCoder 上有 12 场比赛
60
60
 
61
61
  比赛平台: NowCoder
62
62
  比赛名称:牛客竞赛博弈专题班 Sprague-Grundy 函数(SG 函数、图游戏、Nim 和)
@@ -79,6 +79,13 @@ https://ac.nowcoder.com/acm/contest/34649
79
79
  结束时间: 5/13/2022, 14:00:00
80
80
  https://ac.nowcoder.com/acm/contest/11200
81
81
 
82
+ 比赛平台: Codeforces
83
+ 比赛名称: Educational Codeforces Round 128 (Rated for Div. 2)
84
+ 赛制: ICPC
85
+ 开始时间: 5/13/2022, 14:35:00
86
+ 结束时间: 5/13/2022, 16:35:00
87
+ https://codeforces.com/contests/1680
88
+
82
89
  比赛平台: NowCoder
83
90
  比赛名称:第二届天元编程邀请赛(提高组)
84
91
  赛制: IOI
@@ -107,11 +114,18 @@ https://ac.nowcoder.com/acm/contest/33540
107
114
  结束时间: 5/14/2022, 10:00:00
108
115
  https://www.luogu.com.cn/contest/68326
109
116
 
117
+ 比赛平台: Codeforces
118
+ 比赛名称: Codeforces Round #791 (Div. 2)
119
+ 赛制: Codeforces
120
+ 开始时间: 5/14/2022, 09:35:00
121
+ 结束时间: 5/14/2022, 11:35:00
122
+ https://codeforces.com/contests/1679
123
+
110
124
  比赛平台: AtCoder
111
125
  比赛名称: Ⓐ Panasonic Programming Contest 2022 (AtCoder Beginner Contest 251)
112
126
  赛制: AtCoder
113
127
  开始时间: 5/14/2022, 12:00:00
114
- 结束时间: 5/14/2022, 12:01:40
128
+ 结束时间: 5/14/2022, 13:40:00
115
129
  https://atcoder.jp/contests/abc251
116
130
 
117
131
  比赛平台: Luogu
@@ -125,7 +139,7 @@ https://www.luogu.com.cn/contest/67377
125
139
  比赛名称: Ⓐ AtCoder Regular Contest 140
126
140
  赛制: AtCoder
127
141
  开始时间: 5/15/2022, 12:00:00
128
- 结束时间: 5/15/2022, 12:02:00
142
+ 结束时间: 5/15/2022, 14:00:00
129
143
  https://atcoder.jp/contests/arc140
130
144
  ```
131
145
 
@@ -135,20 +149,34 @@ https://atcoder.jp/contests/arc140
135
149
  <summary> <code>> lsct -o at cf -d 7</code> </summary>
136
150
 
137
151
  ```text
138
- 最近的 7 天内在 AtCoder,Codeforces 上有 2 场比赛
152
+ 最近的 7 天内在 AtCoder,Codeforces 上有 4 场比赛
153
+
154
+ 比赛平台: Codeforces
155
+ 比赛名称: Educational Codeforces Round 128 (Rated for Div. 2)
156
+ 赛制: ICPC
157
+ 开始时间: 5/13/2022, 14:35:00
158
+ 结束时间: 5/13/2022, 16:35:00
159
+ https://codeforces.com/contests/1680
160
+
161
+ 比赛平台: Codeforces
162
+ 比赛名称: Codeforces Round #791 (Div. 2)
163
+ 赛制: Codeforces
164
+ 开始时间: 5/14/2022, 09:35:00
165
+ 结束时间: 5/14/2022, 11:35:00
166
+ https://codeforces.com/contests/1679
139
167
 
140
168
  比赛平台: AtCoder
141
169
  比赛名称: Ⓐ Panasonic Programming Contest 2022 (AtCoder Beginner Contest 251)
142
170
  赛制: AtCoder
143
171
  开始时间: 5/14/2022, 12:00:00
144
- 结束时间: 5/14/2022, 12:01:40
172
+ 结束时间: 5/14/2022, 13:40:00
145
173
  https://atcoder.jp/contests/abc251
146
174
 
147
175
  比赛平台: AtCoder
148
176
  比赛名称: Ⓐ AtCoder Regular Contest 140
149
177
  赛制: AtCoder
150
178
  开始时间: 5/15/2022, 12:00:00
151
- 结束时间: 5/15/2022, 12:02:00
179
+ 结束时间: 5/15/2022, 14:00:00
152
180
  https://atcoder.jp/contests/arc140
153
181
  ```
154
182
 
@@ -229,7 +257,7 @@ https://www.luogu.com.cn/contest/67377
229
257
  "name": "Ⓐ Panasonic Programming Contest 2022(AtCoder Beginner Contest 251)",
230
258
  "rule": "AtCoder",
231
259
  "startTime": "2022-05-14T12:00:00.000Z",
232
- "endTime": "2022-05-14T12:01:40.000Z",
260
+ "endTime": "2022-05-14T13:40:00.000Z",
233
261
  "url": "https://atcoder.jp/contests/abc251"
234
262
  },
235
263
  {
@@ -237,8 +265,24 @@ https://www.luogu.com.cn/contest/67377
237
265
  "name": "Ⓐ AtCoder Regular Contest 140",
238
266
  "rule": "AtCoder",
239
267
  "startTime": "2022-05-15T12:00:00.000Z",
240
- "endTime": "2022-05-15T12:02:00.000Z",
268
+ "endTime": "2022-05-15T14:00:00.000Z",
241
269
  "url": "https://atcoder.jp/contests/arc140"
270
+ },
271
+ {
272
+ "ojName": "Codeforces",
273
+ "name": "Codeforces Round #791 (Div. 2)",
274
+ "rule": "Codeforces",
275
+ "startTime": "2022-05-14T09:35:00.000Z",
276
+ "endTime": "2022-05-14T11:35:00.000Z",
277
+ "url": "https://codeforces.com/contests/1679"
278
+ },
279
+ {
280
+ "ojName": "Codeforces",
281
+ "name": "Educational Codeforces Round 128 (Rated for Div. 2)",
282
+ "rule": "ICPC",
283
+ "startTime": "2022-05-13T14:35:00.000Z",
284
+ "endTime": "2022-05-13T16:35:00.000Z",
285
+ "url": "https://codeforces.com/contests/1680"
242
286
  }
243
287
  ]
244
288
  ```
@@ -62,8 +62,8 @@ exports.at = {
62
62
  ct.url = `https://atcoder.jp${ele.attr().href}`;
63
63
  }
64
64
  else if (idx == 2) {
65
- const [h, s] = $(this).text().split(":");
66
- ct.endTime = new Date(ct.startTime.getTime() + (parseInt(h) * 60 + parseInt(s)) * 1000);
65
+ const [h, m] = $(this).text().split(":");
66
+ ct.endTime = new Date(ct.startTime.getTime() + (parseInt(h) * 60 + parseInt(m)) * 60 * 1000);
67
67
  }
68
68
  });
69
69
  contests.push(ct);
@@ -1 +1 @@
1
- {"version":3,"file":"atcoder.js","sourceRoot":"","sources":["../../../src/lib/oj/atcoder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iDAAmC;AAItB,QAAA,EAAE,GAAO;IAClB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,GAAS,EAAE;QAEZ,MAAM,QAAQ,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;QAChE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAc,EAAE,CAAC;QAC/B,CAAC,CAAC,4CAA4C,CAAC,CAAC,IAAI,CAAC;YAEjD,MAAM,EAAE,GAAY;gBAChB,MAAM,EAAE,UAAE,CAAC,IAAI;gBACf,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;gBACtB,OAAO,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;gBACpB,GAAG,EAAE,EAAE;aACV,CAAC;YACF,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG;gBAE5B,IAAG,GAAG,IAAI,CAAC;oBAAE,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;qBAChD,IAAG,GAAG,IAAI,CAAC,EAChB;oBACI,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;oBACzB,EAAE,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC,YAAY,EAAE,IAA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CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lscontests",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "description": "A tool to get information about the contests on each OJ",
5
5
  "keywords": [
6
6
  "cli",