竞赛
考级
#include<iostream> using namespace std; int main(){ cout<<"4396+2200="<<4396+2200<<endl; cout<<"4396-2200="<<4396-2200<<endl; cout<<"43962200="<<43962200<<endl; cout<<"4396/2200="<<4396/2200<<endl; cout<<"4396%2200="<<4396%2200<<endl; return 0; }
对方正在输入...
ssssssssssssssss
这题其实很简单 只要将题目A731.表达式计算的输出代码前添加算式就行了(笨办法×1) 分享一个团队(点击加入)
赤城清水键
星舰
#include<iostream> using namespace std; int main(){ cout<<"4396+2200="<<4396+2200<<endl; cout<<"4396-2200="<<4396-2200<<endl; cout<<"43962200="<<43962200<<endl; cout<<"4396/2200="<<4396/2200<<endl; cout<<"4396%2200="<<4396%2200; return 0; }
柒
#include <iostream> using namespace std; int main(){ int g = 2200,h = 4396; cout<<h<<"+"<<g<<"="<<h+g<<endl; cout<<h<<"-"<<g<<"="<<h-g<<endl; cout<<h<<""<<g<<"="<<hg<<endl; cout<<h<<"/"<<g<<"="<<h/g<<endl; cout<<h<<"%"<<g<<"="<<h%g; return 0; }
别看了啥都没有
程序员想当编程老师
programmerGYM
#include <iostream> using namespace std; int main() { int a = 4396,b = 2200; cin>>a>>b; cout<<a<<"+"<<b<<"="<<a+b <<endl; cout<<a<<"-"<<b<<"="<<a-b <<endl; cout<<a<<""<<b<<"="<<ab <<endl; cout<<a<<"/"<<b<<"="<<a/b <<endl; cout<<a<<"%"<<b<<"="<<a%b; return 0; }
啊啊啊玩MC的ZHN钟昊能
h=4396 g=2200 print('{}+{}={}'.format(h,g,h+g)) print('{}-{}={}'.format(h,g,h-g)) print('{}{}={}'.format(h,g,hg)) print('{}/{}={}'.format(h,g,h//g)) print('{}%{}={}'.format(h,g,h%g))
151****9879
Lucy
#include <iostream> using namespace std; int main(){ int h,g; h=4396; g=2200; cout<<h<<"+"<<g<<"="<<h+g<<endl; cout<<h<<"-"<<g<<"="<<h-g<<endl; cout<<h<<""<<g<<"="<<hg<<endl; cout<<h<<"/"<<g<<"="<<h/g<<endl; cout<<h<<"%"<<g<<"="<<h%g<<endl; return 0; }
薛博文
#include <iostream> using namespace std; int main(){ cout<<"4396+2200="<<4396+2200<<endl; cout<<"4396-2200="<<4396-2200<<endl; cout<<"43962200="<<43962200<<endl; cout<<"4396/2200="<<4396/2200<<endl; cout<<"4396%2200="<<4396%2200; return 0; }
666
#include <iostream> using namespace std; int main(){ int g,h; g=2200; h=4396; cout<<h<<"+"<<g<<"="<<h+g<<endl; cout<<h<<"-"<<g<<"="<<h-g<<endl; cout<<h<<""<<g<<"="<<hg<<endl; cout<<h<<"/"<<g<<"="<<h/g<<endl; cout<<h<<"%"<<g<<"="<<h%g<<endl; return 0; }
134****6246
共34条