1's Introduction
1's People
1's Issues
问题
运算函数未调用,负数不能运算
小建议
代码并未完善,跑不出结果。
转化函数部分有点复杂多余。
建议
优化意见
增加减少用穷举法太过繁琐
建议
存在括号不匹配问题
建议
1.很多变量一开始没有定义,程序跑不了
2.格式有点乱,建议该缩进的地方缩进一下,方便阅读
3.查看代码时发现,貌似没有如果语句的判断,从这点来说不太符合题目要去
4.不支持多变量,题目中的样例2做不到
建议
1.没有如果条件的的判断
2.增加和减少功能可以在匹配到增加或者减少时执行X=X+‘数字’,可以缩短代码长度。
个人拙见
“增加”及“减少”部分代码有点长,可以进行简化,判断是"增加"还是“减少”后利用已经写好的A
函数(汉字转为阿拉伯数字)进行处理可以很好的完成所需的目的。比如:
if(strcmp("增加",a)==0)
printf(sum+A("九"))//sum是原先的值
小建议
1.未对一开始输入的是否为整数进行判断
2.有很多的函数名在使用时函数名拼写错误
建议
14行的sum未进行定义,函数M,N未进行调用
问题建议
代码有问题,跑不了。对变量sum没有进行定义,代码排版比较乱,函数无法调用。建议进行修改
建议
有几个变量定义有点问题,再多检查一下
问题
若运算结果为负数,输出不了 。
建议增加异常的判断。
建议
sum 没有定义
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.