Problem 791. Script file size
Determine the file size of a script, "function.m".
This is the base scoring method for Cody and the Matlab Contests.
Input: (string) Filename
Output: (value) Size
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Rafael S.T. Vieira
on 11 Oct 2020
The test suite needs to be updated.
Christian Schröder
on 3 Feb 2023
Rafael's comment still applies: Cody is using a newer MATLAB version nowadays, the values in the test suite are not correct anymore. Would be nice if the test suit could be updated.
Dyuman Joshi
on 4 Feb 2023
The test suite has been updated accordingly.
Christian Schröder
on 4 Feb 2023
Thanks, Dyuman!
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
5902 Solvers
-
Return the 'Size' of a String of Code
126 Solvers
-
546 Solvers
-
How many trades represent all the profit?
599 Solvers
-
788 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!