Groups
Groups
Sign in
Groups
Groups
佳木斯大学ACM论坛
Conversations
About
Send feedback
Help
关于3017的基本思路
1 view
Skip to first unread message
天桥下
unread,
Sep 4, 2006, 10:28:55 AM
9/4/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 佳木斯大学ACM论坛
3017基本思路
1、定义两个整型数组存储运算数,一个字符数组存储运算符
2、定义两个临时整型数组,每次运算时用求余法按倒置顺序将运算数依次存放在数组中,
3、加法及乘法比较简单,按照进位情况依次累加即可,减法涉及到借位问题,注意0-1=9,并且下一位同时减一。
Reply all
Reply to author
Forward
0 new messages