We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d075f commit bb0116fCopy full SHA for bb0116f
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## v0.2.11
2
+added code 14 and transfered `&#ge;`、`&#le` and `'`.
3
+## v0.2.10
4
+add code 15
5
+
6
## v0.2.9
7
update ac status after submit successfully
8
Cargo.toml
@@ -4,7 +4,7 @@ path = "src/bin/lc.rs"
[package]
name = "leetcode-cli"
-version = "0.2.10"
+version = "0.2.11"
authors = ["clearloop <udtrokia@163.com>"]
9
edition = "2018"
10
description = "Leet your code in command-line."
README.md
@@ -23,9 +23,9 @@ cargo install leetcode-cli
23
**Please make sure you have logined in `leetcode.com` with `chrome`**, more info plz checkout [this](#cookies)
24
25
```sh
26
-leetcode 0.2.10
+leetcode 0.2.11
27
clearloop <udtrokia@163.com>
28
-Here's to the crazy ones 👻
+May the Code be with You 👻
29
30
USAGE:
31
leetcode [FLAGS] [SUBCOMMAND]
src/cache/mod.rs
@@ -140,6 +140,7 @@ impl Cache {
140
rdesc = serde_json::from_str(&target.desc)?;
141
} else {
142
let json: Value = self.0.clone().get_question_detail(&target.slug)?.json()?;
143
+ debug!("{:#?}", &json);
144
parser::desc(&mut rdesc, json)?;
145
146
// update the question
src/cache/models.rs
@@ -161,7 +161,7 @@ mod question {
161
/// Algorithm metadata
162
#[derive(Debug, Default, Serialize, Deserialize)]
163
pub struct MetaData {
164
- pub name: String,
+ pub name: Option<String>,
165
pub params: Vec<Param>,
166
pub r#return: Return,
167
}
@@ -367,6 +367,13 @@ impl std::fmt::Display for VerifyResult {
367
&self.status.status_msg.yellow().bold(),
368
&self.code_output,
369
),
370
+ // Output Timeout Exceeded
371
+ 14 => write!(
372
+ f,
373
+ "\n{}:\n\n{:?}\n",
374
+ &self.status.status_msg.yellow().bold(),
375
+ &self.code_output,
376
+ ),
377
// Runtime error
378
15 => write!(f, "\n{}\n", &self.status.status_msg.red().bold()),
379
// Compile Error
src/cli.rs
@@ -13,8 +13,8 @@ use clap::{App, AppSettings};
13
pub fn main() -> Result<(), Error> {
14
let m = App::new("leetcode")
15
.author("clearloop <udtrokia@163.com>")
16
- .version("0.2.10")
17
- .about("Here's to the crazy ones 👻")
+ .version("0.2.11")
+ .about("May the Code be with You 👻")
18
.subcommands(vec
//!
//! ```sh
-//! leetcode 0.2.10
+//! leetcode 0.2.11
//! clearloop <udtrokia@163.com>
-//! Here's to the crazy ones 👻
+//! May the Code be with You 👻
//! USAGE:
//! leetcode [FLAGS] [SUBCOMMAND]
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments