Problem 1856. Molecule Atomic Wt (CHONS) Molecules
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 8 Feb 2022
Update: Test suite has been enhanced to include double digit numbers.
Solution Comments
-
2 Comments
Richard Zapor
on 4 Sep 2013
Solution 14 is classic Tim utilizing a multidimensional single for loop with a stunning magical rune string.
Rafael S.T. Vieira
on 12 Oct 2020
This solution is not general. How would this deal with NaCl for instance?
-
2 Comments
Richard Zapor
on 2 Sep 2013
Another astounding solution by Alfonso. A symbolic solution with regexprep using an expert logical twist to accommodate all molecules.
Rafael S.T. Vieira
on 12 Oct 2020
This solution is not general. How would it deal with CaCO3?
Problem Recent Solvers39
Suggested Problems
-
275 Solvers
-
1155 Solvers
-
Magic is simple (for beginners)
5306 Solvers
-
244 Solvers
-
Make a vector of prime numbers
361 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!