Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3b215f2

Browse files
show last test case
1 parent 6dd223c commit 3b215f2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/cache/models.rs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl std::fmt::Display for VerifyResult {
326326
// Failed some tests
327327
11 => write!(
328328
f,
329-
"\n{}:\n\n{}{}\n{}{}\n",
329+
"\n{}:\n\n{}{}\n{}{}\n{}{}\n",
330330
&self.status.status_msg.red().bold(),
331331
"Total Correct: ".green(),
332332
&self
@@ -336,7 +336,7 @@ impl std::fmt::Display for VerifyResult {
336336
.unwrap_or(&Number::from(0))
337337
.to_string()
338338
.green(),
339-
"Total Testcases: ".bold().yellow(),
339+
"Total Testcases: ".yellow(),
340340
&self
341341
.analyse
342342
.total_testcases
@@ -345,6 +345,8 @@ impl std::fmt::Display for VerifyResult {
345345
.to_string()
346346
.bold()
347347
.yellow(),
348+
"Last TestCase: ".dimmed(),
349+
&self.submit.last_testcase.dimmed()
348350
),
349351
// Output Timeout Exceeded
350352
13 => write!(
@@ -376,7 +378,7 @@ mod verify {
376378
#[serde(default)]
377379
question_id: String,
378380
#[serde(default)]
379-
last_testcase: String,
381+
publast_testcase: String,
380382
#[serde(default)]
381383
pub compare_result: String,
382384
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /