Comments (1)
7fa0aeb
121dae8
上記のコミットで取り除きました。
C++だと、グローバルで宣言するときに、いったん何もない変数を作っておきたいけれど、Rubyでそういうのはなさそうです。
#include <iostream>
using namespace std;
class UnionFind {
public:
int _n;
UnionFind() {
_n = 0;
}
UnionFind(int n){
_n = n;
}
};
UnionFind uf;
int main(){
uf = UnionFind(3);
}
from ac-library-rb.
Related Issues (20)
- add maxflow and test for it(最大流を追加する) HOT 1
- add DSU Document(Ja) HOT 1
- testで使用している変数名maxAを変える HOT 7
- Add ModInt Document(Ja)
- Add FenwickTree Document(Ja)
- READMEに書きたいことを整理する HOT 2
- Add 2-SAT Document(Ja) HOT 2
- Add PriorityQueue doc(Ja)
- Delete `frozen_string_literal: true`
- Change directory name from `src` to `lib` HOT 2
- dsuのgroups_with_leaderでgroup_byを使ってはどうか HOT 3
- Gem化させる
- 遅延セグメントツリーの引数の変更 HOT 1
- convolution.rbの過去版を復活させる HOT 1
- change branch name: master -> main HOT 1
- テストで時間がかかっているところを減らしたい HOT 1
- Segtree#min_left has not been verified! HOT 1
- SCC: stack level too deep
- リンク先ブランチが main ではなく master のままになっている HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ac-library-rb.