Coder Social home page Coder Social logo

endlesscheng / codeforces-go Goto Github PK

View Code? Open in Web Editor NEW
4.6K 53.0 519.0 122.39 MB

算法竞赛模板库 by 灵茶山艾府 💭💡🎈

Home Page: https://space.bilibili.com/206214

License: MIT License

Go 99.76% JavaScript 0.24%
codeforces-solutions codeforces-golang codeforces golang leetcode-golang competitive-programming icpc acm-icpc algorithm algorithms

codeforces-go's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeforces-go's Issues

login leetcode fail

leetcode.GenLeetCodeTests failed as:

POST https://leetcode.cn/accounts/login/ return code 500

I am sure username and password is right, maybe the api "leetcode.cn/accounts/login" is invalid ?

语言问题

请问灵佬,同等水平用go和c++哪个语言解算法题编码效率更高?

图论prim算法无法解决非连通图

func (*graph) mstPrim(dis [][]int, root int) (mst int, edges [][2]int) {
	...
	for {
		v := -1
		for w, in := range inMST {
			// if !in && (v < 0 || minD[w].d < minD[v].d) {
			if !in && min[w].d < inf && (v < 0 || minD[w].d < minD[v].d) { // 最小距离不能是无穷大
				v = w
			}
		}
		if v < 0 {
			return
		}
    	...
	}
}

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.