Răspuns :

problema 1)

#include<iostream>

using namespace std;

int main()

{unsigned int n;

int nr=0,i;

cin>>n;

for(i=n;i>=1;i=i--)

if(n%i==0) {nr++; if(i%2==0)cout<<i<<" ";}

cout<<"nr de divizori ai lui "<<n<<": "<<nr;

return 0;}

problema 2)

#include<iostream>

using namespace std;

int main()

{unsigned int n,nr,s=0,numar=0;

int i;

cin>>n;

for(i=1;i<=n;i++)

{cin>>nr; if(nr%n==0)numar++;

if(nr>9&&nr<100) s+=nr;}

cout<<"suma: "<< s<<endl;

cout<<"numarul de multipli:"<< numar;

return 0;}