Skip to content

Commit 5e5ba24

Browse files
committed
create problem for chapter 15
1 parent a73930c commit 5e5ba24

File tree

10 files changed

+72
-0
lines changed

10 files changed

+72
-0
lines changed

chapter_15/bellman_ford/Cargo.lock

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chapter_15/bellman_ford/Cargo.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "bellman_ford"
3+
version = "0.1.0"
4+
authors = ["Yohei Osawa <[email protected]>"]
5+
edition = "2018"
6+
7+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
9+
[dependencies]
10+
input = {path = "../../library/input"}

chapter_15/bellman_ford/input.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B&lang=jp

chapter_15/bellman_ford/src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

chapter_15/warshall_floyd/Cargo.lock

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chapter_15/warshall_floyd/Cargo.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "warshall_floyd"
3+
version = "0.1.0"
4+
authors = ["Yohei Osawa <[email protected]>"]
5+
edition = "2018"
6+
7+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
9+
[dependencies]
10+
input = {path = "../../library/input"}

chapter_15/warshall_floyd/input1.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
4 6
2+
0 1 1
3+
0 2 5
4+
1 2 2
5+
1 3 4
6+
2 3 1
7+
3 2 7

chapter_15/warshall_floyd/input2.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
4 6
2+
0 1 1
3+
0 2 -5
4+
1 2 2
5+
1 3 4
6+
2 3 1
7+
3 2 7

chapter_15/warshall_floyd/input3.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
4 6
2+
0 1 1
3+
0 2 5
4+
1 2 2
5+
1 3 4
6+
2 3 1
7+
3 2 -7

chapter_15/warshall_floyd/src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)