# include <iostream>
using namespace std;
int main ( )
{
long long int a,b,c,d,e,f;
while (cin>>a>>b)
{
c=a+b;
d=a-b;
e=a*b;
f=a/b;
cout<<c<<endl<<d<<endl<<e<<endl<<f<<endl;
}
return 0;
}
# include <iostream>using namespace std;int main ( ){
long long int a,b,c,d,e,f;while (cin>>a>>b){ c=a+b; d=a-b; e=a*b; f=a/b; cout<<c<<endl<<d<<endl<<e<<endl<<f<<endl;}
return 0; }
題目要求答案可能高達500位數...
long long 應該只能到20位數....
而且題目會說明 是要做加減乘除 任一種
不用全部都算
# include
using namespace std;
int main ( )
{
long long int a,b,c,d,e,f;
while (cin>>a>>b)
{
c=a+b;
d=a-b;
e=a*b;
f=a/b;
cout<}
return 0;
}