Coder Social home page Coder Social logo

作答提交规范 about leetcode HOT 3 CLOSED

xv-jiaqi avatar xv-jiaqi commented on June 14, 2024
作答提交规范

from leetcode.

Comments (3)

xv-jiaqi avatar xv-jiaqi commented on June 14, 2024

✨✨✨ 规范目前如下:✨✨✨

作答提交规范

提交不符合命名规范的答案时文件命名会自动订正。

[TOC]

所有解答在 /answer/... 文件目录下

|
|
 -- answer
|    |
|     -- Qid
|        |
|         -- [Qid].[username][others...?].[lang]
|        |...
 --
...

文件夹名为题目 Qid

文件夹名必须为由题目 ID 构成的4位数字,不足4位则用 0 补足。

文件名需按照特定创建

文件名格式为:

[Qid].[username].[others...?].[lang]
  • 文件名开始 Qid 须以不为零的数字开始
  • username 为作答者 GitHub 用户名。

文件名不允许出现空格

文件名不允许出现空格, 如果存在空格提交时脚本会自动剔除空格。

答案和答案所在文件 Qid 必须一一对应

答案和答案所在文件 Qid 必须一一对应, 不一致时以文件夹 Qid 为准

from leetcode.

xv-jiaqi avatar xv-jiaqi commented on June 14, 2024

@inJs @linningmii @zy445566 大家看下是否有误!

【EDIT】:link:

from leetcode.

xv-jiaqi avatar xv-jiaqi commented on June 14, 2024

提交作答时 pre-commit 会自动订正文件名,Mac 和 Win 下需要安装 python3

from leetcode.

Related Issues (9)

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.