Source stringclasses 1
value | Date int64 2.01k 2.02k | Text stringlengths 22 783k | Token_count int64 20 394k |
|---|---|---|---|
Project_CodeNet | 2,019 | ab, bc, ca = gets.split.map &:to_i
puts ab * bc / 2
| 21 |
Project_CodeNet | 2,019 | long = gets.split.map(&:to_i)
try = (long[0] * long[1])/2
puts try | 25 |
Project_CodeNet | 2,019 | a, b, c = gets.chomp.split(" ").map(&:to_i).sort
puts a * b / 2 | 25 |
Project_CodeNet | 2,019 | a = gets.split.map(&:to_i).sort
p a[0]*a[1]/2 | 21 |
Project_CodeNet | 2,019 | #
# File : A2.rb
# Author : Kazune Takahashi
# Created : 1/20/2019, 9:33:40 PM
# Powered by Visual Studio Code
#
x = gets.chomp.split(" ").map{|i| i.to_i}
puts x[0] * x[1] / 2
| 75 |
Project_CodeNet | 2,019 | abc = gets.split.map(&:to_i)
a, b = abc.sort[0..1]
p (a * b / 2)
| 29 |
Project_CodeNet | 2,020 | AB, BC, CA = gets.split.map(&:to_i)
puts (AB * BC) / 2
| 23 |
Project_CodeNet | 2,019 | nums = gets.split(" ").map(&:to_i)
max_num = nums.max
puts nums.select{|n| n < max_num}.inject(&:*)/2 | 33 |
Project_CodeNet | 2,019 | AB, BC, CA = gets.split(' ').map(&:to_i)
puts (AB * BC) / 2 | 24 |
Project_CodeNet | 2,019 | arr = gets.chomp!.split(" ")
puts ((arr[0].to_i * arr[1].to_i) / 2) | 28 |
Project_CodeNet | 2,019 | a, b, c = gets.split.map(&:to_i)
max = [a, b, c].max
puts a * b * c / max / 2
| 36 |
Project_CodeNet | 2,019 | ab,bc,ca = gets.split(" ").map(&:to_i)
puts ab*bc/2 | 21 |
Project_CodeNet | 2,019 | using System;
class Program
{
static void Main(string[] args)
{
var abc = Console.ReadLine().Split(' ');
var a = int.Parse(abc[0]);
var b = int.Parse(abc[1]);
var c = int.Parse(abc[2]);
Console.WriteLine(a * b / 2);
}
}
| 73 |
Project_CodeNet | 2,019 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
using static System.Math;
class Z { static void Main() => new K(); }
class K
{
int F => int.Parse(Str);
lon... | 214 |
Project_CodeNet | 2,019 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
//using static System.Linq.Enumerable;
using static System.Console;
using static AtCoder.Util;
using static AtCoder.Cin;
using static System.Math;
using static AtCoder.MyMath;
using static... | 6,573 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace PaizaSkillCheck
{
public class Program
{
public static void Main(string[] args)
{
string[] line = Console.ReadLine().Split(' ');
... | 97 |
Project_CodeNet | 2,019 | using System;
namespace atcoderA
{
class MainClass
{
public static void Main(string[] args)
{
int[] input = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
int AB = input[0];
int BC = input[1];
Console.WriteLine(BC * AB / 2);
}... | 76 |
Project_CodeNet | 2,019 | using System;
namespace AtCoder.ABC116
{
public class A
{
public static void Solve()
{
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
Console.WriteLine((a * b) / ... | 108 |
Project_CodeNet | 2,020 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using static ABC116D.Input;
namespace ABC116D
{
static class Input
{
/// <summary>
/// 1行の入力をTに応じてリストに変換する関数を返す
/// </summary>
static Func<string, List<T>> Cast<T>() => _ => _.Split(' ').Select(C... | 1,422 |
Project_CodeNet | 2,020 | using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
using System.Numerics;
namespace AtCoder
{
public class Program
{
public static void Main(string[] args)
{
//SetOut(new Strea... | 472 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
using System.IO;
namespace SolutionCS
{
class Program
{
static void Main(string[] args)
{
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = in... | 89 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Diagnostics;
class Program
{
public void Slove()
{
string[] inputs = Console.ReadLine().Split();
int ab = int.Parse(inputs[0]);
int bc... | 110 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
//using System.Text;
//using System.Text.RegularExpressions;
//using System.Globalization;
//using System.Diagnostics;
using static System.Console;
//using System.Numerics;
//using static System.Math;
//using pair = Pair<int, int>;
cla... | 496 |
Project_CodeNet | 2,020 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atc_0033
{
class Program
{
static void Main(string[] args)
{
var s = Console.ReadLine();
double A = double.Parse(s.Split(' ')[0]);
... | 110 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
class Procon
{
public Procon() { }
static void Main(string[] agrs)
{
new Procon().Do();
}
Scanner cin;
public void Do()
{
cin = new Scanner();
int[] x = cin.arrayInt();
Array.Sort(x);
Console.WriteLine(x[0] * x[1] ... | 482 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC
{
class Sample
{
public static void Main()
{
var split = Console.ReadLine().Split(' ');
int AB_long = int.Parse(split[0]);
int BC... | 100 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
string[] str = Console.ReadLine().Split();
long A = long.Parse(str[0]);
long B = long.Parse(str[1]);
long ans = A*B/2;
Console.WriteLine(ans);
}
} | 68 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
class Scanner //標準入力
{
string[] s;
int i;
char[] cs = new char[] { ' ' };
public Scanner() {
s = new string[0];
i = 0;
}
public string next() {
if (i < s.Length) return s[i++];
string st = Conso... | 337 |
Project_CodeNet | 2,019 | using System;
using System.Web;
using System.IO;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Numerics;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
using... | 119 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
using static System.Console;
using static MyUtil;
class MyUtil
{
public static int[] ReadIntArray()
{
return ReadLine().Split().Select(x => int.Parse(x)).ToArray();
}
}
class Program
{
public static void Main()
{
var t = ReadIntArray();
int ab = t[0], bc = t[1];... | 99 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharpSample01
{
class Program
{
static void Main(string[] args)
{
string[] str = Console.ReadLine().Split(' ');
int ab = int.Parse(str[0]);
int bc = int.Parse(str[1]... | 84 |
Project_CodeNet | 2,019 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class TEST{
static void Main(){
Sol mySol =new Sol();
mySol.Solve();
}
}
class Sol{
public void Solve(){
var a = ria();
Array.Sort(a);
Console.WriteLine(a[0] * a[1] / 2);
}
public Sol(){
... | 231 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace A
{
public class Program
{
public static void Main(string[] args)
{
int[] n = RIntAr();
n = n.OrderBy(x => x).ToArray();
Console.WriteLine(n[0] * n[1] / 2);
... | 294 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace ConsoleApp1
{
using static Util;
internal class Program
{
static void Main(string[] args)
{
var input = ReadLongs();
var ab = input[0];
var bc = inpu... | 165 |
Project_CodeNet | 2,019 | using System;
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int b = int.Parse(input[0]);
int c = int.Parse(input[1]);
int d = int.Parse(input[2]);
Console.WriteLine(b * c / 2);
}
} | 71 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
class program{
static void Main(){
string[] s = Console.ReadLine().Split(' ');
Console.WriteLine((int.Parse((s[0]))*(int.Parse(s[1])))/2);
}
} | 51 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
namespace Q3
{
class Program
{
static void Main(string[] args)
{
string[] firstLine = Console.ReadLine().Split();
int smallest, secondsmallest;
int n1 = Convert.ToInt32(firstLine[0]);
int n2 = Conve... | 176 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder
{
class Program
{
public static void Main(string[] args)
{
int[] l = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).OrderBy(x => x).ToArray();
Console.WriteLine("{0}", l[0] * l[... | 83 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
using System.Collections.Generic;
namespace Algorithm
{
class Program
{
static void Main(string[] args)
{
var line = Console.ReadLine().Split().Select(z => int.Parse(z)).ToArray();
int a = line[0], b = line[1], c = line[2];
C... | 85 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
using System.Collections.Generic;
namespace Atcoder
{
class Program2
{
public static void Main(string[] args)
{
string[] arg = Console.ReadLine().Split(' ');
Console.WriteLine(int.Parse(arg[0]) * int.Parse(arg[1]) / 2);
}
}
}... | 71 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp3
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
double[] ints = new double[input.... | 164 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
public class Hello
{
public static void Main()
{
// Your code here!
int[] a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int AB = a[0];
int BC = a[1];
int CA = a[2];
Console.WriteLine(AB * BC / 2);... | 86 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using static System.Console;
using System.Linq;
class Program
{
static void Main(string[] args){
var list = Array.ConvertAll(Console.ReadLine().Split(' '),int.Parse);
Array.Sort(list);
Console.Write(list[0]*list[1] /2);
}
}
... | 70 |
Project_CodeNet | 2,020 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc
{
class QuestionB
{
public static void Main(string[] args)
{
var sw = new System.IO.StreamWriter(Console.OpenStandardOutput()) { AutoFlush = fals... | 142 |
Project_CodeNet | 2,019 | using System;
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split(' ');
var ab = int.Parse(input[0]);
var bc = int.Parse(input[1]);
var ca = int.Parse(input[2]);
var area = bc * ab / 2;
Console.WriteLine(area);
}
} | 76 |
Project_CodeNet | 2,019 | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder
{
class Program
{
static void Main(string[] args)
{
new Program().Solve(new ConsoleInput(Console.I... | 462 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Collections;
class Program
{
static void Main()
{
var nums = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
... | 98 |
Project_CodeNet | 2,019 | using System;
namespace A_RightTriangle
{
public class Program
{
public static void Main(string[] args)
{
var inputs = Console.ReadLine().Split(' ');
var AB = int.Parse(inputs[0]);
var BC = int.Parse(inputs[1]);
var CA = int.Parse(inputs[2]);
... | 88 |
Project_CodeNet | 2,019 | using System;
using static System.Console;
using System.Linq;
class Program
{
static void Main(string[] args)
{
int[] a = ReadLine().Split().Select(int.Parse).ToArray();
Console.WriteLine(a[0] * a[1]/2);
}
} | 59 |
Project_CodeNet | 2,019 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder
{
public class Program
{
public static void Main(string[] args)
{
new Program().Solve(new Console... | 460 |
Project_CodeNet | 2,019 | using System;
class c
{
static void Main()
{
var ab = Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
Console.WriteLine(ab[0] * ab[1] / 2);
}
} | 48 |
Project_CodeNet | 2,019 | using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main()
{
int[] cin = Console.ReadLine().Split().Select(i => int.Parse(i)).ToArray();
Console.WriteLine(cin[0] * cin[1] / 2);
}
} | 65 |
Project_CodeNet | 2,020 | #region いつもの
using System;
using System.Collections.Generic;
using System.Linq;
using AtCoderProject;
using ConsoleReader = AtCoderProject.Reader.ConsoleReader;
using IEnumerable = System.Collections.IEnumerable;
using IEnumerator = System.Collections.IEnumerator;
using BigInteger = System.Numerics.BigInteger;
using Te... | 4,284 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practice
{
class Program
{
static void Main(string[] args)
{
Solve();
}
private const int MOD = 1000000007;
static void Solve()
{
var tmp = Re... | 1,180 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Program
{
public class ABC116A
{
static public void Solve()
{
var A = NextInt;
var B = NextInt;
var C = NextInt;
Console.WriteLine(A ... | 1,872 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
// 入力フェーズ
string[] input = Console.ReadLine().Split(' ');
int AB = int.Parse(input[0]);
int BC = int.Parse(input[1]);
int CA = int.Parse(input[2]);
int ret = AB * BC /2;
Con... | 91 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC116_A
{
class Program
{
static void Main(string[] args)
{
string[] strs = Console.ReadLine().Split(' ');
int ab = int.Parse(strs[0]);
... | 94 |
Project_CodeNet | 2,020 | using System;
using System.Globalization;
using System.IO.Pipes;
using System.Runtime.InteropServices;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
string[] str = Console.ReadLine().Split(' ');
double A, B;
A = double.Parse(str[0]... | 89 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
int[] input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
Console.WriteLine(input[0] * input[1] / 2);
}
} | 64 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.IO;
using System.Text;
using static util;
using P = pair<int, int>;
using Binary = System.Func<System.Linq.Expressions.ParameterExpression,
System.Linq.Expressions.ParameterExpress... | 1,750 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder116_A
{
class Program
{
static void Main(string[] args)
{
int[] t_input = Console.ReadLine().Split().Select(i => int.Parse(i)).ToArray();
... | 112 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Main
{
class Program
{
static void Main(string[] arg)
{
//string[] nm = Console.ReadLine().Split(' ');
//int n = int.Parse(nm[0]);
/... | 125 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
public class Hello
{
private const int INF = 1000000007;
public static void Main()
{
int[] n = Input.Line<int[]>();
Array.Sort(n);
Console.WriteLine((n[0]*n[1])/2);
}
}
public class Input
{
private static Qu... | 490 |
Project_CodeNet | 2,019 | using System;
namespace AtCoder
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split(' ');
var h = int.Parse(input[0]);
var w = int.Parse(input[1]);
Console.WriteLine(h * w / 2.0);
}
}
}
| 71 |
Project_CodeNet | 2,020 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
class Program
{
static void Main(string[] args)
{
var abc = ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
var (a, b, c) = (abc[0], abc[1], abc[2]);
var ... | 95 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace AtCoder
{
public class ABC
{
static int mod = 1000000007; // 10^9+7
static void Main(string[] args)
{
Console.SetOut(new StreamWriter(Console.OpenStandardO... | 242 |
Project_CodeNet | 2,020 | using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC
{
class ProgramA
{
static void Main(string[] args)
{
var inputs = Console.ReadLine().Split(" ");
var ab = long.Parse(inputs[0]);
var bc = long.Parse(inputs[1]);
var c... | 96 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder06
{
class Program
{
static void Main(string[] args)
{
string[] z = Console.ReadLine().Split(' ');
int a = int.Parse(z[0]);
in... | 97 |
Project_CodeNet | 2,020 | using System;
using static System.Console;
using System.Linq;
namespace Main
{
class Program
{
static void Main(string[] args)
{
int[] tmp = ReadLine().Split(' ').Select(int.Parse).ToArray();
Array.Sort(tmp);
WriteLine(tmp[0] * tmp[1] / 2);
}
}
} | 74 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
namespace ABC116_A
{
class Program
{
static void Main(string[] args)
{
var ABC = Console.ReadLine().Split().Select(int.Parse).ToArray();
Console.WriteLine(ABC[0] * ABC[1] / 2);
}
}
}
| 66 |
Project_CodeNet | 2,019 | using System;
public class A
{
public static void Main()
{
string[] args = Console.ReadLine().Split(' ');
long ab = Int64.Parse(args[0]);
long bc = Int64.Parse(args[1]);
Console.WriteLine((ab*bc)/2);
}
} | 63 |
Project_CodeNet | 2,020 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc
{
public class QuestionA
{
public static void Main(string[] args)
{
// 整数配列の入力
var inputLongArray = Console.ReadLine().Split(' ').Sel... | 104 |
Project_CodeNet | 2,019 | using System;
namespace ABC116_a
{
class Program
{
static void Main(string[] args)
{
int d;
string[] array = Console.ReadLine().Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
... | 90 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace template
{
class Program
{
static void Main(string[] args)
{
var imp = Console.ReadLine().Split(' ');
int AB = Convert.ToInt32 (imp[0]);
... | 90 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
namespace ziyuutyou
{
class Program
{
static void Main(string[] args)
{
var N = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
Console.WriteLine(N[0] * N[1] / 2);
}
}
}
| 73 |
Project_CodeNet | 2,019 | using System;
using System.Linq;
namespace abc116_a{
class program{
public static void Main(string[] args){
var l=Console.ReadLine().Split().Select(int.Parse).ToArray();
Console.WriteLine(l[0]*l[1]/2);
}
}
} | 58 |
Project_CodeNet | 2,019 | using System;
namespace AtCoder1
{
class Program
{
static void Main(string[] args)
{
string [] x = Console.ReadLine().Split(' ');
int ab = int.Parse(x[0]);
int bc = int.Parse(x[1]);
int ca = int.Parse(x[2]);
Console.WriteLine((ab * bc... | 82 |
Project_CodeNet | 2,019 | using System;
public class Hello
{
public static void Main()
{
string[] line = Console.ReadLine().Trim().Split(' ');
var a = Array.ConvertAll(line, int.Parse);
Array.Sort(a);
Console.WriteLine(a[0] * a[1]/2);
}
} | 63 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
namespace test
{
class Program
{
static void Main(string[] args)
{
var input = ReadArrayInt();
Console.WriteLine(input[0] * input[1] / 2);
Console.ReadLine();
}
static string... | 154 |
Project_CodeNet | 2,019 | using System;
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int[] length = new int[3];
for(int i = 0; i < 3; i++)
{
length[i] = int.Parse(input[i]);
}
Array.Sort(length);
Console.WriteLine(len... | 91 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _0430_atcoder問題_06
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int ab = Convert.ToInt32(i... | 108 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder
{
class Program
{
static void Main(string[] args)
{
//[summary]A - Right Triangle
var line = ReadLine();
var edges = line.OrderBy(x => x).ToList();
int edge1 = e... | 163 |
Project_CodeNet | 2,020 | using System;
using System.Text;
using System.Collections.Generic;
using static System.Math;
using System.Linq;
using static System.Array;
namespace ConsoleApp2
{
class Program
{
static string S;
static long ans = 0;
static long N;
static long... | 269 |
Project_CodeNet | 2,019 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Runtime.CompilerServices;
using static System.Console;
using static System.Math;
using static Macro;
using static Extension;
using static LinqExtension;
class AC {
/*--------... | 2,307 |
Project_CodeNet | 2,019 | using System;
namespace CompetitiveProgramming
{
class Program
{
static void Main(string[] args)
{
int ab, bc;
string[] str = Console.ReadLine().Split(' ');
ab = int.Parse(str[0]);
bc = int.Parse(str[1]);
Console.WriteLine(ab*bc/2);
... | 73 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC116A
{
class Program
{
static void Main(string[] args)
{
int ab, bc, ca, n ;
var word = Console.ReadLine().Split(' ');
ab = int.Pa... | 114 |
Project_CodeNet | 2,020 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Numerics;
namespace Sample
{
class Sample
{
static void Main(string[] args)
{
string[] str=Console.ReadLine().Split(' ');
int[] input=str.Select(int.Parse).ToArray();
int A=int.Parse(str[0]);
int B=int.Par... | 101 |
Project_CodeNet | 2,020 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Numerics;
namespace AtCoderWorkspace
{
public class Solver
{
public void Solve()
{
var cin = new Scanner();
var a = cin.nextInt... | 592 |
Project_CodeNet | 2,019 | using System;
namespace Contest
{
class Scanner
{
private string[] line = new string[0];
private int index = 0;
public string Next()
{
if (line.Length <= index)
{
line = Console.ReadLine().Split(' ');
index = 0;
... | 350 |
Project_CodeNet | 2,020 | using System;
namespace a
{
class Program
{
static void Main(string[] args)
{
var _ = Console.ReadLine().Split();
var ab = int.Parse(_[0]);
var bc = int.Parse(_[1]);
Console.WriteLine(ab * bc / 2);
}
}
}
| 67 |
Project_CodeNet | 2,020 | using System;
using System.Linq;
using System.Collections.Generic;
namespace Contest
{
class Program
{
static void Main(string[] args)
{
ABC116.A();
}
class ABC116
{
public static void A()
{
Console.WriteLine(Read.Int(... | 2,987 |
Project_CodeNet | 2,019 | using System;
namespace atcoderA
{
class MainClass
{
public static void Main(string[] args)
{
int[] line = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
int AB = line[0];
int BC = line[1];
Console.WriteLine(BC * AB / 2);
}
... | 76 |
Project_CodeNet | 2,019 | using System;
using System.Reflection;
using System.Linq.Expressions;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
public class Program {
static int[] getKeys(char delimiter) {
var Keys = Console.ReadL... | 413 |
Project_CodeNet | 2,019 | using System;
class ABC116A
{
static void Main(string[] args)
{
Method(args);
}
static void Method(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int ab = int.Parse(input[0]);
int bc = int.Parse(input[1])... | 92 |
Project_CodeNet | 2,019 | using System;
class Program
{
static void Main()
{
string[] s = Console.ReadLine().Split(' ');
int x = int.Parse(s[0]);
int y = int.Parse(s[1]);
int z = int.Parse(s[2]);
Console.WriteLine((x * y) / 2);
}
}
| 70 |
Project_CodeNet | 2,019 | using System;
class P
{
static void Main ()
{
string[] input = Console.ReadLine().Split(' ');
Console.WriteLine(int.Parse(input[0])*int.Parse(input[1])/2);
}
}
| 45 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleAppAtCoderBeginnerContest116A
{
class Program
{
static void Main(string[] args)
{
// スペース区切りの整数の入力
var inputABC = Console.ReadLine().Split... | 117 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
public static void Main(String[] args)
{
// スペース区切りの整数の入力
var input = Console.ReadLine().Split(' ').Select(int.Parse).OrderBy(x => x).ToArray();
Console.WriteLine((input[0] * input[1]) / 2);
}
}
| 84 |
Project_CodeNet | 2,019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC116 {
class ABC116_A {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
var AB = input[0];
var BC = input[1];
Console.W... | 88 |
Project_CodeNet | 2,019 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
//List<int> values = new List<int>(Console.ReadLine().Split(' ').Select(s => int.Parse(s)));
//List<int> values = new List<int>();
string input = Console.ReadLine();
... | 118 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.