Moved kattis from Uni repo
This commit is contained in:
9
kattis/problems/02_11_23/trianglearea/main.c
Normal file
9
kattis/problems/02_11_23/trianglearea/main.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int h, b;
|
||||
scanf("%d %d", &h, &b);
|
||||
|
||||
printf("%f\n", (h*b)/2.0);
|
||||
}
|
BIN
kattis/problems/02_11_23/trianglearea/program
Executable file
BIN
kattis/problems/02_11_23/trianglearea/program
Executable file
Binary file not shown.
Reference in New Issue
Block a user