#include<iostream.h>#include<fstream.h>int main(){ ifstream f("cmmdc.in"); ofstream g("cmmdc.out"); f>>a>>b; if(a>b)a=a-b; else b=b-a; g<<a; f.close(); g.close();}
#include<iostream.h>#include<fstream.h>
#include<iostream>#include<fstream>using namespace std;