摘要:
#include <stdlib.h> #include <math.h> #include <iostream> using namespace std; int main(){ int n; cin>>n; for(int i=2;i<=n;i++){ while(n!=0){ if(n%i== 阅读全文
posted @ 2021-01-12 21:04
Maxwell·
阅读(61)
评论(0)
推荐(0)
摘要:
#include <stdlib.h> #include <math.h> #include <iostream> using namespace std; int greatest_common_divisor1(int a,int b){ //辗转相减法 while(a!=b){ if(a>b) 阅读全文
posted @ 2021-01-12 20:28
Maxwell·
阅读(77)
评论(0)
推荐(0)

浙公网安备 33010602011771号