Run ID:1004
提交时间:2023-06-17 15:10:23
#include <iostream> using namespace std; int main() { int a , b , c; cin>> a >> b; while(b!=5) { c=a%b; a=b; b=c; } cout << b; return 0; }