Giter VIP home page Giter VIP logo

Comments (3)

skygragon avatar skygragon commented on June 15, 2024

@yefeiw please use -vv to run submit again, it will show more info of the HTTP protocol. Also I guess it might be similar with #41, please check your 98.validate-binary-search-tree.cpp to see if there is special unicode char in the file.

from leetcode-cli.

yefeiw avatar yefeiw commented on June 15, 2024

Hi Sky,

Thanks for the reply. I think it mostly has something to do with my -x option. I wonder by downloading the description it makes the difference.

If that is the case, maybe I would like to recommend the contributors to test problem 98 with -x and then see if they can submit? If not, then maybe we need to do something extra to check the description for non-ascii chars?

Best,
Sonass

from leetcode-cli.

skygragon avatar skygragon commented on June 15, 2024

The "-x" param is used to add description as comment in the generated source file. If the description has illegal chars it will failed the submit command. The recent leetcode.com has changed its html format thus we failed to parse the right description for some questions.

Our latest 0.10.1 release should fixed this issue, I would suggest you try the latest leetcode-cli and DO clean your cache for that specific problem: e.g. ~/.lc/validate-binary-search-tree.json

from leetcode-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.