Git Product home page Git Product logo

zenjtest's Introduction

  1. soil Analysis

Rover 承担了火星土壤采样分析任务,你需要写一个分析模块,来根据探测器检测到的分子式计算物质的分子质量。

元素由一个大写字母或一个大写字母加一个小写字母组成,如H(氢),C(碳),He(氦),Cu(铜)。分子式由元素名,数字,括号()[]{}组成,如H2O,CH3(CH2)16CH3,Fe3[Fe(CN)6]2。

输入每个元素的相对原子质量和要求的分子式,输出相对分子质量

Input
H = 1.00794
C = 12.011
N = 14.00674
O = 15.9994
Fe = 55.845
H2O
CH3(CH2)16CH3
Fe3[Fe(CN)6]2
Expected Output
H2O = 18.015
CH3(CH2)16CH3 = 254.5
Fe3[Fe(CN)6]2 = 591.438

zenjtest's People

Contributors

yjfdl123 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.