标签:blog io os ar sp div c on log
#include<iostream> using namespace std; int main() { long long sum1,sum2,sum3,sum4; long int a,b; cin>>a>>b; sum1=a+b; sum2=a-b; sum3=a*b; sum4=a/b; cout<<sum1<<endl<<sum2<<endl<<sum3<<endl<<sum4<<endl; }
用%lld,以及I64d输出都不能通过,换成c++就能通过了。
标签:blog io os ar sp div c on log
原文地址:http://www.cnblogs.com/wuyuewoniu/p/4012504.html