Muhammad Magdi
Is an online system that tests the correctness of the solutions of programming problems.
S
#include <iostream> using namespace std; int main() { int s; cin >> s; cout << s*s << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; int x = a + b; cout << "X = " << x << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << "PROD = " << a*b << endl; return 0; }
int c = a*b;
cout << "PROD = " << c << endl;
#include <iostream> #include <cmath> using namespace std; int main() { int a, b; cin >> a >> b; int max = (a + b + abs(a - b)) / 2; cout << max << endl; return 0; }
#include <cmath>