This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ ID] Interval Transfer Bandwidth | |
[ 5] 0.00-10.04 sec 0.00 Bytes 0.00 bits/sec sender | |
[ 5] 0.00-10.04 sec 1.08 GBytes 927 Mbits/sec receiver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ ID] Interval Transfer Bandwidth Retr | |
[ 4] 0.00-10.00 sec 1.09 GBytes 934 Mbits/sec 378 sender | |
[ 4] 0.00-10.00 sec 1.08 GBytes 931 Mbits/sec receiver | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = 1000 | |
values = [5+(i**2 % 111) for i in range(1, n+1)] | |
weights = [20+(i % 11) for i in range(1, n+1)] | |
W=800 | |
print("maximize") | |
print("-", " + ".join(str(v)+" x("+str(i+1)+")" for i, v in enumerate(values))) | |
print("subject to") | |
print("c1:", " + ".join(str(w)+" x("+str(i+1)+")" for i, w in enumerate(weights)), "<=", str(W)) | |
print("bounds") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_reverse :: [a] -> [a] | |
my_reverse [] = [] | |
my_reverse [x] = [x] | |
my_reverse (x:xs) = (my_reverse xs) ++ [x] | |
my_min_elem :: (Ord a) => [a] -> a | |
my_min_elem [x] = x | |
my_min_elem (x:xs) | |
| x < head xs = my_min_elem ([x] ++ tail xs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mdl { | |
height: 100%; | |
width: 100%; | |
} | |
.mdl-column-rhs { | |
width:100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
いりあす 宗教 物語 | |
みえ 地名 | |
あっぱー 暴力 | |
きよう ノーマル | |
あむろなみえ 人物 芸術 | |
まぐま 理科 | |
けんしゅう 社会 | |
ぷれす 工作 | |
ふがく 地名 | |
くらふと 工作 |
OlderNewer