Source stringclasses 1
value | Date int64 2.01k 2.02k | Text stringlengths 22 783k | Token_count int64 20 394k |
|---|---|---|---|
Project_CodeNet | 2,020 | package main
import "fmt"
func main() {
var ab, bc, ca int
fmt.Scan(&ab, &bc, &ca)
fmt.Println(ab * bc / 2)
}
| 40 |
Project_CodeNet | 2,020 | package main
import (
"bufio"
"fmt"
"os"
"sort"
)
func main() {
a := ReadInts(3)
sort.Ints(a)
fmt.Println(a[0] * a[1] / 2)
}
var reader = bufio.NewReader(os.Stdin)
func Scan(a ...interface{}) {
if _, err := fmt.Fscan(reader, a...); err != nil {
panic(err)
}
}
func ReadInts(n int) []int {
v := make([]int... | 136 |
Project_CodeNet | 2,019 | package main
import "fmt"
func main() {
var ab, bc, ca int
fmt.Scan(&ab, &bc, &ca)
fmt.Println(ab * bc / 2)
}
| 40 |
Project_CodeNet | 2,019 | package main
import (
"fmt"
"sort"
)
func main() {
a := make([]int, 3)
for i := 0; i < 3; i++ {
fmt.Scan(&a[i])
}
sort.Ints(a)
fmt.Println(a[0] * a[1] / 2)
}
| 75 |
Project_CodeNet | 2,019 | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
var sc = bufio.NewScanner(os.Stdin)
func getInt() int {
sc.Scan()
n, _ := strconv.Atoi(sc.Text())
return n
}
func main() {
sc.Split(bufio.ScanWords)
a, b, _ := getInt(), getInt(), getInt()
fmt.Println((a * b) / 2)
}
| 85 |
Project_CodeNet | 2,019 | package main
import (
"bufio"
"os"
"strconv"
"strings"
"fmt"
)
var sc = bufio.NewScanner(os.Stdin)
func main() {
sc.Scan()
lst := strings.Split(sc.Text(), " ")
ab, _ := strconv.Atoi(lst[0])
bc, _ := strconv.Atoi(lst[1])
fmt.Println(ab * bc / 2)
} | 87 |
Project_CodeNet | 2,019 | package main
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
)
var sc = bufio.NewScanner(os.Stdin)
func read() string {
sc.Scan()
return sc.Text()
}
func solve(nums []int) float64 {
return float64(nums[0]*nums[1]) * 0.5
}
func main() {
in := read()
nums := []int{}
for _, c := range strings.Split(in, " "... | 128 |
Project_CodeNet | 2,019 | package main
import (
"fmt"
"os"
"bufio"
"strconv"
// "sort"
)
var sc = bufio.NewScanner(os.Stdin)
func main() {
sc.Split(bufio.ScanWords)
// code goes here
a, b := nextInt(), nextInt();
fmt.Println((a*b)/2);
}
func nextInt() int {
sc.Scan()
v, e := strconv.At... | 272 |
Project_CodeNet | 2,020 | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
var sc = bufio.NewScanner(os.Stdin)
func Scanner() string {
sc.Scan()
return sc.Text()
}
func intScanner() int {
n, _ := strconv.Atoi(Scanner())
return n
}
func floatScanner() float64 {
n, _ := strconv.ParseFloat(Scanner(), 64)
return n
}
func stringTo... | 442 |
Project_CodeNet | 2,019 | package main
import ."fmt"
func main() {
var ab, bc, ca int
Scanf("%d %d %d\n", &ab, &bc, &ca)
Printf("%d", ab*bc/2)
}
| 52 |
Project_CodeNet | 2,019 | package main
import(
"fmt"
)
func main() {
var ab, bc, ca int
fmt.Scan(&ab, &bc, &ca)
ans := (ab*bc) / 2
fmt.Println(ans)
} | 48 |
Project_CodeNet | 2,020 | package main
import (
"bufio"
"container/heap"
"fmt"
"math"
"os"
"strconv"
)
const (
initialBufSize = 10000
maxBufSize = 1000000
mod = 1e9 + 7
)
var (
sc *bufio.Scanner = func() *bufio.Scanner {
sc := bufio.NewScanner(os.Stdin)
buf := make([]byte, initialBufSize)
sc.Buffer(buf, maxBufS... | 1,730 |
Project_CodeNet | 2,019 | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
var sc = bufio.NewScanner(os.Stdin)
func main() {
sc.Split(bufio.ScanWords)
ab := readInt()
bc := readInt()
_ = readInt()
fmt.Println((ab * bc) / 2)
}
func read() string {
sc.Scan()
return sc.Text()
}
func readInt() int {
i, e := strconv.Atoi(read())... | 112 |
Project_CodeNet | 2,019 | package main
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
)
////////////////////////////////////////
/// templates ///
////////////////////////////////////////
var sc = bufio.NewScanner(os.Stdin)
func nextLine() string {
sc.Scan()
return sc.Text()
}
var rdr = bufio.NewReaderSize(os... | 466 |
Project_CodeNet | 2,019 | package main
import (
"fmt"
)
func main() {
var ab, bc, ca int
fmt.Scan(&ab, &bc, &ca)
fmt.Println(ab * bc / 2)
} | 46 |
Project_CodeNet | 2,020 | package main
import (
"fmt"
)
func main() {
var c, a, b int
fmt.Scan(&c, &a, &b)
fmt.Println(c * a / 2)
} | 46 |
Project_CodeNet | 2,019 | s/\(.*\) \(.*\) .*/echo $((\1*\2\/2))/e | 21 |
Project_CodeNet | 2,019 | s/ /*/
s/ .*/\/2/
s/\(.*\)/echo $((\1))/e | 24 |
Project_CodeNet | 2,019 | s|\([0-9]*\).\([0-9]*\).\(.*\)|echo $((\1*\2/2))|e | 32 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main (void)
{
int a, b, c;
int menseki = 0;
scanf("%d %d %d", &a, &b, &c);
menseki = a * b / 2;
printf("%d", menseki);
} | 70 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a,b,c,S;
scanf("%d %d %d",&a,&b,&c);
S=a*b/2;
printf("%d",S);
return 0;
} | 50 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
}
| 42 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(void) {
int ab; int bc; int ca;
scanf("%d", &ab);
scanf("%d", &bc);
scanf("%d", &ca);
printf("%d",ab * bc / 2);
return 0;
} | 56 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a*a + b * b == c * c) {
printf("%d", (a*b)/2);
}
else if (a*a + c * c == b * b) {
printf("%d", (a*c)/2);
}
else if (c*c + b * b == a * a) {
printf("%d", (c*b) / 2);
}
return 0;
} | 122 |
Project_CodeNet | 2,019 | #include <stdio.h>
// 1~11 ABC 116h
int main() {
int AB, BC, CA;
int S;
scanf("%d %d %d", &AB, &BC, &CA);
S = (AB*BC) / 2;
printf("%d\n", S);
return 0;
}
| 70 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
double ans = 0.5*(a*b);
printf("%.0lf",ans);
return 0;
} | 50 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a, b, c, d;
scanf("%d %d %d",&a,&b,&c);
d=a*b/2;
printf("%d",d);
return 0;
} | 54 |
Project_CodeNet | 2,019 | main(a,b){scanf("%d%d%*d",&a,&b);printf("%d",a*b/2);} | 25 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
printf("%d", a * b / 2);
return 0;
}
| 46 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int ab,bc,ca;
scanf("%d %d %d",&ab,&bc,&ca);
int ans = ab*bc/2;
printf("%d",ans);
return 0;
} | 55 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d\n", (a*b)/2);
return 0;
} | 51 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main() {
int x, y, z;
scanf("%d %d %d", &x, &y, &z);
printf("%d\n", (x*y)/2);
return 0;
} | 49 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#define MOD 1000000009
#define MAX(a,b) (a>b?a:b)
#define MAX3(a,b,c) MAX(a,MAX(b,c))
#define MIN(a,b) (a<b?a:b)
#define MIN3(a,b,c) MIN(a, MIN(b,c))
#define top(i,j) val[i*m+j]
typedef long long lli;
typedef unsigned short int usi;
lli nPr(i... | 319 |
Project_CodeNet | 2,019 | #include<stdio.h>
#include<stdlib.h>
#include<limits.h>
#include<string.h>
int main(){
int AB,BC;
scanf("%d %d",&AB,&BC);
printf("%d",AB*BC/2);
return 0;
} | 54 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d\n", a*b/2);
return 0;
}
| 52 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int AB,BC,CA;
scanf("%d %d %d",&AB,&BC,&CA);
printf("%d",AB * BC / 2);
return 0;
} | 48 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a, b, c;
double ans;
scanf("%d %d %d", &c, &a, &b);
ans = a * c / 2.0;
printf("%g", ans);
return 0;
}
| 63 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main(){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a>=b&&a>=c){
printf("%d\n",b*c/2);
}
else if(b>=c&&b>=a){
printf("%d\n",a*c/2);
}
else{
printf("%d\n",a*b/2);
}
return 0;
}
| 108 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main() {
int X, Y, Z;
scanf("%d %d %d", &X, &Y, &Z);
int area = X * Y / 2;
printf("%d\n", area);
return 0;
}
| 60 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",(a*b)/2);
return 0;
} | 39 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main (void){
int AB,BC,CA;
scanf("%d%d%d",&AB,&BC,&CA);
printf("%d",(AB*BC)/2);
} | 40 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d\n",(a*b)/2);
return 0;
}
| 48 |
Project_CodeNet | 2,020 | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef long long ll;
typedef double keytype;
void quicksort(keytype a[], int first, int last)
{
int i, j;
keytype x, t;
x = a[(first + last) / 2];
i = first; j = last;
for ( ; ; ) {
while (a[i] < x) i++;
while (x < a[j])... | 235 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void)
{
int a,b,c,n,m;
scanf("%d%d%d",&a,&b,&c);
n=a; m=b;
if(a>b && a>c){n=c;m=b;}
if(b>a && b>c){n=a;m=c;}
if(c>a && c>b){n=a;m=b;}
printf("%d\n",n*m/2);
return 0;
} | 94 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <math.h>
int main(void){
int ab, bc, ca, ans ;
scanf("%d%d%d", &ab, &bc, &ca);
ans = ab * bc / 2;
printf("%d\n", ans);
return 0;
}
| 64 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void)
{
int AB,BC,CD,x,X;
scanf("%d%d%d",&AB,&BC,&CD);
x=AB*BC;
X=x/2;
printf("%d",X);
} | 50 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(void) {
int a, b, c, area;
scanf("%d %d %d", &a, &b, &c);
if((a >= 1) && (a <= 100) && (b >= 1) && (b <= 100) && (c >= 1) && (c <= 100)) {
if((a >= b) && (a >= c)) {
area = (b * c) / 2;
}
else if((b > a) && (b > c)) {
area = (a * c) / 2;
}... | 174 |
Project_CodeNet | 2,020 | #include<stdio.h>
int main()
{
int AB,BC,CA;
scanf("%d %d %d",&AB,&BC,&CA);
AB=0.5 * AB * BC;
printf("%d",AB);
return 0;
}
| 55 |
Project_CodeNet | 2,020 | int main(void){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",(a*b)/2);
} | 34 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(int argc, char *argv[])
{
long long AB, BC, CA;
scanf("%lld %lld %lld", &AB, &BC, &CA);
printf("%lld\n", AB * BC / 2);
return 0;
}
| 61 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int x,y,z,s;
scanf("%d %d %d",&x,&y,&z);
s=x*y/2;
printf("%d",s);
return 0;
}
| 49 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(void)
{
int ab,bc,ca;
scanf("%d%d%d",&ab,&bc,&ca);
printf("%d\n",(ab*bc)/2);
return 0;
}
| 45 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d\n",(a*b)/2);
return 0;
}
| 46 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
#define max(a,b) a>b?a:b
#define min(a,b) a<b?a:b
typedef long long ll;
int main(void){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if (a>b && a>c){
printf("%d\n",b*c/2);
} else if (b>a && b>c){
... | 139 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
} | 48 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a>b&&a>c)printf("%d",b*c/2);
else if(b>a&&b>c)printf("%d",a*c/2);
else if(c>b&&c>a)printf("%d",a*b/2);
} | 85 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
printf("%d",(a*b)/2);
return 0;
} | 37 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
} | 42 |
Project_CodeNet | 2,020 | #include<stdio.h>
int main(void){
int AB, BC,CA;
scanf("%d%d%d", &AB, &BC, &CA);
printf("%d\n", (AB*BC)/2);
return 0;
} | 49 |
Project_CodeNet | 2,019 | #include<stdio.h>
int ab,bc,ca;
int main(void){
scanf("%d%d%d",&ab,&bc,&ca);
printf("%d",ab*bc/2);
return 0;
} | 45 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a, b, c;
if (scanf("%d %d %d", &a, &b, &c) == -1) return -1;
printf("%d\n", a * b / 2);
return 0;
} | 64 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a[3];
int temp;
for(int i = 0; i < 3; i++) scanf("%d", &a[i]);
for(int i = 0; i < 3; i++){
for(int j = i + 1; j < 3; j++){
if(a[i] < a[j]){
temp = a[i];
a[i] = a[j];
a[j] = temp;
}
}
}
int s = a[1] * a[2] / 2;
printf("%d\n", s);
return 0;
} | 138 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d ",&a,&b,&c);
printf("%d\n",(a*b)/2);
return 0;
} | 47 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void)
{
int x, y, A;
scanf("%d%d", &x, &y);
A = x*y/2;
printf("%d", A);
return 0;
} | 51 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void)
{
int num[5] = {100,100,100,100,100}, empty, i;
scanf("%d%d%d", &num[0], &num[1], &num[2]);
for (i = 0; i < 3; i++)
{
if (num[i] > num[i + 1])
{
empty = num[i];
num[i] = num[i + 1];
num[i + 1] = empty;
}
... | 141 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d", &a, &b, &c);
int max = a;
if (b > max) {
max = b;
}
if (c > max) {
max = c;
}
int area = a*b*c/max;
area /= 2;
printf("%d\n", area);
return 0;
} | 98 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void){
int AB,BC,CA;
scanf("%d %d %d",&AB,&BC,&CA);
if(CA*CA==AB*AB+BC*BC){
printf("%d\n",AB*BC/2);
}
return 0;
} | 66 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include<math.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",(a*b)/2);
return 0;
}
| 49 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d",(a*b)/2);
return 0;
} | 42 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main()
{
int a, b, c;
scanf("%d %d %d", &c, &a, &b);
printf("%d\n", a * c / 2);
fflush(stdout);
return 0;
} | 54 |
Project_CodeNet | 2,019 | #include<stdio.h>
#include<math.h>
int main()
{
int a,b,c,s,area;
scanf("%d%d%d",&a,&b,&c);
s=(a+b+c)/2;
area=s*(s-a)*(s-b)*(s-c);
area=sqrt(area);
printf("%d",area);
}
| 65 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d\n",a*b/2);
return 0;
} | 47 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int a,b,c,s;
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c) s=b*c/2;
else if(b>a&&b>c) s=c*a/2;
else s=a*b/2;
printf("%d",s);
} | 72 |
Project_CodeNet | 2,019 | #include<stdio.h>
#include<math.h>
int main(){
double a,b,c,cosC,sinC,S;
scanf("%lf%lf%lf",&c,&b,&a);
cosC=(a*a+b*b-c*c)/(2.0*a*b);
sinC=sqrt(1.0-(cosC*cosC));
S=a*b*sinC/2.0;
printf("%d\n",(int)(S+0.5));
return 0;
} | 103 |
Project_CodeNet | 2,019 | #include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <ctype.h>
#include <stdint.h>
#include <string.h>
#include <wchar.h>
#include <math.h>
#define N_MAX (100)
#define P_MAX (100)
#define DP_ARRAY_SIZE (N_MAX * P_MAX / 32 + 1)
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX... | 2,039 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a*b/2);
} | 37 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(){
int c,a,b;
scanf("%d%d%d",&c,&a,&b);
int area;
area = a * c / 2;
printf("%d\n",area);
return 0;
} | 55 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main(void)
{
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
printf("%d\n", a*b/2);
return 0;
} | 55 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a*b/2);
} | 39 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int main(){
int a,b,c,s;
scanf("%d %d %d",&a,&b,&c);
s=a*b;
if(s>a*c)
s=a*c;
if(s>b*c)
s=b*c;
printf("%d",s/2);
} | 85 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int ab, bc, ca;
scanf("%d %d %d", &ab, &bc, &ca);
printf("%d", ab * bc / 2);
return 0;
} | 53 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main (void)
{
int ab, bc, ca, v;
scanf("%d", &ab);
scanf("%d", &bc);
scanf("%d", &ca);
v = ab * bc * 0.5;
printf("%d\n",v);
return 0;
} | 70 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <stdlib.h>
int main(void){
int ab,bc;
scanf("%d%d",&ab,&bc);
int ans = (ab * bc)/2;
printf("%d",ans);
} | 49 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
printf("%d\n", (a*b)/2);
return 0;
} | 49 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main (void)
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
}
| 46 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>
int acs(const void *a, const void *b) { return *(int *)a - *(int *)b; } /* 1,2,3,4.. */
int des(const void *a, const void *b) { return *(int *)b - *(int *)... | 307 |
Project_CodeNet | 2,020 | #include<stdio.h>
int main () {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
printf("%d", (a*b)/2);
return 0;
} | 51 |
Project_CodeNet | 2,020 | #include <stdio.h>
int main() {
int x, y, z;
scanf("%d %d %d", &x, &y, &z);
printf("%d\n", (x*y)/2);
return 0;
}
| 49 |
Project_CodeNet | 2,019 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int c, a, b;
scanf("%d %d %d", &c, &a, &b);
printf("%d\n", c * a / 2);
return 0;
} | 64 |
Project_CodeNet | 2,019 | #include "stdio.h"
int main(int argc, char const *argv[]) {
int a,b,c;
scanf("%d%d%d",&a,&b,&c );
int ans=a*b/2;
printf("%d", ans);
return 0;
}
| 56 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int ab,bc,ca;
scanf("%d %d %d",&ab,&bc,&ca);
printf("%d\n",(ab*bc)/2);
return 0;
}
| 48 |
Project_CodeNet | 2,019 | #include<stdio.h>
#include<math.h>
#include<string.h>
int main(){
int s=1,max=0;
int a;
int i=0;
for(i=0;i<3;i++){
scanf("%d",&a);
s*=a;
if(a>max){
max=a;
}
}
s/=max;
s/=2;
printf("%d\n",s);
return 0;
} | 91 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int ab,bc,ca;
scanf("%d%d%d",&ab,&bc,&ca);
printf("%d",ab*bc/2);
return 0;
} | 45 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(){
int a;
int b;
scanf("%d %d",&a,&b);
a=a*b/2;
printf("%d\n",a);
} | 43 |
Project_CodeNet | 2,019 | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
int main(){
int a,b,c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if(a>=b&&a>=c){
printf("%d\n",(b*c)/2);
}
if(b>=a&&b>=c){
printf("%d\n",(a*c)/2);
}
if(c>=a&&c>=b){
printf("%d\n",(a*b)/2);
}
return 0;
} | 122 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void)
{
int ab,bc,ca,s;
scanf("%d %d %d",&ab,&bc,&ca);
s=ab*bc/2;
printf("%d\n",s);
return 0;
}
| 57 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(){
int AB,BC,CA;
scanf("%d%d%d",&AB,&BC,&CA);
printf("%d",AB*BC/2);
return 0;
} | 46 |
Project_CodeNet | 2,019 | #include<stdio.h>
int main(){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
} | 42 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("%d",a*b/2);
return 0;
} | 45 |
Project_CodeNet | 2,019 | #include <stdio.h>
int main()
{
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d\n", a * b / 2);
return 0;
} | 52 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.