You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
644 B
22 lines
644 B
const int K=2;
|
|
const int L;
|
|
|
|
// Maximum probability of configuring IP address incorrectly
|
|
// RESULT: 130321/100130321
|
|
"incorrect": Pmax=? [ F s=2 & ip=2 ];
|
|
|
|
// As above but testing using constants
|
|
// RESULT: 130321/100130321
|
|
Pmax=? [ F s=2 & ip=K ];
|
|
|
|
// As above but testing using (undefined) constants
|
|
// RESULT: 130321/100130321
|
|
Pmax=? [ F s=2 & ip=L ];
|
|
|
|
const int T = 150;
|
|
|
|
// Maximum probability of configuring IP address incorrectly by time T
|
|
// RESULT (T=100): 130321/200000000
|
|
// RESULT (T=150): 8580204319/8000000000000
|
|
// RESULT (T=200): 390893418881359/320000000000000000
|
|
"deadline": Pmax=? [ F<=T s=2 & ip=2 ];
|