buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
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 sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
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 sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 16, 31, 23, 0, 16, 12, 74, 39, 199], ["+", 0, 16, 31, 23, 0, 16, 12, 74, 39, 199], ["-", 0, 16, 12, 23, 0, 16, 12, 74, 39, 199], ["+", 0, 16, 12, 23, 0, 16, 12, 74, 39, 199], ["-", 0, 200, 0, 212, 0, 16, 31, 74, 39...
8
274
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Globalization; using System.Diagnostics; class Solve { public Solve() {} public static int Main() { new Solve().calc(); return 0; } Scanner cin; void calc()...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Globalization; using System.Diagnostics; class Solve { public Solve() {} public static int Main() { new Solve().calc(); return 0; } Scanner cin; void calc()...
[["+", 0, 212, 0, 16, 31, 16, 31, 16, 31, 250], ["+", 0, 212, 0, 16, 31, 16, 31, 16, 17, 48], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 250], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 31, 250], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 17, 48], ["-", 0, 200, 0, 212, 0, 16, 12, 16, 12...
8
842
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { var input = Console.ReadLine().Split().Select(x => Int32.Parse(x)).ToList(); var a = input[0]; var b = input[1]; var h = input[2]; var m = input[3]; var h_loc = Tuple.Create(a ...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { var input = Console.ReadLine().Split().Select(x => Int32.Parse(x)).ToList(); var a = input[0]; var b = input[1]; var h = input[2]; var m = input[3]; var h_loc = Tuple.Create( ...
[["+", 0, 28, 0, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 31, 22], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 17, 85], ["+", 12, 23, 0, 16, 12, 16, 12, 23, 0, 24], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 31, 250], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 12, 250], ["+...
8
240
using System; class C { public static void Main() { int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); int A = Ar[0], B = Ar[1], H = Ar[2], M = Ar[3]; double shortr = 30 * H; shortr += M * 0.5; double longr = 6 * M; double abs = Math.Abs(longr - shortr); double min = M...
using System; class C { public static void Main() { int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); int A = Ar[0], B = Ar[1], H = Ar[2], M = Ar[3]; double shortr = 30 * H; shortr += M * 0.5; double longr = 6 * M; double abs = Math.Abs(longr - shortr); double min = M...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 31, 2...
8
206
using System; using System.Collections.Generic; using System.Linq; namespace x { class Program { static void Main(string[] args) { var vals = IOUtils.ReadInts(); var hLen = vals[0]; var mLen = vals[1]; var hour = vals[2]; var min = vals[3]; var totalMin = hour * 60 + min; var hKakuPerMi...
using System; using System.Collections.Generic; using System.Linq; namespace x { class Program { static void Main(string[] args) { var vals = IOUtils.ReadInts(); var hLen = vals[0]; var mLen = vals[1]; var hour = vals[2]; var min = vals[3]; var totalMin = hour * 60 + min; var hKakuPerMi...
[["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 31, 203], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 25], ["-", 0, 212, 0, 16, 31, 213, 63, 214, 141, 22], ["+", 0, 212, 0, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 16, 31, 213, 3, 4, 0, 28, 0, 22...
8
920
using System; class SS { static void Main() { var lines = Console.ReadLine().Split(" "); int S = int.Parse(lines[0]); int L = int.Parse(lines[1]); int H = int.Parse(lines[2]); int M = int.Parse(lines[3]); if (H > 12) H -= 12; double angleA = 360 * M / 60; double angleB = (H * 60 ...
using System; class SS { static void Main() { var lines = Console.ReadLine().Split(" "); double S = double.Parse(lines[0]); var L = double.Parse(lines[1]); var H = double.Parse(lines[2]); var M = double.Parse(lines[3]); if (H > 12) H -= 12; double angleA = 360 * M / 60.0; double ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212...
8
202
using System; namespace ABC168C { class Program { static void Main(string[] args) { var wo = Console.ReadLine().Split(" "); double a = int.Parse(wo[0]); double b = int.Parse(wo[1]); double h = int.Parse(wo[2]); double m = int.Parse(wo[3]); double s, x; h = h / 12 * 360 + m / 60 * 30; ...
using System; namespace ABC168C { class Program { static void Main(string[] args) { var wo = Console.ReadLine().Split(" "); double a = int.Parse(wo[0]); double b = int.Parse(wo[1]); double h = int.Parse(wo[2]); double m = int.Parse(wo[3]); double s, x; h = (h * 60 + m) * 0.5; m = m * ...
[["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 11, 12, 16, 31, 16, 31, 16, 17, 85], ["-", 0, 11, 12, 16, 31, 16, 31, 16, 12, 203], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 203], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 12, 203], ["-", 0, 11, 12, 16, 12, 16, 31, 16, 17, 85], ["-", 0, 11, 12, 16, 12, 16, 31, 16, 12, 203]...
8
193
using System; using System.Collections.Generic; using System.Linq; namespace Atcoder { class Program { static void Main(string[] args) { int A, B, H, M; double xH, yH, xM, yM; double dH, dM; string[] str = Console.ReadLine().Split(' '); A = int.Parse(str[0]); B = int.Parse(str[1]); H = in...
using System; using System.Collections.Generic; using System.Linq; namespace Atcoder { class Program { static void Main(string[] args) { double A, B, H, M; double xH, yH, xM, yM; double dH, dM; string[] str = Console.ReadLine().Split(' '); A = double.Parse(str[0]); B = double.Parse(str[1]); ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 8, 196, 0, 1, 0, 11, 12, 74, 0, 24], ["+", 8, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["+", 8, 196, 0, 1, 0, 11, 12, 74, 0, 2...
8
239
using System; namespace c { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = int.Parse(_[0]); var b = int.Parse(_[1]); var h = int.Parse(_[2]); var m = int.Parse(_[3]); var k = ((360 / 12 * h) + (0.5 * m)) - (360 / 60 * m); k = Math.Min(k, 360...
using System; namespace c { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = int.Parse(_[0]); var b = int.Parse(_[1]); var h = int.Parse(_[2]); var m = int.Parse(_[3]); var k = ((360 / 12 * h) + (0.5 * m)) - (360 / 60 * m); k = Math.Min(k, 360...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
195
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace AtCoder.C { public class Program { public static void Main() { var r = GetResult(); Debug.WriteLine(r); Console.Write(r); } private static object GetResult() { var (A, B, H, M) ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace AtCoder.C { public class Program { public static void Main() { var r = GetResult(); Debug.WriteLine(r); Console.Write(r); } private static object GetResult() { var (A, B, H, M) ...
[["-", 0, 200, 0, 212, 0, 41, 75, 16, 31, 22], ["-", 0, 200, 0, 212, 0, 41, 75, 16, 17, 33], ["+", 0, 200, 0, 212, 0, 41, 75, 23, 0, 24], ["+", 0, 41, 75, 23, 0, 16, 31, 16, 31, 203], ["+", 0, 41, 75, 23, 0, 16, 31, 16, 17, 48], ["+", 0, 212, 0, 41, 75, 23, 0, 16, 17, 33], ["+", 0, 212, 0, 41, 75, 23, 0, 16, 12, 22], [...
8
484
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace C { class Program { const double PI = Math.PI; static void Main(string[] args) { var input = Console.ReadLine().Split(' '); var A = int.Parse(input[0]); var B = int.Parse(input[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace C { class Program { const double PI = Math.PI; static void Main(string[] args) { var input = Console.ReadLine().Split(' '); var A = double.Parse(input[0]); var B = double.Parse(...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 198, 0, 200, 0, 212, 0...
8
252
using System; using System.Collections; using System.Collections.Generic; using System.Linq; class Colon { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); int long_stick = int.Parse(input[0]); int short_stick = int.Parse(input[1]); var hour = int.Parse(input[2]); va...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; class Colon { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); int long_stick = int.Parse(input[0]); int short_stick = int.Parse(input[1]); var hour = int.Parse(input[2]); va...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 250], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 14...
8
216
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Linq; namespace at_coder { #if TEST [TestClass] #endif public class Test_168_d { #if TEST public static void Test_Main() #else public static void Main() #endif { int[] ar = ReadIntArr...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Linq; namespace at_coder { #if TEST [TestClass] #endif public class Test_168_d { #if TEST public static void Test_Main() #else public static void Main() #endif { int[] ar = ReadIntArra...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 17, 85], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 250], ["+", 8, 201, 0, 195, 8, 196, 0, 197, ...
8
495
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() { double xa = A * Math.Cos(Math.PI / 2.0 - H * (Math.PI * 2.0 / 12.0)); dou...
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() { double xa = A * Math.Cos(Math.PI / 2.0 - (H + M / 60.0) * (Math.PI * ...
[["+", 0, 28, 0, 16, 12, 16, 31, 23, 0, 24], ["+", 0, 16, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 31, 22], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 17, 85], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 250], ["+", 0, 28, 0, 16, 12, 16, 31, 23, 0, 25]]
8
478
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ForATCODER { public class Program { /// template /// /// String[] s = Console.ReadLine().Split(' '); /// long[] nk = s2larray(Console.ReadLine().Split(' ')); /// public static void Main(string[] args)...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ForATCODER { public class Program { /// template /// /// String[] s = Console.ReadLine().Split(' '); /// long[] nk = s2larray(Console.ReadLine().Split(' ')); /// public static void Main(string[] args)...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 8, 196, 0, 57, 64, 1, 0, 11, 31, 22], ...
8
1,041
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace Main { class Program { static void Main(string[] args) { //ใ“ใ“ใ‹ใ‚‰ // int n=Readint(); // string[] str = Console.ReadLine().Split(' '); string[] str = Console.ReadLine().Split(' '); int a = int.Par...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace Main { class Program { static void Main(string[] args) { //ใ“ใ“ใ‹ใ‚‰ // int n=Readint(); // string[] str = Console.ReadLine().Split(' '); string[] str = Console.ReadLine().Split(' '); int a = int.Par...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
279
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); int m = int.Parse(input[1]); int[,] path = new int[m, 2]; List<int>[] pa = new List<int>[n]; for (int i = 0; i < n; i++...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); int m = int.Parse(input[1]); int[,] path = new int[m, 2]; List<int>[] pa = new List<int>[n]; for (int i = 0; i < n; i++...
[["+", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 70], ["+", 0, 11, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 21], ["+", 0, 11, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 73], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32...
8
404
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp15 { class Class345 { static void Main() { var NM = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = NM[0], M = NM[1]; var edge = new List<int>[N]; fo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp15 { class Class345 { static void Main() { var NM = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = NM[0], M = NM[1]; var edge = new List<int>[N]; fo...
[["+", 75, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 75, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8...
8
354
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int[] arr = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); var n = arr[0]; var m = arr[1]; var nodeArr = new Node[n]; for (int i = 0;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int[] arr = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); var n = arr[0]; var m = arr[1]; var nodeArr = new Node[n]; for (int i = 0;...
[["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201...
8
436
using System; using System.Collections.Generic; using System.Text; using Graph = System.Collections.Generic.List<System.Collections.Generic.List<int>>; namespace AtCoder.Problems { public class ProblemD { public static void Main(string[] args) { var s = new SolveD(); s.Solve(); } public ...
using System; using System.Collections.Generic; using System.Text; using Graph = System.Collections.Generic.List<System.Collections.Generic.List<int>>; namespace AtCoder.Problems { public class ProblemD { public static void Main(string[] args) { var s = new SolveD(); s.Solve(); } public ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 57, 15, 16, 12, 16, 31, 204, 205, 22], ["+", 0, 57, 15, 16, 12, 16, 31, 204, 205, 22], ["-", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["+", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 204,...
8
821
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Runtime.CompilerServices; using System.Text; using System.Diagnostics; using System.Numerics; using static System.Console; using static System.Convert; using static System.Math; using static Template...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Runtime.CompilerServices; using System.Text; using System.Diagnostics; using System.Numerics; using static System.Console; using static System.Convert; using static System.Math; using static Template...
[["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 1, 0, 213, 63, 214, 205, 214, 141, 22], ["+", 0, 1, 0, 213, 63, 214, 205, 214, 141, 22], ["+", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 16, 31, 16, 31, 213, 63, 214, 0, 131], ["+", 0, 16, 31, 16, 31, 213, 63...
8
3,278
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; namespace AtCoder { public static class Ex { public static List<string> FastSort(this List<string> s) { s.Sort(StringComparer.OrdinalIgnoreCase); return s.ToList(); } public static void yesno(this b...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; namespace AtCoder { public static class Ex { public static List<string> FastSort(this List<string> s) { s.Sort(StringComparer.OrdinalIgnoreCase); return s.ToList(); } public static void yesno(this b...
[["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 218, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 0, 57, 64, 196, 0, 1, 0, 223, 0,...
8
2,300
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { public class Program { static void Main() { var cin = new Scanner(); int n = cin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { public class Program { static void Main() { var cin = new Scanner(); int n = cin...
[["-", 0, 57, 75, 196, 0, 1, 0, 11, 12, 203], ["+", 75, 196, 0, 1, 0, 11, 12, 204, 205, 22], ["+", 0, 1, 0, 11, 12, 204, 206, 207, 0, 70], ["+", 12, 204, 206, 207, 0, 28, 0, 204, 205, 22], ["+", 206, 207, 0, 28, 0, 204, 206, 207, 0, 70], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 22], ["+", 206, 207, 0, 28, 0, 204, 206, ...
8
2,349
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using static util; using P = pair<int, int>; class Program { static void Main(string[] args) { var sw = new Stream...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using static util; using P = pair<int, int>; class Program { static void Main(string[] args) { var sw = new Stream...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 0, 57, 64, 196, 0, 1, 0, 241, 0, 2...
8
4,910
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.Contests.ABC168 { /// <summary> /// /// </summary> static class E { static void Main(string[] args) { var n = NextInt(); var counts = new CountDic<Tuple<int, long, long>>(); var zeros = 0; for (int...
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.Contests.ABC168 { /// <summary> /// /// </summary> static class E { static void Main(string[] args) { var n = NextInt(); var counts = new CountDic<Tuple<int, long, long>>(); var zeros = 0; for (int...
[["+", 64, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35]]
8
2,094
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace AtTest.ABC_168 { class E { static void Main(string[] args) { var sw = new System.IO.StreamWriter(OpenStandardOutput()) { AutoFlush = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace AtTest.ABC_168 { class E { static void Main(string[] args) { var sw = new System.IO.StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["+", 0, 57, 75, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 57, 15, 16, 12, 16, 31, 213, 63, 22], ["+", 15, 16, 12, 16, 31, 213, 3, 4, 0, 24], ["+", 12, 16, 31, 213, 3, 4, 0, 28, 0, 22], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 57, 75, 196, 0, 57, 0, 25...
8
1,074
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace V { partial class Solver { public void Solve() { Write(SolveLong()); // YesNo(SolveBool()); } public long SolveLong() { var n = Read; var pairs = sc.Pairs(n); // n = 200000; // pairs = Enumerab...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace V { partial class Solver { public void Solve() { Write(SolveLong()); // YesNo(SolveBool()); } public long SolveLong() { var n = Read; var pairs = sc.Pairs(n); // n = 200000; // pairs = Enumerab...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 28, 0, 218, 8, 196, 0, 57, 0, 121], ["+", 0, 28, 0, 218, 8, 196, 0, 57, 0, 24], ["-", 0, 198, 0, 200, 0, 212, 0, 41, 0, 101], ["+", 0, 28, 0, 218, 8, 196, 0, 57, 0, 25]...
8
8,507
using System; using System.Linq; using System.Collections.Generic; namespace Contest { class Program { static void Main(string[] args) { ABC168.E(); } class ABC168 { public static void A() { var N = Read.Int(); switch (N % 10) { case 0: case 1: case 6: case 8: Consol...
using System; using System.Linq; using System.Collections.Generic; namespace Contest { class Program { static void Main(string[] args) { ABC168.E(); } class ABC168 { public static void A() { var N = Read.Int(); switch (N % 10) { case 0: case 1: case 6: case 8: Consol...
[["+", 0, 210, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 25], ["+", 0, 210, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 0, 210, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32],...
8
2,765
using System; using System.Collections.Generic; using System.Linq; namespace ABC168F { class Program { static void Main(string[] args) { var NM = ReadInt(); int N = NM[0]; int M = NM[1]; var A = new List<int>(); // x var B = new List<int>(); // x var C = new List<int>(); // y var D = new...
using System; using System.Collections.Generic; using System.Linq; namespace ABC168F { class Program { static void Main(string[] args) { var NM = ReadInt(); int N = NM[0]; int M = NM[1]; var A = new List<int>(); // x var B = new List<int>(); // x var C = new List<int>(); // y var D = new...
[["+", 8, 196, 0, 57, 15, 16, 31, 204, 205, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 70], ["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 21], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 7, 8, 196, 0, 57, 15, 1...
8
1,337
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_167_Registration { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false };...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_167_Registration { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false };...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 0, 1...
8
177
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_Registration_167 { // https://atcoder.jp/contests/abc167/tasks/abc167_a public static void Main(string[] args) { var sw = new System.IO.StreamWriter( ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_Registration_167 { // https://atcoder.jp/contests/abc167/tasks/abc167_a public static void Main(string[] args) { var sw = new System.IO.StreamWriter( ...
[["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 70], ["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 73], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 63, 214, 205, 213, 3, 4, 0, 24], ["-", 0, 213, 63, 214, 205, 213, 3, 4, 0, 25], ["-", 0, 200, 0, 212, 0, 213, 6...
8
179
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_167_Registration { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false };...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class A_167_Registration { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false };...
[["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 70], ["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 73], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 197, 0, 198, 0, 200, 0...
8
156
using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string S = Console.ReadLine(); string T = Console.ReadLine(); if (T.Contains(S)) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string S = Console.ReadLine(); string T = Console.ReadLine(); if (S == T.Substring(0, S.Length)) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 213, 63, 214, 141, 22], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 15, 16, 12, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 57, 15, 16, 12, 213, 3, 4, 0, 21], ["+", 12, 213, 3, 4, 0, 28, 0, 214, 0, 1...
8
77
using System; public class Hello { public static void Main() { var s = Console.ReadLine(); var t = Console.ReadLine(); if (t.StartsWith(s)) { if (s.Length + 1 == t.Length) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
using System; public class Hello { public static void Main() { var s = Console.ReadLine(); var t = Console.ReadLine(); if (t.StartsWith(s)) { if (s.Length + 1 == t.Length) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } else { Console.WriteLi...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 75, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], [...
8
80
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { public class QuestionA { /// <summary> /// A - Registration /// https://atcoder.jp/contests/abc167/tasks/abc167_a /// </summary> /// <param name="args"></pa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { public class QuestionA { /// <summary> /// A - Registration /// https://atcoder.jp/contests/abc167/tasks/abc167_a /// </summary> /// <param name="args"></pa...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 3...
8
142
using System; namespace ConsoleApp3 { class Program { static void Main(string[] args) { string S = Console.ReadLine().Trim(); string T = Console.ReadLine().Trim(); var correct = S == T.Substring(0, T.Length - 1); Console.WriteLine(correct); } } }
using System; namespace ConsoleApp3 { class Program { static void Main(string[] args) { string S = Console.ReadLine().Trim(); string T = Console.ReadLine().Trim(); var correct = S == T.Substring(0, T.Length - 1); Console.WriteLine(correct ? "Yes" : "No"); } } }
[["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 101], ["+", 3, 4, 0, 28, 0, 41, 64, 5, 0, 62], ["+", 3, 4, 0, 28, 0, 41, 64, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 102], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 62], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]]
8
73
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Globalization; using System.IO.Compression; using System.IO.Pipes; using System.Linq; using System.Numerics; using System.Text; using static System.Console; using static System.Math; namespace AtCoder { class Program { s...
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Globalization; using System.IO.Compression; using System.IO.Pipes; using System.Linq; using System.Numerics; using System.Text; using static System.Console; using static System.Math; namespace AtCoder { class Program { s...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 200, 0, 212, 0, 204, 206, 207, 0, 70], ["+", 206, 207, 0, 28, 0, 16, 31, 214, 205, 22], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["-", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["-", 0, 212, 0, 213, 3, 4, 0, 28...
8
306
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; using static System.Math; using System.Text.RegularExpressions; namespace Yuzuki { class Yukari { public static void Main(string[] args) { string s, t; s = Console.Read...
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; using static System.Math; using System.Text.RegularExpressions; namespace Yuzuki { class Yukari { public static void Main(string[] args) { string s, t; s = Console.Read...
[["-", 0, 41, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 15, 16, 12, 16, 31, 213, 63, 214, 141, 22], ["-", 15, 16, 12, 213, 3, 4, 0, 28, 0, 22], ["+", 12, 16, 31, 213, 3, 4, 0, 28, 0, 203], ["+", 15, 16, 12, 16, 31, 213, 3, 4, 0, 21], ["+", 3, 4, 0, 28, 0, 16, 31, 214, 205, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 214, 0, 131...
8
115
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace abc167 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exists("in...
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace abc167 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exists("in...
[["+", 0, 28, 0, 41, 15, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 41, 15, 213, 63, 214, 0, 131], ["+", 0, 28, 0, 41, 15, 213, 63, 214, 141, 22], ["+", 0, 28, 0, 41, 15, 213, 3, 4, 0, 24], ["-", 0, 28, 0, 41, 15, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["-", 0, 41, 15, 213, 3, 4, 0, 28, 0, 2...
8
161
using System; namespace AtCoder { internal static class Program { private static void Main() { string s = Console.ReadLine(); string t = Console.ReadLine(); bool res = true; if (s.Length == t.Length - 1) { for (int i = 0; i < s.Length; i++) { if (s[i] != t[i]) res = false; ...
using System; namespace AtCoder { internal static class Program { private static void Main() { string s = Console.ReadLine(); string t = Console.ReadLine(); bool res = true; if (s.Length == t.Length - 1) { for (int i = 0; i < s.Length; i++) { if (s[i] != t[i]) res = false; ...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 211, 0, 146], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+...
8
104
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; internal partial class Solver { public void Run() { var s = ns(); var t = ns(); cout.W...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; internal partial class Solver { public void Run() { var s = ns(); var t = ns(); cout.W...
[["-", 0, 41, 15, 16, 31, 213, 63, 214, 141, 22], ["+", 0, 41, 15, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 41, 15, 16, 31, 213, 3, 4, 0, 25], ["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 98], ["-", 15, 16, 12, 16, 31, 16, 31, 214, 205, 22], ["-", 0, 41, 15, 16, 12, 16, 31, 16, 17, 72], ["+", 31, 213, 3, 4, 0, 28, 0, 16, 17, ...
8
1,112
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; namespace A { class Program { static void Main(string[] args) { string s = Console.ReadLine(); string t = Console.ReadLine(); bool s_is_alphabet = Reg...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; namespace A { class Program { static void Main(string[] args) { string s = Console.ReadLine(); string t = Console.ReadLine(); bool s_is_alphabet = Reg...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 211, 0, 147], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 64, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 64, 196, 0, 1, 0, 213, 63, 214...
8
166
using System; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { // S string strS = Console.ReadLine(); // T string strT = Console.ReadLine(); var reg = new Regex("[a-z]"); string resultS = reg.Replace(strS, ""); string resultT = reg.Replace(strT, "")...
using System; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { // S string strS = Console.ReadLine(); // T string strT = Console.ReadLine(); var reg = new Regex("[a-z]"); string resultS = reg.Replace(strS, ""); string resultT = reg.Replace(strT, "")...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 15, 16, 12, 23, 0, 16, 31, 16, 17, 60], ["+", 0, 16, 31, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 16, 31, 16, 12, 213, 63, 214, 14...
8
152
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { string a = Console.ReadLine(); string b = Console.ReadLine(); int nagasa = a.Length; b = b.Remove(nagasa, 1); Console.WriteLine(b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { string a = Console.ReadLine(); string b = Console.ReadLine(); int nagasa = a.Length; b = b.Remove(nagasa, 1); if (a == b) { ...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
114
using System; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public static void Main(string[] args) { new A().test(); } } public class A { public void test() { // ๆ™ฎ้€šใฎๆ–‡ๅญ—ๅˆ— var before = CommonRead.ReadStr(); var after = CommonRead.ReadStr(); if (after....
using System; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public static void Main(string[] args) { new A().test(); } } public class A { public void test() { // ๆ™ฎ้€šใฎๆ–‡ๅญ—ๅˆ— var before = CommonRead.ReadStr(); var after = CommonRead.ReadStr(); if (after.L...
[["+", 0, 57, 15, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 0, 131], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 0, 57, 15, 16, 12, 213, 3, 4, 0, 24], ["-", 0, 57, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["-", 15, 16, 12, 213, 3, 4, 0, 28...
8
505
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace B { public class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Cons...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace B { public class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Cons...
[["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 23, 0, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 23, 0, 213, 63, 214, 0, 131], ["+", 0, 28, 0, 23, 0, 213, 63, 214, 141, 22], ["+", 0, 28, 0, 23, 0, 213, 3, 4, 0, 24], ["+", 0, 23, 0, 213, 3, 4, 0, 28, 0, 203], ...
8
217
using System; using System.Collections.Generic; namespace Atc_0020 { class Program { static void Main(string[] args) { var s = Console.ReadLine(); long A = long.Parse(s.Split(' ')[0]); long B = long.Parse(s.Split(' ')[1]); long C = long.Parse(s.Split(' ')[2]); long K = long.Parse(s.Split(' ')[3]...
using System; using System.Collections.Generic; namespace Atc_0020 { class Program { static void Main(string[] args) { var s = Console.ReadLine(); long A = long.Parse(s.Split(' ')[0]); long B = long.Parse(s.Split(' ')[1]); long C = long.Parse(s.Split(' ')[2]); long K = long.Parse(s.Split(' ')[3]...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45],...
8
160
using System; using System.Linq; namespace _167_b { internal class EasyLinearProgramming { private static void Main(string[] args) { var abck = Console.ReadLine()?.Split(" ").Select(long.Parse).ToList(); if (abck == null) return; var a = abck[0]; var b = abck[1]; var c = abck[2]; var k...
using System; using System.Linq; namespace _167_b { internal class EasyLinearProgramming { private static void Main(string[] args) { var abck = Console.ReadLine()?.Split(" ").Select(long.Parse).ToArray(); if (abck == null) return; var a = abck[0]; var b = abck[1]; var c = abck[2]; var ...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["-", 75, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 75, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 75, 196, 0, 1, 0, 11, 12, 16, 12, ...
8
187
using System; using System.Linq; class program { static void Main() { var abck = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var a = abck[0]; var b = abck[1]; var k = abck[3]; if (a + b > k) { Console.Write(a); return; } else { Console.Write(2 * a + b - k...
using System; using System.Linq; class program { static void Main() { var abck = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var a = abck[0]; var b = abck[1]; var k = abck[3]; if (a > k) { Console.Write(k); } else if (a + b > k) { Console.Write(a); } else { ...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 141...
8
107
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { int[] ABCK = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray(); int A = ABCK[0]; int B = ABCK[1...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { int[] ABCK = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray(); int A = ABCK[0]; int B = ABCK[1...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 57, 64, 1, 0, 213, 63, 214, 205, 22], ["+", 0, 57, 64, 1, 0, 213, 63, 214, 0, 131], ["+", 0, 57, 64, 1, 0, 213, 63, 214, 141, 22], ["+", 0, 57, 64, 1, 0, 213, 3, 4, 0, 24], ["+", 64, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+...
8
290
using System; using System.Collections.Generic; namespace AtCoder.Problems { public class ProblemD { public static void Main(string[] args) { var s = new SolveD(); s.Solve(); } public class Scanner { private string[] _s; private int _i; private readonly char[] _separators =...
using System; using System.Collections.Generic; namespace AtCoder.Problems { public class ProblemD { public static void Main(string[] args) { var s = new SolveD(); s.Solve(); } public class Scanner { private string[] _s; private int _i; private readonly char[] _separators =...
[["+", 0, 230, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 230, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 227, 0, 228], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, ...
8
642
using System.Collections; using System.Text; using System.Threading.Tasks; using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System; using System.Numerics; class Program { #region Reader // static Vector2Int ReadVec2Int //{ // get // { // ...
using System.Collections; using System.Text; using System.Threading.Tasks; using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System; using System.Numerics; class Program { #region Reader // static Vector2Int ReadVec2Int //{ // get // { // ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 206, 207, 0, 28, 0, 204, 206, 207, 0, 70], ["-", 0, 204, 206, 207, 0, 28, 0, 204, 205, 22], ["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 22], ["-", 206, 207, 0, 28, 0, 204, 206, 207, 0, 73], ["+", 0, 28, 0, 204, 206, 207,...
8
1,473
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static void Main(string[] args) { // var NX = Console.ReadLine().Split(' ').Select(x => // long.Parse(x)).ToArray(); var NMK = Console...
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static void Main(string[] args) { // var NX = Console.ReadLine().Split(' ').Select(x => // long.Parse(x)).ToArray(); var NMK = Console...
[["-", 0, 11, 12, 16, 12, 213, 63, 214, 141, 22], ["+", 0, 11, 12, 16, 12, 213, 63, 214, 141, 22], ["+", 0, 11, 12, 16, 12, 213, 3, 4, 0, 24], ["-", 12, 16, 12, 213, 3, 4, 0, 28, 0, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 39, 199], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 0, 25], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 51, 22], ["+"...
8
690
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace ABC167E_3 { class Program { static void Main(string[] args) { var N = RInt; var M = RInt; var K = RInt; long mod = 998244353; long a = 1; ...
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace ABC167E_3 { class Program { static void Main(string[] args) { var N = RInt; var M = RInt; var K = RInt; long mod = 998244353; long a = 1; ...
[["+", 0, 200, 0, 212, 0, 41, 15, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 41, 15, 16, 17, 47], ["+", 0, 200, 0, 212, 0, 41, 15, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 0, 101], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 0, 102], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 75, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 1...
8
866
using System; using System.Numerics; using System.Linq; using System.Collections.Generic; using System.Text; namespace debug { class ProgramD { static void Main(string[] args) { //ๅ…ฅๅŠ› string[] s = Console.ReadLine().Split(' '); long n = long.Parse(s[0]); long m = long.Parse(s[1]); long k = long.P...
using System; using System.Numerics; using System.Linq; using System.Collections.Generic; using System.Text; namespace debug { class ProgramD { static void Main(string[] args) { //ๅ…ฅๅŠ› string[] s = Console.ReadLine().Split(' '); long n = long.Parse(s[0]); long m = long.Parse(s[1]); long k = long.P...
[["-", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 31, 22], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 17, 48], ["-", 31, 16, 12, 213, 3, 4, 0, 28, 0, 22],...
8
549
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { public class Program { static void Main() { var cin = new Scanner(); int n = cin.Int(); int m = cin.Int(); int k = cin.Int(); ModInt.P ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { public class Program { static void Main() { var cin = new Scanner(); int n = cin.Int(); int m = cin.Int(); int k = cin.Int(); ModInt.P ...
[["+", 0, 11, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 73], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 70]]
8
2,376
using System; using System.Collections.Generic; using System.Linq; using System.Text; // using System.Numerics; using System.Runtime.CompilerServices; using System.Diagnostics; using ll=System.Int64; using static Contest_F.Lib_IO; using static Contest_F.Lib_Minifunc; public static class Contest_F { public static ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; // using System.Numerics; using System.Runtime.CompilerServices; using System.Diagnostics; using ll=System.Int64; using static Contest_F.Lib_IO; using static Contest_F.Lib_Minifunc; public static class Contest_F { public static ...
[["-", 205, 23, 0, 16, 31, 241, 0, 214, 205, 22], ["+", 205, 23, 0, 16, 31, 241, 0, 214, 205, 22], ["-", 63, 214, 205, 23, 0, 16, 12, 214, 205, 22], ["+", 63, 214, 205, 23, 0, 16, 12, 214, 205, 22], ["-", 0, 28, 0, 16, 31, 241, 0, 214, 205, 22], ["+", 0, 28, 0, 16, 31, 241, 0, 214, 205, 22], ["-", 3, 4, 0, 28, 0, 16, 1...
8
3,267
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc167F { struct Bracket { public long BraN; public long KetN; } public static void Main() { var n = int.Parse(Console.ReadLine()); long braN = 0; long ketN = 0; long m = 0; var bra = new L...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc167F { struct Bracket { public long BraN; public long KetN; } public static void Main() { var n = int.Parse(Console.ReadLine()); long braN = 0; long ketN = 0; long m = 0; var bra = new L...
[["-", 8, 196, 0, 210, 12, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 210, 12, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 210, 8, 1, 0, 11, 31, 22], ["-", 0, 210, 8, 1, 0, 11, 0, 202, 0, 107], ["+", 0, 195, 8, 196, 0, 210, 8, 196, 0, 45], ["+", 0, 210, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 110...
8
358
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; static class Program { const int mod = (int)1e9 + 7; const double eps = 1e-...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; using nint = System.Int64; static class Program { const int mod = (int)1e9 + ...
[["+", 36, 36, 0, 208, 0, 299, 0, 197, 0, 233], ["+", 0, 208, 0, 299, 0, 197, 0, 198, 39, 199], ["+", 0, 299, 0, 197, 0, 198, 39, 199, 0, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 205, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 0, 131], ["+", 0, 198, 0, 200, 0, 212, 0, 214...
8
1,494
using System; using System.IO; using System.Linq; namespace AtCoder.R167.F { public static class Solver { public static void Main() { using (var sw = new StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }) { Solve(Console.In, sw); } } public static voi...
using System; using System.IO; using System.Linq; namespace AtCoder.R167.F { public static class Solver { public static void Main() { using (var sw = new StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }) { Solve(Console.In, sw); } } public static voi...
[["+", 0, 213, 63, 214, 205, 213, 63, 214, 141, 22], ["+", 0, 213, 63, 214, 205, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 218, 54, 219, 0, 220, 141, 22], ["+", 205, 213, 3, 4, 0, 28, 0, 218, 0, 221], ["+", 0, 28, 0, 218, 8, 16, 31, 214, 205, 22], ["+", 0, 28, 0, 218, 8, 16, 31, 214, 0, 131], ["+", 0, 28, 0, 218, 8, 16, 31, 2...
8
431
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace V { partial class Solver { public void Solve() { // Write(SolveLong()); YesNo(SolveBool()); } public long SolveLong() { long n = Read; return 0; } public bool SolveBool() { long n = Read; v...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace V { partial class Solver { public void Solve() { // Write(SolveLong()); YesNo(SolveBool()); } public long SolveLong() { long n = Read; return 0; } public bool SolveBool() { long n = Read; v...
[["-", 0, 1, 0, 11, 12, 213, 63, 214, 141, 22], ["+", 12, 213, 63, 214, 205, 213, 63, 214, 141, 22], ["+", 12, 213, 63, 214, 205, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 218, 54, 219, 0, 220, 141, 22], ["+", 205, 213, 3, 4, 0, 28, 0, 218, 0, 221], ["+", 0, 28, 0, 218, 8, 16, 31, 214, 205, 22], ["+", 0, 28, 0, 218, 8, 16, 31...
8
8,447
using System; using System.Linq; using System.Collections.Generic; namespace Contest { class Program { static void Main(string[] args) { ABC167.F(); } class ABC167 { public static void A() { var S = Read.Str(); var T = Read.Str(); Console.WriteLine(S == T.Substring(0, S.Length) ? "Yes" : "No"...
using System; using System.Linq; using System.Collections.Generic; namespace Contest { class Program { static void Main(string[] args) { ABC167.F(); } class ABC167 { public static void A() { var S = Read.Str(); var T = Read.Str(); Console.WriteLine(S == T.Substring(0, S.Length) ? "Yes" : "No"...
[["-", 8, 16, 31, 16, 31, 241, 0, 23, 0, 24], ["-", 31, 16, 31, 241, 0, 23, 0, 74, 0, 24], ["-", 31, 16, 31, 241, 0, 23, 0, 74, 39, 199], ["-", 31, 16, 31, 241, 0, 23, 0, 74, 0, 25], ["-", 8, 16, 31, 16, 31, 241, 0, 23, 0, 25], ["-", 0, 28, 0, 218, 8, 16, 31, 16, 17, 48], ["-", 0, 28, 0, 218, 8, 16, 31, 16, 12, 203]]
8
3,329
using System; using System.Collections.Generic; using System.Linq; using CompLib.Collections; using CompLib.Util; public class Program { int N; string[] S; public void Solve() { var sc = new Scanner(); N = sc.NextInt(); S = new string[N]; for (int i = 0; i < N; i++) { S[i] = sc.Next(); ...
using System; using System.Collections.Generic; using System.Linq; using CompLib.Collections; using CompLib.Util; public class Program { int N; string[] S; public void Solve() { var sc = new Scanner(); N = sc.NextInt(); S = new string[N]; for (int i = 0; i < N; i++) { S[i] = sc.Next(); ...
[["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 230, 0, 228], ["+", 0, 200, 0, 212, 0, 230, 39, 236, 141, 22], ["+", 0, 212, 0, 230, 39, 236, 237, 238, 0, 18], ["+", 0, 212, 0, 230, 39, 236, 2...
8
1,203
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC116A2 { class Program { static void Main(string[] args) { string a; a = Console.ReadLine(); if (a == "ABC") a = "ARC"; if (a == "ARC") a = "ABC"; Console.W...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC116A2 { class Program { static void Main(string[] args) { string a; a = Console.ReadLine(); if (a == "ABC") a = "ARC"; else a = "ABC"; Console.WriteLine(a)...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 16, 12, 5, 0, 62], ["-", 8, 196, 0, 57, 15, 16, 12, 5, 0, 222], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["...
8
92
using System; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); string N = cin.Next(); if (N == "ABC") { Console.WriteLine("ARC"); } else { Console.WriteLine(N); } } } class Scanner { string[] s; int i; char[] cs = new char[] {...
using System; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); string N = cin.Next(); if (N == "ABC") { Console.WriteLine("ARC"); } else if (N == "ARC") { Console.WriteLine("ABC"); } } } class Scanner { string[] s; int i; char...
[["+", 0, 195, 8, 196, 0, 57, 75, 57, 0, 121], ["+", 0, 195, 8, 196, 0, 57, 75, 57, 0, 24], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 31, 22], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 60], ["+", 0, 57, 75, 57, 15, 16, 12, 5, 0, 62], ["+", 0, 57, 75, 57, 15, 16, 12, 5, 0, 222], ["+", 0, 195, 8, 196, 0, 57, 75, 57, 0, 25], ["...
8
464
using System; using System.Collections.Generic; namespace First { class Program { static void Main(string[] args) { List<string> a = new List<string>(); List<int> a2 = new List<int>(); string data = Console.ReadLine(); String[] data2 = data.Split(' '); int n = Int32.Parse(data2[0]); int k =...
using System; using System.Collections.Generic; namespace First { class Program { static void Main(string[] args) { List<string> a = new List<string>(); List<int> a2 = new List<int>(); string data = Console.ReadLine(); String[] data2 = data.Split(' '); int n = Int32.Parse(data2[0]); int k =...
[["-", 8, 196, 0, 7, 8, 196, 0, 7, 0, 88], ["+", 8, 196, 0, 7, 8, 196, 0, 210, 0, 266], ["-", 8, 196, 0, 7, 10, 198, 0, 200, 141, 22], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 8, 196, 0, 7, 8, 196, 0, 7, 0, 35], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 31, 22], ["-", 0, ...
8
251
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(); string[] count = new string[0]; int k = int.Parse(input[1].ToString()); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(); string[] count = new string[0]; int k = int.Parse(input[1].ToString()); ...
[["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 213, 63, 214, 205,...
8
243
using System; using System.Collections.Generic; using System.Linq; namespace Atcoder { class Program { static void Main(string[] args) { var nk = Console.ReadLine().Split().Select(s => int.Parse(s)).ToArray(); var n = nk[0]; var k = nk[1]; List<int> d = new List<int>(); List<int[]> a = new List<i...
using System; using System.Collections.Generic; using System.Linq; namespace Atcoder { class Program { static void Main(string[] args) { var nk = Console.ReadLine().Split().Select(s => int.Parse(s)).ToArray(); var n = nk[0]; var k = nk[1]; List<int> d = new List<int>(); List<int[]> a = new List<i...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 205, 213, 63, 214, 205, 213, ...
8
201
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class B { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Consol...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class B { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Consol...
[["+", 0, 195, 8, 196, 0, 197, 0, 251, 0, 154], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 0...
8
555
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace B { public class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Cons...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace B { public class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Cons...
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 197, 0, 198, 0, 200, 0, ...
8
237
using System; using System.Linq; using System.Collections.Generic; namespace ABC177 { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(' '); if (A.Contains("0")) { System.Console.WriteLine(0); return; } ulong li...
using System; using System.Linq; using System.Collections.Generic; namespace ABC177 { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(' '); if (A.Contains("0")) { System.Console.WriteLine(0); return; } ulong li...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 108], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 85], ["+", 15, 16, 12, 16, 12, 213, 3, 4, 0, 25], ["-", 8...
8
165
using System; using System.Linq; class IDONTKNOWCSHARP { public static void Main() { int num = int.Parse(Console.ReadLine()); long[] values = Convert(GetLines()); long ans = 1; bool first = true; if (values.Contains(0)) { Console.WriteLine("0"); return; } foreach (long valu...
using System; using System.Linq; class IDONTKNOWCSHARP { public static void Main() { Console.WriteLine(); int num = int.Parse(Console.ReadLine()); ulong[] values = Convert(GetLines()); ulong ans = 1; bool first = true; if (values.Any(x => x == 0)) { Console.WriteLine("0"); retu...
[["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["...
8
240
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = new List<long>(); var line = Console.ReadLine().Split(" "); for (int i = 0; i < N; i++) { A.Add(long.Parse(line[i])); } l...
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = new List<long>(); var line = Console.ReadLine().Split(" "); for (int i = 0; i < N; i++) { A.Add(long.Parse(line[i])); } l...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 57, 15, 213, 3, 4, 0, 24], ["+", 0, 57, 15, 213, 3, 4, 0, 28, 0, ...
8
158
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 ConsoleInput(Console.In, ' ')); } ...
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 ConsoleInput(Console.In, ' ')); } ...
[["-", 0, 210, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 108], ["-", 0, 210, 8, 196, 0, 1, 0, 11, 12, 22], ["-", 75, 196, 0, 210, 8, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 85], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22], ["+", 0, 210, 8, 196, 0, 1, 0, 11, 31, 22], ["+", ...
8
671
using System; using System.Collections.Generic; namespace test { class MainClass { public static void Main(string[] args) { //ๅ•้กŒ169 int N = int.Parse(Console.ReadLine()); string[] line = Console.ReadLine().Split(' '); long[] A = new long[N]; for (int i = 0; i < N; i++) { // Console.Wri...
using System; using System.Collections.Generic; namespace test { class MainClass { public static void Main(string[] args) { //ๅ•้กŒ169 int N = int.Parse(Console.ReadLine()); string[] line = Console.ReadLine().Split(' '); long[] A = new long[N]; for (int i = 0; i < N; i++) { // Console.Wri...
[["-", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 108], ["-", 8, 196, 0, 1, 0, 11, 12, 204, 205, 22], ["-", 0, 1, 0, 11, 12, 204, 206, 207, 0, 70], ["-", 0, 11, 12, 204, 206, 207, 0, 28, 0, 22], ["-", 0, 1, 0, 11, 12, 204, 206, 207, 0, 73], ["-", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35], ["+", ...
8
180
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace AtCoder { class Program { private static void Main(string[] args) { var n = Scanner.Integer(); var a = Scanner.ArrayLong(n); if (a.Contains(0)) { Console.Wri...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace AtCoder { class Program { private static void Main(string[] args) { var n = Scanner.Integer(); var a = Scanner.ArrayLong(n).Select(x => (decimal)x).ToArray(); if (...
[["+", 0, 213, 63, 214, 205, 213, 63, 214, 0, 131], ["+", 0, 213, 63, 214, 205, 213, 63, 214, 141, 22], ["+", 0, 213, 63, 214, 205, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 218, 54, 219, 0, 220, 141, 22], ["+", 205, 213, 3, 4, 0, 28, 0, 218, 0, 221], ["+", 3, 4, 0, 28, 0, 218, 8, 74, 0, 24], ["+", 3, 4, 0, 28, 0, 218, 8, 74,...
8
1,230
using System; using System.Linq; using static System.Console; namespace B { internal class Program { private static readonly long MaxValue = 1000000000000000000; public static void Main(string[] args) { var n = ReadLine(); var input = ReadLine().Split(' ').Select(long.Parse); if (input.Contains(0)) { ...
using System; using System.Linq; using static System.Console; namespace B { internal class Program { private static readonly long MaxValue = 1000000000000000000; public static void Main(string[] args) { var n = ReadLine(); var input = ReadLine().Split(' ').Select(long.Parse); if (input.Contains(0)) { ...
[["-", 0, 28, 0, 218, 8, 41, 15, 23, 0, 24], ["-", 8, 41, 15, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 28, 0, 218, 8, 41, 15, 16, 17, 19], ["-", 15, 23, 0, 16, 31, 16, 12, 16, 12, 22], ["-", 0, 218, 8, 41, 15, 23, 0, 16, 17, 106], ["-", 15, 23, 0, 16, 12, 16, 31, 16, 17, 48], ["-", 15, 23, 0, 16, 12, 16, 31, 16, 12, 22], [...
8
136
using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var input = Console.ReadLine().Split(' '); long[] numbers = new long[n]; long res = 1; bool haszero = false; for (int i = 0; i < n; i++) { numbers[i] = long.P...
using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var input = Console.ReadLine().Split(' '); long[] numbers = new long[n]; long res = 1; bool haszero = false; double logres = 0; for (int i = 0; i < n; i++) { ...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]...
8
178
using System; using System.Collections.Generic; using System.Linq; public class AtCoder { public static void Main() { //ๅ…ฅๅŠ›ใ‚’ไฟๆŒใ™ใ‚‹ var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine().Split().Select(e => long.Parse(e)).ToArray(); // Array.Sort(As); foreach (var a in As) { if (a ==...
using System; using System.Collections.Generic; using System.Linq; public class AtCoder { public static void Main() { //ๅ…ฅๅŠ›ใ‚’ไฟๆŒใ™ใ‚‹ var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine().Split().Select(e => long.Parse(e)).ToArray(); // Array.Sort(As); foreach (var a in As) { if (a =...
[["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ...
8
169
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { // ๆ•ดๆ•ฐใฎๅ…ฅๅŠ› int n = int.Parse(Console.ReadLine()); long[] a = new long[n]; // ใ‚นใƒšใƒผใ‚นๅŒบๅˆ‡ใ‚Šใฎๆ•ดๆ•ฐใฎๅ…ฅๅŠ› string[] input = Console.ReadLine().Split(' '); for (int i = 0; i < n; i++) { a[i] = long.Parse(inp...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { // ๆ•ดๆ•ฐใฎๅ…ฅๅŠ› int n = int.Parse(Console.ReadLine()); long[] a = new long[n]; // ใ‚นใƒšใƒผใ‚นๅŒบๅˆ‡ใ‚Šใฎๆ•ดๆ•ฐใฎๅ…ฅๅŠ› string[] input = Console.ReadLine().Split(' '); for (int i = 0; i < n; i++) { a[i] = long.Parse(inp...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 204, 205, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 70], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 6...
8
202
using System; using System.Collections; using System.Collections.Generic; class Program { static void Main() { long n = long.Parse(Console.ReadLine()); long ans = 1; String[] inline = Console.ReadLine().Split(' '); int flag = 1; for (int i = 0; i < n; i++) { ans *= long.Parse(inline[i]); ...
using System; using System.Collections; using System.Collections.Generic; class Program { static void Main() { long n = long.Parse(Console.ReadLine()); long ans = 1; String[] inline = Console.ReadLine().Split(' '); int flag = 1; for (int i = 0; i < n; i++) { try { checked { ans *= l...
[["+", 8, 196, 0, 7, 8, 196, 0, 246, 0, 247], ["+", 0, 7, 8, 196, 0, 246, 8, 196, 0, 45], ["+", 8, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 46], ["+", 0, 7, 8, 196, 0, 246, 8, 196, 0, 46], ["+", 0, 7, 8, 196, 0, 246, 0, 248, 0, 249], ["...
8
177
using System; using System.Linq; namespace AtCoder.Question { public class QuestionB { public static void Main(string[] args) { var n = ReadValue<long>(); var array = ReadValues<long>(); long result = 1; long max = 1000000000000000000; if (array.Any(x => x == 0)) { Console.W...
using System; using System.Linq; namespace AtCoder.Question { public class QuestionB { public static void Main(string[] args) { var n = ReadValue<long>(); var array = ReadValues<long>(); long result = 1; long max = (long)Math.Pow(10, 18); if (array.Any(x => x == 0)) { Consol...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 0, 25], ["+", 0, 212, 0, 74, 51, 213, 63, 214, 205, 22], ["+", 0, 212, 0, 74, 51, 213, 63, 214, 0, 131], ["+", 0, 212, 0, 74, 51, 213, 63, 214,...
8
504
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC_169b { class Program { static void Main(string[] args) { int input = int.Parse(Console.ReadLine()); long[] num = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); l...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC_169b { class Program { static void Main(string[] args) { int input = int.Parse(Console.ReadLine()); long[] num = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); l...
[["+", 8, 201, 0, 195, 8, 196, 0, 246, 0, 247], ["+", 0, 195, 8, 196, 0, 246, 8, 196, 0, 45], ["+", 8, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 210, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 0, 287, 0, 196, 0, 210, 8, 196, 0, 46], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, ...
8
175
using System; class Multiplication2 { static void Main() { var n = int.Parse(Console.ReadLine()); String[] a = Console.ReadLine().Split(); ulong sum = 1; int frag = 0; for (int i = 0; i < n; i++) { if (ulong.Parse(a[i]) == 0) { frag = 1; break; } } if (frag == ...
using System; class Multiplication2 { static void Main() { var n = int.Parse(Console.ReadLine()); String[] a = Console.ReadLine().Split(); ulong sum = 1; for (int i = 0; i < n; i++) { if (ulong.Parse(a[i]) == 0) { Console.WriteLine(0); return; } } try { for (...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 3...
8
177
using System; class Multiplication2 { static void Main() { var n = int.Parse(Console.ReadLine()); String[] a = Console.ReadLine().Split(); ulong sum = 1; // var array = new long[n]; int frag = 0; for (int i = 0; i < n; i++) { if (ulong.Parse(a[i]) == 0) { frag = 1; break;...
using System; class Multiplication2 { static void Main() { var n = int.Parse(Console.ReadLine()); String[] a = Console.ReadLine().Split(); ulong sum = 1; int frag = 0; for (int i = 0; i < n; i++) { if (ulong.Parse(a[i]) == 0) { frag = 1; break; } } if (frag == ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 241, 0, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 241, 0, 203], ["+", 0, 246, 0, 248, 8, 196, 0, 1, 0, 35], ["+", 0, 246, 0, 248, 8, 196, 0, 37, 0, 38]]
8
182
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B { class Program { static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); long[] A = new long[N]; line = Console.ReadLine(); string[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B { class Program { static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); long[] A = new long[N]; line = Console.ReadLine(); string[...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 204, 205, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 70], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 6...
8
213
using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] ArrayS = Console.ReadLine().Split(' '); try { ulong sum = 1; ulong A = 1000000000000000000; ulong[] Array1 = new ulong[N]; fo...
using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] ArrayS = Console.ReadLine().Split(' '); try { ulong sum = 1; ulong A = 1000000000000000000; ulong[] Array1 = new ulong[N]; fo...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 204, 205, 22], ["...
8
215
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 = false }; Co...
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 = false }; Co...
[["-", 12, 16, 31, 214, 205, 213, 63, 214, 0, 131], ["-", 12, 16, 31, 214, 205, 213, 63, 214, 141, 22], ["-", 12, 16, 31, 214, 205, 213, 3, 4, 0, 24], ["-", 12, 16, 31, 214, 205, 213, 3, 4, 0, 25], ["-", 0, 57, 15, 16, 12, 16, 31, 214, 0, 131], ["-", 0, 57, 15, 16, 12, 16, 31, 214, 141, 22], ["-", 8, 196, 0, 57, 15, 16...
8
274
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppTest { class Multiplication2 { static void Main(string[] args) { var i = 0; var num = Console.ReadLine(); if (num == null) { Console.WriteLine(0); return; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppTest { class Multiplication2 { static void Main(string[] args) { var i = 0; var num = Console.ReadLine(); if (num == null) { Console.WriteLine(0); return; ...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 204, 205, 22], ["...
8
234
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC169B { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); ulong M = 1; int over = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC169B { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); ulong M = 1; int over = 0; ...
[["-", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 108], ["-", 0, 7, 8, 196, 0, 1, 0, 11, 12, 22], ["-", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0...
8
207
using System; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); int N = cin.NextInt(); ulong[] A = cin.ArrayLong(N); ulong B = 1; Array.Sort(A); if (A[0] == 0) { Console.WriteLine("0"); } else { for (int i = 0; i < N; i++) { ...
using System; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); int N = cin.NextInt(); long[] A = cin.ArrayLong(N); long B = 1; Array.Sort(A); if (A[0] == 0) { Console.WriteLine("0"); } else { for (int i = 0; i < N; i++) { ...
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 75, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 75, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 204...
8
541
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionB { // https://atcoder.jp/contests/abc169/tasks/abc169_b public static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionB { // https://atcoder.jp/contests/abc169/tasks/abc169_b public static void Main(string[] args) { ...
[["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 24], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 25], ["+", 0, 210, 8, 196, 0, 57, 64, 196, 0, 45]...
8
199
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Cryptography.X509Certificates; using System.Xml; namespace hello...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Cryptography.X509Certificates; using System.Xml; namespace hello...
[["+", 8, 196, 0, 57, 75, 196, 0, 246, 0, 247], ["+", 0, 57, 75, 196, 0, 246, 8, 196, 0, 45], ["+", 75, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 46], ["+", 0, 57, 75, 196, 0, 246, 8, 196, 0, 46], ["+", 0, 57, 75, 196, 0, 246, 0, 248, 0,...
8
214
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Cryptography.X509Certificates; using System.Xml; namespace hello...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Cryptography.X509Certificates; using System.Xml; namespace hello...
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 201, 0, 235, 8, 20...
8
289
using System; class Program { static void Main() { int n = int.Parse(Console.ReadLine()); string[] In = Console.ReadLine().Split(' '); ulong sum = 1, temp = 0; bool flag = true; bool HasZero = false; for (int i = 0; i < n; i++) { if (long.Parse(In[i]) == 0) HasZero = true; }...
using System; class Program { static void Main() { int n = int.Parse(Console.ReadLine()); string[] In = Console.ReadLine().Split(' '); ulong sum = 1, temp = 0; bool flag = true; bool HasZero = false; for (int i = 0; i < n; i++) { if (long.Parse(In[i]) == 0) HasZero = true; }...
[["+", 8, 196, 0, 57, 64, 196, 0, 246, 0, 247], ["+", 0, 57, 64, 196, 0, 246, 8, 196, 0, 45], ["+", 64, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 46], ["+", 0, 57, 64, 196, 0, 246, 8, 196, 0, 46], ["+", 0, 57, 64, 196, 0, 246, 0, 248, 0,...
8
206
using Microsoft.VisualBasic; using System; namespace AtCoder.Abc { class QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); var n = int.Parse(Console.ReadLine()); var...
using Microsoft.VisualBasic; using System; namespace AtCoder.Abc { class QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); var n = int.Parse(Console.ReadLine()); var...
[["-", 0, 198, 0, 200, 0, 212, 0, 204, 205, 22], ["-", 0, 200, 0, 212, 0, 204, 206, 207, 0, 70], ["-", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 200, 0, 212, 0, 204, 206, 207, 0, 73], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 21...
8
242
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } long answer = 1; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } long answer = 1; ...
[["+", 8, 196, 0, 7, 8, 196, 0, 246, 0, 247], ["+", 0, 7, 8, 196, 0, 246, 8, 196, 0, 45], ["+", 8, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]...
8
428
// // ABC169B // URL : https://atcoder.jp/contests/abc169/tasks/abc169_b // using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Security.Cryptography.X509Certificates; namespace AtCoder { class ABC169B { public static readonly long MOD_CONST = 100...
// // ABC169B // URL : https://atcoder.jp/contests/abc169/tasks/abc169_b // using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Security.Cryptography.X509Certificates; namespace AtCoder { class ABC169B { public static readonly long MOD_CONST = 100...
[["+", 8, 201, 0, 195, 8, 196, 0, 210, 8, 196], ["+", 0, 195, 8, 196, 0, 210, 8, 196, 0, 197], ["+", 8, 196, 0, 210, 8, 196, 0, 197, 0, 198], ["+", 0, 210, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 199, 0, 200], ["+", 0, 197, 0, 198, 39, 199, 0, 200, 0, 301], ["+", 0, 198, 39, 199, 0, 200, 0, ...
8
902
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using static Input; using static Util; class Program { static int N; static long[] A; static void INPUT() { N = NextInt(); A = LineLong(); } static void OUT() { va...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using static Input; using static Util; class Program { static int N; static long[] A; static void INPUT() { N = NextInt(); A = LineLong(); } static void OUT() { va...
[["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 25], ["+", 0, 210, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203], ["...
8
490
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); long[] a = Console.ReadLine() .Split(" ") .Select(x => long.Pa...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); long[] a = Console.ReadLine() .Split(" ") .Select(x => long.Pa...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 57, 15, 213, 3, 4, 0, 24], ["+", 0, 57, 15, 213, 3, 4, 0, 28, 0, ...
8
184