摘要:
以下代码为例 #include<iostream>using namespace std;int main(){ int a,b,i,max; while(cin>>a>>b) { int z,v; z=a; v=b; do{ i=a%b; a=b; b=i; }while(i!=0); cout< 阅读全文
posted @ 2022-05-28 10:45
晚风与你
阅读(46)
评论(0)
推荐(0)
摘要:
以下代码简单为例 #include<iostream>#include<cmath>using namespace std;int main(){ int a; a=2; a=pow(2,4); cout<<a<<endl;; int b=3; b=b^2; cout<<b; } 在定义中先#inc 阅读全文
posted @ 2022-05-28 10:43
晚风与你
阅读(733)
评论(0)
推荐(0)