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 Solvers26
Suggested Problems
-
448 Solvers
-
Increment a number, given its digits
680 Solvers
-
Who knows the last digit of pi?
688 Solvers
-
Split a string into chunks of specified length
2043 Solvers
-
The Answer to Life, the Universe, and Everything
573 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!