Problem 900. Become the leader
Solution Stats
Problem Comments
-
1 Comment
Richard Zapor
on 11 Aug 2012
How can a webpage be used in an assert?
urlwrite('http://www.dropbox.com/s/hpbc4sbc9ihsz0h/test.p?dl=1','test.p');
assert(isequal(becomeTheLeader,'This is the new leader') && test)
Where test.p is:
Found
Found
The resource was found at https://www.dropbox.com/s/hpbc4sbc9ihsz0h/test.p?dl=1;
you should be redirected automatically.
WSGI Server
Error messages seen are:
Error: invalid pfile
Solution Comments
Show commentsProblem Recent Solvers33
Suggested Problems
-
Determine if a Given Number is a Triangle Number
363 Solvers
-
9172 Solvers
-
Set some matrix elements to zero
502 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
97 Solvers
-
Generate N equally spaced intervals between -L and L
827 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!