Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show command update #9

Merged
merged 3 commits into from
Apr 21, 2019
Merged

Show command update #9

merged 3 commits into from
Apr 21, 2019

Conversation

Vigilans
Copy link

1. show -cx now only shows metadata and problem name

image

2. show can be used with file path now

image
image
image

@Vigilans Vigilans requested a review from jdneo April 19, 2019 05:55
@Vigilans
Copy link
Author

Vigilans commented Apr 19, 2019

Now the errors is not with lint, but the behavior we changed.

AssertionError: expected '/*
 * @lc app=leetcode id=2 lang=cpp
 *
 * [2] Add Two Numbers
 */
/**
 * Definition for singly-linked list.
 * struct ListNode {
 *     int val;
 *     ListNode *next;
 *     ListNode(int x) : val(x), next(NULL) {}
 * };
 */
class Solution {
public:
    ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {

    }
};
' to equal '/*
 * @lc app=leetcode id=2 lang=cpp
 *
 * [2] Add Two Numbers
 *
 * https://leetcode.com/problems/add-two-numbers
 *
 * algorithms
 * Medium (25.37%)
 * Total Accepted:    195263
 * Total Submissions: 769711
 * Testcase Example:  '[2,4,3]\n[5,6,4]'
 *
 * You are given two linked lists representing two non-negative numbers. The
 * digits are stored in reverse order and each of their nodes contain a single
 * digit. Add the two numbers and return it as a linked list.
 *
 * Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)
 * Output: 7 -> 0 -> 8
 */
/**
 * Definition for singly-linked list.
 * struct ListNode {
 *     int val;
 *     ListNode *next;
 *     ListNode(int x) : val(x), next(NULL) {}
 * };
 */
class Solution {
public:
    ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {

    }
};
'

@jdneo jdneo merged commit 494dc51 into master Apr 21, 2019
@Vigilans Vigilans deleted the vigilans/show branch April 21, 2019 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants