problema 1
#include <iostream>
using namespace std;
int main() {
int a, b;
cin>>a>>b;
if (a>b) {
cout<<a<<endl;
}
else {
cout<<b<<endl;
}
return 0;
}
problema 2
#include <iostream>
using namespace std;
int main() {
int n, nr_cifre=0;
cin>>n;
do {
nr_cifre++;
n=n/10;
} while (n!=0);
cout<<nr_cifre<<endl;
return 0;
}