summaryrefslogtreecommitdiff
path: root/50A
diff options
context:
space:
mode:
Diffstat (limited to '50A')
-rwxr-xr-x50A/mainbin0 -> 16176 bytes
-rw-r--r--50A/main.cpp15
2 files changed, 15 insertions, 0 deletions
diff --git a/50A/main b/50A/main
new file mode 100755
index 0000000..ad31018
--- /dev/null
+++ b/50A/main
Binary files differ
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;
+}