1. mai scrie odata algoritmul ca nu inteleg operatorul dintre nr si y
2.
#include <iostream>
using namespace std;
int main()
{
int y, z;
cin >> y >> z;
if (y+z==0) cout << 1;
else cout << 0;
return 0;
}
3.
#include <iostream>
using namespace std;
int main()
{
int x, y;
cin >> x >> y;
if (x>y) cout << x%10;
else cout << y%10;
return 0;
}