if i am taking A = 10^9 and B=10^9 than following code is giving negative output. why? It is giving me correct output for small integers

前端 未结 0 1021
长发绾君心
长发绾君心 2020-12-05 15:09

A and B are integers ranging from 1 to 10^9 , pairs is a variable that contain value of the expression ((A/2)(B/2)+((A-(A/2))(B-(B/2))))

#include<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题