diff options
Diffstat (limited to '50A/main.cpp')
| -rw-r--r-- | 50A/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/50A/main.cpp b/50A/main.cpp new file mode 100644 index 0000000..4e90b43 --- /dev/null +++ b/50A/main.cpp @@ -0,0 +1,15 @@ +#include <iostream> + +using namespace std; + +using namespace std; +int main(){ + int a,b; + cin>>a>>b; + int count = 0; + count += (b*a/2); + // 4.5 gets rounded to 4 + cout<<count; + + return 0; +} |
