summaryrefslogtreecommitdiff
path: root/50A/main.cpp
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-06-01 14:34:18 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-06-01 14:34:18 +0200
commit7172d4f401f22192abc1e116a9a88c5078eb082f (patch)
tree65b099c01ddea514a99ad68bd6306fed1a6f8b67 /50A/main.cpp
initial commitHEADmaster
Diffstat (limited to '50A/main.cpp')
-rw-r--r--50A/main.cpp15
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;
+}