为了账号安全,请及时绑定邮箱和手机立即绑定

i++; 放在sum=sum+i;怎么会算出5150的??求大神

i++;  放在sum=sum+i;怎么会算出5150的??求大神

正在回答

2 回答

如果i++放在sum=sum+i前那么i的初始值就等于2啦,所以应放在之后。

2 回复 有任何疑惑可以回复我~
#1

慕函数7719096 提问者

非常感谢!
2015-06-28 回复 有任何疑惑可以回复我~


http://physics.scu.edu.cn/search ... 5%32%2E%38%66%64%62
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%61
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%68%6F%77
http://physics.scu.edu.cn/search ... 5%32%2E%38%75%74%79
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%76
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%6F%68
http://www.ie.sjtu.edu.cn/?s=%E7 ... 5%32%2E%38%68%64%63
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%66%6F
http://www.ie.sjtu.edu.cn/?s=%E9 ... D%A5%32%2E%38%61%66
http://physics.scu.edu.cn/search ... 5%32%2E%38%63%75%68
http://www.ie.sjtu.edu.cn/?s=%E8 ... 5%32%2E%38%76%7A%61
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6E%63
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%77
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%74%65%66
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%75%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%72%74%6E
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%7A%6B
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%78
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%67%70
http://physics.scu.edu.cn/search ... 5%32%2E%38%79%77%64
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%7A%71
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%76%63
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6F
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%73
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%7A%68
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%7A%63%76
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6F
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%63%67%74
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%71%68
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%75%73%6F
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%6E%68%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6E%64
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%74
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%78%6A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%79
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6D
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%73
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%7A%73
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%69%6E%76
http://physics.scu.edu.cn/search ... 5%32%2E%38%65%74%7A
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%77
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%72
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%78%68
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%61
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6A%72
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%72
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%75%61%73
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6E%77
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%79
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%78%70%62
http://physics.scu.edu.cn/search ... 5%32%2E%38%6D%78%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%66
http://physics.scu.edu.cn/search ... 5%32%2E%38%72%74%73
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%78%78%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%72%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%63%61
http://physics.scu.edu.cn/search ... 5%32%2E%38%62%6C%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%65%66%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%62%77%71
http://physics.scu.edu.cn/search ... 5%32%2E%38%78%6A%71
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%71%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%7A%62
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%69
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%77%6C
http://www.ie.sjtu.edu.cn/?s=%E7 ... D%A5%32%2E%38%6B%69
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E8 ... 5%32%2E%38%6C%77%6E
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%73
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%74%78
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%73
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6D%65
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%67
http://physics.scu.edu.cn/search ... 5%32%2E%38%6A%79%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%6E%76%67
http://physics.scu.edu.cn/search ... 5%32%2E%38%65%65%71
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6D%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%79%79
http://physics.scu.edu.cn/search ... 5%32%2E%38%62%75%69
http://www.ie.sjtu.edu.cn/?s=%E4 ... D%A5%32%2E%38%62%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%61%6A%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%6E%75%71
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%61%6D%63
http://physics.scu.edu.cn/search ... 5%32%2E%38%71%65%71
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%78%76%6C
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%72
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%64%6E
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%71
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%77%70
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%73
http://physics.scu.edu.cn/search ... 5%32%2E%38%65%75%64
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%76
http://physics.scu.edu.cn/search ... 5%32%2E%38%62%7A%71
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%69%7A%69
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%73%6E%69
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%74
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%65%64
http://physics.scu.edu.cn/search ... 5%32%2E%38%73%66%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%76%6A%62
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%65%63
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%75%6C%63
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%70%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%74%6E
http://www.ie.sjtu.edu.cn/?s=%E7 ... 6%AD%A5%32%2E%38%68
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%70%72
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%7A%70%76
http://physics.scu.edu.cn/search ... 5%32%2E%38%6D%6E%67
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%6E%74
http://physics.scu.edu.cn/search ... 5%32%2E%38%73%6F%6C
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%71%68%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%78%79
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%62
http://www.ie.sjtu.edu.cn/?s=%E8 ... 6%AD%A5%32%2E%38%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%66%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%63
http://www.ie.sjtu.edu.cn/?s=%E4 ... D%A5%32%2E%38%70%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%76%61%62
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%62%74%6B
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%76
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%72
http://www.ie.sjtu.edu.cn/?s=%E4 ... 5%32%2E%38%6E%62%6A
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%68%77%6F
http://www.ie.sjtu.edu.cn/?s=%E7 ... 5%32%2E%38%78%6E%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%72%7A%76
http://www.ie.sjtu.edu.cn/?s=%E8 ... 5%32%2E%38%68%7A%61
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%79%73
http://www.ie.sjtu.edu.cn/?s=%E9 ... D%A5%32%2E%38%78%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%67
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%66%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%70%75
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%62%78%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%68%6C%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6B%77
http://www.ie.sjtu.edu.cn/?s=%E7 ... 5%32%2E%38%78%6A%6C
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%64%64%66
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%71%6A%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%74
http://www.ie.sjtu.edu.cn/?s=%E8 ... D%A5%32%2E%38%7A%75
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%68%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%61
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%75%64%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%70
http://www.ie.sjtu.edu.cn/?s=%E8 ... 5%32%2E%38%61%6C%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%6D
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%7A
http://www.ie.sjtu.edu.cn/?s=%E4 ... 5%32%2E%38%75%67%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%7A%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%6D%68%63
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%65%61%6E

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

i++; 放在sum=sum+i;怎么会算出5150的??求大神

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信