cout << -1/2
0
-1/2
-1
为什么会这样?
c++ python python-2.x integer-division
c++ ×1
integer-division ×1
python ×1
python-2.x ×1