File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -152,14 +152,18 @@ function showProblem(problem, argv) {
152
152
log . printf ( '* %s' , problem . category ) ;
153
153
log . printf ( '* %s (%s%%)' , h . prettyLevel ( problem . level ) , problem . percent . toFixed ( 2 ) ) ;
154
154
155
- if ( filename )
156
- log . printf ( '* Source Code: %s' , chalk . yellow . underline ( filename ) ) ;
155
+ if ( problem . likes )
156
+ log . printf ( '* Likes: %s' , problem . likes ) ;
157
+ if ( problem . dislikes )
158
+ log . printf ( '* Dislikes: %s' , problem . dislikes ) ;
157
159
if ( problem . totalAC )
158
160
log . printf ( '* Total Accepted: %s' , problem . totalAC ) ;
159
161
if ( problem . totalSubmit )
160
162
log . printf ( '* Total Submissions: %s' , problem . totalSubmit ) ;
161
163
if ( problem . testable && problem . testcase )
162
164
log . printf ( '* Testcase Example: %s' , chalk . yellow ( util . inspect ( problem . testcase ) ) ) ;
165
+ if ( filename )
166
+ log . printf ( '* Source Code: %s' , chalk . yellow . underline ( filename ) ) ;
163
167
164
168
log . info ( ) ;
165
169
log . info ( problem . desc ) ;
You can’t perform that action at this time.
0 commit comments