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
change_count
int64
0
100
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, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
614
4
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, ' ')); } ...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 22]]
8
554
2
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, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 8, 196, 0, 7, 8, 196, 0, 116, 0, 117], ["-", 8, 196, 0, 7, 8, 196, 0, 116, 0, 35]]
8
595
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC085C { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int n = int.Parse(str[0]); int Yen = int.Parse(str[1]); int x = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC085C { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int n = int.Parse(str[0]); int Yen = int.Parse(str[1]); int x = 0; ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
231
2
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Numerics; namespace AtCoderWorkspace { class Program { static void Main(string[] args) { var cin = new Scanner(); var n = cin.nextLong(); var y = cin.nextLong();...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Numerics; namespace AtCoderWorkspace { class Program { static void Main(string[] args) { var cin = new Scanner(); var n = cin.nextLong(); var y = cin.nextLong();...
[["+", 8, 196, 0, 7, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 7, 15, 16, 31, 16, 17, 72], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 23, 0, 25]]
8
1,177
4
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text.RegularExpressions; using System.Diagnostics; // var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); namespace AtCoderSolve { class Solve { const int mod = 1000000007; const int INF = 2147483647; ...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text.RegularExpressions; using System.Diagnostics; // var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); namespace AtCoderSolve { class Solve { const int mod = 1000000007; const int INF = 2147483647; ...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 60]]
8
303
2
using System; using System.Collections.Generic; class MainClass { public static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int N = int.Parse(s[0]); int Y = int.Parse(s[1]); List<int> list = new List<int>(); for (int i = 0; i < N; i++) { for (int j = 0; j < N; j...
using System; using System.Collections.Generic; class MainClass { public static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int N = int.Parse(s[0]); int Y = int.Parse(s[1]); List<int> list = new List<int>(); for (int i = 0; i <= N; i++) { for (int j = 0; j <= N;...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
179
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; using static System.Math; namespace ABC_prac { class Program { static void Main(string[] args) { var cin = ReadInts(); int n = cin[0]; int y = cin[1]; int a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; using static System.Math; namespace ABC_prac { class Program { static void Main(string[] args) { var cin = ReadInts(); int n = cin[0]; int y = cin[1]; int a...
[["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
8
358
4
using System; using System.Linq; using System.Collections.Generic; class P { static void Main() { // int n = int.Parse(Console.ReadLine()); int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); // Console.WriteLine(Console.ReadLine().Replace("2017", "2018")); for (int i = 0; i < a[0]; i++...
using System; using System.Linq; using System.Collections.Generic; class P { static void Main() { // int n = int.Parse(Console.ReadLine()); int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); // Console.WriteLine(Console.ReadLine().Replace("2017", "2018")); for (int i = 0; i <= a[0]; i+...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
163
4
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; #if !DEBUG using System.IO; #endif public class Program { public static void Main() { #region SetAutoFlushIsFalse #if !DEBUG var sw = new StreamWriter(Console.OpenStan...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; #if !DEBUG using System.IO; #endif public class Program { public static void Main() { #region SetAutoFlushIsFalse #if !DEBUG var sw = new StreamWriter(Console.OpenStan...
[["-", 64, 196, 0, 37, 0, 283, 0, 284, 0, 22], ["+", 64, 196, 0, 37, 0, 283, 0, 284, 0, 22]]
8
3,015
4
using System; using System.Collections; using System.Linq; public class Test { public static void Main() { string[] str = Console.ReadLine().Split(' '); int maisu = int.Parse(str[0]); int mokuhyou = int.Parse(str[1]); bool ok = false; for (int x10000 = 1; x10000 <= maisu; x10000++) { for (i...
using System; using System.Collections; using System.Linq; public class Test { public static void Main() { string[] str = Console.ReadLine().Split(' '); int maisu = int.Parse(str[0]); int mokuhyou = int.Parse(str[1]); bool ok = false; for (int x10000 = 0; x10000 <= maisu; x10000++) { for (i...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
187
4
using System; using System.Linq; using System.Collections.Generic; public class Test { public static void Main() { string[] line = Console.ReadLine().Split(' '); int n = int.Parse(line[0]); int y = int.Parse(line[1]); int ans10000 = -1; int ans5000 = -1; int ans1000 = -1; for (int a = 0...
using System; using System.Linq; using System.Collections.Generic; public class Test { public static void Main() { string[] line = Console.ReadLine().Split(' '); int n = int.Parse(line[0]); int y = int.Parse(line[1]); int ans10000 = -1; int ans5000 = -1; int ans1000 = -1; for (int a = 0...
[["+", 8, 196, 0, 7, 15, 16, 31, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 31, 16, 12, 22]]
8
182
2
using System; using System.Collections.Generic; using System.Linq; namespace Test { class Program { static void Main(string[] args) { var arr = Console.ReadLine().Split(' '); var N = int.Parse(arr[0]); int Y = int.Parse(arr[1]); for (int x = 0; x <= N; x++) for (int y = 0; y <= N; y++) { ...
using System; using System.Collections.Generic; using System.Linq; namespace Test { class Program { static void Main(string[] args) { var arr = Console.ReadLine().Split(' '); var N = int.Parse(arr[0]); int Y = int.Parse(arr[1]); for (int x = 0; x <= N; x++) for (int y = 0; y <= N - x; y++) { ...
[["+", 0, 7, 8, 7, 15, 16, 12, 16, 17, 33], ["+", 0, 7, 8, 7, 15, 16, 12, 16, 12, 22]]
8
175
2
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; namespace Otoshidama { class Program { public static void Main(string[] args) { using (var sc = new SetConsole()) { var ny = GetArrayIntInput(); for (int i = 0; i < ny[0]; i++) // 10000 ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; namespace Otoshidama { class Program { public static void Main(string[] args) { using (var sc = new SetConsole()) { var ny = GetArrayIntInput(); for (int i = 0; i <= ny[0]; i++) // 10000 ...
[["-", 0, 311, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 311, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
350
4
using System; using System.Collections.Generic; using System.Linq; namespace Project { class Program { static void Main(string[] args) { var cr = new CR(); var N = cr.i; var Y = cr.i; for (var z = 0; z < N; z++) { for (var y = 0; y < N - z; y++) { var x_yen = Y - (5000 * y) - (1000 * ...
using System; using System.Collections.Generic; using System.Linq; namespace Project { class Program { static void Main(string[] args) { var cr = new CR(); var N = cr.i; var Y = cr.i; for (var z = 0; z <= N; z++) { for (var y = 0; y <= N - z; y++) { var x_yen = Y - (5000 * y) - (1000 ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
290
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestApp2 { class Program { static void Main(string[] args) { var str = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); var n = str[0]; var y = str[1]; var i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestApp2 { class Program { static void Main(string[] args) { var str = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); var n = str[0]; var y = str[1]; var i...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
272
4
using System; using static System.Console; using static System.Math; public class Hello { public static void Main() { // int kazu = int.Parse(ReadLine()); string[] input = ReadLine().Split(' '); int maisu = int.Parse(input[0]); int kingaku = int.Parse(input[1]); int a = -1, b = -1, c = -1;...
using System; using static System.Console; using static System.Math; public class Hello { public static void Main() { // int kazu = int.Parse(ReadLine()); string[] input = ReadLine().Split(' '); int maisu = int.Parse(input[0]); int kingaku = int.Parse(input[1]); int a = -1, b = -1, c = -1;...
[["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
8
171
4
using System; using System.Linq; namespace ABC085_C { class Program { static void Main(string[] args) { var NY = Console.ReadLine().Split().Select(int.Parse).ToArray(); var N = NY[0]; var Y = NY[1]; var numi = -1; var numg = -1; var nums = -1; for (int i = 0; i < N; i++) { for (in...
using System; using System.Linq; namespace ABC085_C { class Program { static void Main(string[] args) { var NY = Console.ReadLine().Split().Select(int.Parse).ToArray(); var N = NY[0]; var Y = NY[1]; var numi = -1; var numg = -1; var nums = -1; for (int i = 0; i <= N; i++) { for (i...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
190
4
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, ' ')); Co...
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, ' ')); Co...
[["+", 0, 7, 8, 7, 15, 16, 12, 23, 0, 24], ["+", 8, 7, 15, 16, 12, 23, 0, 16, 17, 33], ["+", 8, 7, 15, 16, 12, 23, 0, 16, 12, 22], ["+", 0, 7, 8, 7, 15, 16, 12, 23, 0, 25]]
8
550
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ARC85_C { class Program { static void Main(string[] args) { var s = Console.ReadLine().Split(' '); int n = int.Parse(s[0]); long y = long.Parse(s[1]); for (int i = 0; i < n; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ARC85_C { class Program { static void Main(string[] args) { var s = Console.ReadLine().Split(' '); int n = int.Parse(s[0]); long y = long.Parse(s[1]); for (int i = 0; i < n +...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]]
8
180
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace atcoder_b_085 { class _03 { static void Main() { int N; //お札の枚数 int Y; //合計金額 long[] bill = new long[] { 1000, 5000, 10000 }; //値取得 string[] str = Console.ReadLine().Spli...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace atcoder_b_085 { class _03 { static void Main() { int N; //お札の枚数 int Y; //合計金額 long[] bill = new long[] { 10000, 5000, 1000 }; //値取得 string[] str = Console.ReadLine().Spli...
[["-", 0, 200, 0, 212, 0, 227, 0, 229, 0, 203], ["+", 0, 200, 0, 212, 0, 227, 0, 229, 0, 203]]
8
230
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC85_3 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int N = int.Parse(s[0]); int Y = int.Parse(s[1]); bool Out = false; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC85_3 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int N = int.Parse(s[0]); int Y = int.Parse(s[1]); bool Out = false; ...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 22]]
8
216
2
using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var ab = int.Parse(Console.ReadLine().Replace(" ", "")); var sqrt = Math.Sqrt(ab); Console.WriteLine(sqrt * sqrt == ab ? "Yes" : "No"); } } }
using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var ab = int.Parse(Console.ReadLine().Replace(" ", "")); var sqrt = Math.Sqrt(ab); Console.WriteLine((int)sqrt == sqrt ? "Yes" : "No"); } } }
[["-", 0, 28, 0, 41, 15, 16, 31, 16, 31, 22], ["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 48], ["+", 0, 28, 0, 41, 15, 16, 31, 74, 0, 24], ["+", 0, 28, 0, 41, 15, 16, 31, 74, 39, 199], ["+", 0, 28, 0, 41, 15, 16, 31, 74, 0, 25], ["-", 3, 4, 0, 28, 0, 41, 15, 16, 12, 22], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 12, 22]]
8
75
7
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, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]]
8
547
4
using System; using System.Collections.Generic; using static System.Console; class Program { static void Main() { var a = NextString(); var b = NextString(); var x = double.Parse(a + b); var sqrt = Math.Pow(x, 0.5); WriteLine(Math.Pow(sqrt, 2) == x ? "Yes" : "No"); } static string NextStrin...
using System; using System.Collections.Generic; using static System.Console; class Program { static void Main() { var a = NextString(); var b = NextString(); var x = int.Parse(a + b); var sqrt = (int)Math.Pow(x, 0.5); WriteLine(Math.Pow(sqrt, 2) == x ? "Yes" : "No"); } static string NextStr...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 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]]
8
173
5
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using System.Globalization; using System.Collections; namespace CompetitiveProgramming { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; ...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using System.Globalization; using System.Collections; namespace CompetitiveProgramming { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; ...
[["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
13,841
2
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int s = int.Parse(input[0] + input[1]); double d = Math.Sqrt(s); if (d % 1 == 0) { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } }
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int s = int.Parse(input[0] + input[1]); double d = Math.Sqrt(s); if (d % 1 == 0) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
95
4
using System; using System.Collections.Generic; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); List<int> ts = new List<int>(); List<int> xs = new List<int>(); List<int> ys = new List<int>(); for (int i = 0; i < N; i+...
using System; using System.Collections.Generic; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); List<int> ts = new List<int>(); List<int> xs = new List<int>(); List<int> ys = new List<int>(); for (int i = 0; i < N; i+...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
320
6
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp15 { class Class29 { static void Main() { var NH = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = NH[0], H = NH[1]; long[] a = new long[N], b = new long...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp15 { class Class29 { static void Main() { var NH = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = NH[0], H = NH[1]; long[] a = new long[N], b = new long...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22]]
8
270
2
using System; using System.Linq; using System.Collections.Generic; using System.IO; using static System.Console; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArra...
using System; using System.Linq; using System.Collections.Generic; using System.IO; using static System.Console; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArra...
[["+", 0, 16, 12, 16, 31, 16, 31, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 213, 3, 4, 0, 25]]
8
384
2
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Text; class Program { static void Main(string[] args) { // 入力 // var s = Console.ReadLine(); // var n = int.Parse(Console.ReadLine()); long[] nh = Console.ReadLine().Split().Select(long.Parse).To...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Text; class Program { static void Main(string[] args) { // 入力 // var s = Console.ReadLine(); // var n = int.Parse(Console.ReadLine()); long[] nh = Console.ReadLine().Split().Select(long.Parse).To...
[["+", 0, 52, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94], ["+", 0, 52, 8, 196, 0, 57, 64, 196, 0, 46]]
8
296
4
using System; using System.Collections.Generic; namespace cswork { class Program { public Program() {} Scanner cin; void Omame() { cin = new Scanner(); int n = cin.nextInt(); int x0 = 0; int y0 = 0; int t0 = 0; for (int i = 0; i < n; i++) { int t = cin.nextInt(); int x = ci...
using System; using System.Collections.Generic; namespace cswork { class Program { public Program() {} Scanner cin; void Omame() { cin = new Scanner(); int n = cin.nextInt(); int x0 = 0; int y0 = 0; int t0 = 0; for (int i = 0; i < n; i++) { int t = cin.nextInt(); int x = ci...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
372
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { class Katana { public readonly int a; public readonly int b; public Katana(int a, int b) { this.a = a; this.b = b; } } private static List<Katana> kat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { class Katana { public readonly int a; public readonly int b; public Katana(int a, int b) { this.a = a; this.b = b; } } private static List<Katana> kat...
[["-", 0, 210, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 3, 4, 0, 28, 0, 16, 31, 74, 39, 199], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 39, 199]]
8
331
4
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Numerics; using static System.Math; using static System.Array; using static AtCoder.IO_ShortCut; using static AtCoder.Tool; using static AtCoder.ModInt; namespace AtCoder { class AC { const int MOD = 10...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Numerics; using static System.Math; using static System.Array; using static AtCoder.IO_ShortCut; using static AtCoder.Tool; using static AtCoder.ModInt; namespace AtCoder { class AC { const int MOD = 10...
[["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 0, 11, 12, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 21], ["+", 3, 4, 0, 28, 0, 16, 31, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 25]]
8
1,711
5
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, 7, 8, 196, 0, 57, 64, 126, 0, 127], ["-", 0, 7, 8, 196, 0, 57, 64, 126, 0, 22], ["+", 0, 7, 8, 196, 0, 57, 64, 116, 0, 117]]
8
998
3
using System; namespace ABC086C_Traveling { class MainClass { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] t = new int[110000]; int[] x = new int[110000]; int[] y = new int[110000]; t[0] = x[0] = y[0] = 0; for (int i = 1; i <= n; i++) { string[] inp = ...
using System; namespace ABC086C_Traveling { class MainClass { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] t = new int[110000]; int[] x = new int[110000]; int[] y = new int[110000]; t[0] = x[0] = y[0] = 0; for (int i = 1; i <= n; i++) { string[] inp = ...
[["-", 3, 4, 0, 28, 0, 41, 64, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 64, 5, 0, 222], ["-", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]]
8
279
4
using System; using System.Collections.Generic; using System.Linq; namespace Test { class Program { static void Main(string[] args) { int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray(); int max = 0; int[] Throw = new int[x[0]]; for (int i = 0; i < x[0]; i++) { int[] a = Console.Re...
using System; using System.Collections.Generic; using System.Linq; namespace Test { class Program { static void Main(string[] args) { int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray(); int max = 0; int[] Throw = new int[x[0]]; for (int i = 0; i < x[0]; i++) { int[] a = Console.Re...
[["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
296
2
using System; using System.Linq; class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var ans = "YES"; var t = 0; var x = 0; var y = 0; for (int i = 0; i < N; i++) { var inputs = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArr...
using System; using System.Linq; class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var ans = "Yes"; var t = 0; var x = 0; var y = 0; for (int i = 0; i < N; i++) { var inputs = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArr...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
213
6
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084A { class Program { static void Main(string[] args) { int M, x, a; M = int.Parse(Console.ReadLine()); a = 24 - M; x = M + a; Console.WriteLine(x); Console.ReadKe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084A { class Program { static void Main(string[] args) { int M, x, a; M = int.Parse(Console.ReadLine()); a = 24 - M; x = 24 + a; Console.WriteLine(x); Console.ReadK...
[["-", 8, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 31, 203]]
8
91
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC086C_Traveling { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int x = 0; int y = 0; int t = 0; bool flag = false; for (...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC086C_Traveling { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int x = 0; int y = 0; int t = 0; bool flag = false; for (...
[["+", 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, 22], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35]]
8
248
4
using System; using System.Linq; using System.Collections.Generic; namespace program { class Program { static void Main() { Console.WriteLine(Input.ScanInt() + 24); } } static class Input { static public int ScanInt() { return int.Parse(Console.ReadLine()); } static public uint ScanUint() { return uint.Parse(Co...
using System; using System.Linq; using System.Collections.Generic; namespace program { class Program { static void Main() { Console.WriteLine(48 - Input.ScanInt()); } } static class Input { static public int ScanInt() { return int.Parse(Console.ReadLine()); } static public uint ScanUint() { return uint.Parse(Co...
[["+", 0, 213, 3, 4, 0, 28, 0, 16, 31, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
574
4
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; class Program { static void Main() { //入力 // int[] input = Console.ReadLine().Split().Select(i => // int.Parse(i)).ToArray(); string input= Console.ReadLine(); int input = int.Pars...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; class Program { static void Main() { //入力 // int[] input = Console.ReadLine().Split().Select(i => // int.Parse(i)).ToArray(); string input= Console.ReadLine(); int input = int.Pars...
[["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 48], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203]]
8
70
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp2 { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int num1 = Convert.ToInt32(input[0]); Console.WriteLine(48 - num1); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp2 { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int num1 = Convert.ToInt32(input); Console.WriteLine(48 - num1); } } }
[["-", 3, 4, 0, 28, 0, 204, 206, 207, 0, 70], ["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 3, 4, 0, 28, 0, 204, 206, 207, 0, 73]]
8
70
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { Console.WriteLine(24 - int.Parse(Console.ReadLine())); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { Console.WriteLine(48 - int.Parse(Console.ReadLine())); } }
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 31, 203]]
8
53
2
using System; using System.Collections.Generic; using System.Linq; namespace Paiza { class Program { public static void Main(string[] args) { if (true) { arc089_a(); } else { abc085_c(); abc083_b(); abc087_b(); ABC081A(); ABC086A(); ABC081B(); } } private s...
using System; using System.Collections.Generic; using System.Linq; namespace Paiza { class Program { public static void Main(string[] args) { if (true) { arc089_a(); } else { abc085_c(); abc083_b(); abc087_b(); ABC081A(); ABC086A(); ABC081B(); } } private s...
[["-", 0, 57, 15, 16, 12, 16, 31, 204, 205, 22], ["-", 15, 16, 12, 16, 31, 204, 206, 207, 0, 70], ["-", 12, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["-", 15, 16, 12, 16, 31, 204, 206, 207, 0, 73], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22]]
8
958
5
using System; using System.Linq; using System.Collections.Generic; using System.IO; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArray(); } static void Main...
using System; using System.Linq; using System.Collections.Generic; using System.IO; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArray(); } static void Main...
[["+", 0, 57, 75, 57, 15, 16, 31, 16, 31, 22], ["+", 0, 57, 75, 57, 15, 16, 31, 16, 17, 60], ["+", 0, 57, 75, 57, 15, 16, 31, 16, 12, 22], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 98]]
8
248
4
using System; class Program { static void Main(string[] args) { int n = Input.nextInt(); int nowx = 0; int nowy = 0; int nowt = 0; int tmpx; int tmpy; int tmpt; for (int i = 0; i < n; i++) { tmpt = Input.nextInt(); tmpx = Input.nextInt(); tmpy = Input.nextInt(); ...
using System; class Program { static void Main(string[] args) { int n = Input.nextInt(); int nowx = 0; int nowy = 0; int nowt = 0; int tmpx; int tmpy; int tmpt; for (int i = 0; i < n; i++) { tmpt = Input.nextInt(); tmpx = Input.nextInt(); tmpy = Input.nextInt(); ...
[["+", 31, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["+", 12, 23, 0, 16, 12, 213, 3, 4, 0, 25]]
8
333
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Solve(); } static void Solve() { Scan sc = new Scan(); write wr = new write(); int[] a = sc.intarr; int n = a[0]; int t = 0, x...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Solve(); } static void Solve() { Scan sc = new Scan(); write wr = new write(); int[] a = sc.intarr; int n = a[0]; int t = 0, x...
[["+", 15, 16, 12, 16, 31, 16, 31, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 213, 3, 4, 0, 25]]
8
339
2
using System; using System.Linq; namespace AtCoder { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var T = new int[100000]; var X = new int[100000]; var Y = new int[100000]; for (int i = 0; i < N; i++) { var input = Console.ReadLine().Split(' ').Se...
using System; using System.Linq; namespace AtCoder { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var T = new int[100000]; var X = new int[100000]; var Y = new int[100000]; for (int i = 0; i < N; i++) { var input = Console.ReadLine().Split(' ').Se...
[["+", 15, 16, 12, 23, 0, 16, 31, 23, 0, 24], ["+", 15, 16, 12, 23, 0, 16, 31, 23, 0, 25], ["+", 0, 57, 15, 16, 12, 23, 0, 16, 17, 109], ["+", 0, 57, 15, 16, 12, 23, 0, 16, 12, 203]]
8
234
4
using System; using System.Collections.Generic; using System.Linq; public class program { public static void Main() { var N = int.Parse(Console.ReadLine()); var t = new int[N + 1]; var x = new int[N + 1]; var y = new int[N + 1]; t[0] = 0; x[0] = 0; y[0] = 0; for (int i = 0; i < N; i+...
using System; using System.Collections.Generic; using System.Linq; public class program { public static void Main() { var N = int.Parse(Console.ReadLine()); var t = new int[N + 1]; var x = new int[N + 1]; var y = new int[N + 1]; t[0] = 0; x[0] = 0; y[0] = 0; for (int i = 0; i < N; i+...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
346
4
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string str = Console.ReadLine(); int N = int.Parse(str); int[][] X = new int [N][]; for (var i = 0; i < N; i++) { string[] str2 = Console.ReadLine().Split(); X[i] = new int[3]; X[i][0] =...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string str = Console.ReadLine(); int N = int.Parse(str); int[][] X = new int [N][]; for (var i = 0; i < N; i++) { string[] str2 = Console.ReadLine().Split(); X[i] = new int[3]; X[i][0] =...
[["+", 0, 57, 15, 16, 12, 16, 31, 23, 0, 24], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 17, 109], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 12, 203], ["+", 31, 23, 0, 16, 12, 213, 3, 4, 0, 25]]
8
371
4
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
[["+", 0, 11, 12, 16, 31, 16, 12, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 16, 12, 23, 0, 25]]
8
416
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoderProg { class C_Traveling { static void Main(string[] args) { int count = int.Parse(Console.ReadLine()); int reslutCount = count; int reslut = 0; while (count > 0) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoderProg { class C_Traveling { static void Main(string[] args) { int count = int.Parse(Console.ReadLine()); int reslutCount = count; int reslut = 0; while (count > 0) { ...
[["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 16, 12, 23, 0, 16, 31, 22], ["+", 0, 57, 15, 16, 12, 23, 0, 16, 17, 20], ["+", 0, 57, 15, 16, 12, 23, 0, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 23, 0, 25]]
8
181
6
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 n = cin.nextInt(); var list = new List<Station>()...
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 n = cin.nextInt(); var list = new List<Station>()...
[["-", 75, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 75, 196, 0, 1, 0, 11, 0, 202, 0, 32]]
8
799
2
using System; using System.Linq; namespace ABC086 { class C { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var t_now = 0; var x_now = 0; var y_now = 0; var res = "YES"; for (int i = 0; i < N; i++) { var plan = Console.ReadLine().Split(' ').Select(s ...
using System; using System.Linq; namespace ABC086 { class C { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var t_now = 0; var x_now = 0; var y_now = 0; var res = "Yes"; for (int i = 0; i < N; i++) { var plan = Console.ReadLine().Split(' ').Select(s ...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
214
4
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Competitive { internal class Solution { public int N; public int[] T, X, Y; public void Run() { N = Input.ReadInt(); T = new int[N]; X = new int[N]; Y = new int[N]; for (int i = 0; i < N; i++) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Competitive { internal class Solution { public int N; public int[] T, X, Y; public void Run() { N = Input.ReadInt(); T = new int[N]; X = new int[N]; Y = new int[N]; for (int i = 0; i < N; i++) { ...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33]]
8
452
2
using System; using System.Collections.Generic; namespace ABC086 { public class Problem_C { public static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var routes = new List<int[]>(); routes.Add(new int[] { 0, 0, 0 }); for (var i = 0; i < n; i++) { routes.Add(Array.ConvertAl...
using System; using System.Collections.Generic; namespace ABC086 { public class Problem_C { public static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var routes = new List<int[]>(); routes.Add(new int[] { 0, 0, 0 }); for (var i = 0; i < n; i++) { routes.Add(Array.ConvertAl...
[["+", 0, 23, 0, 16, 12, 16, 31, 16, 17, 109], ["+", 0, 23, 0, 16, 12, 16, 31, 16, 12, 203]]
8
261
2
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, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 22]]
8
640
2
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static System.Math; using System.Text; using System.Threading; using System.Globalization; using System.Runtime.CompilerServices; using Library; namespace Program { public static class ProblemA { static bool SAIKI = false; st...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static System.Math; using System.Text; using System.Threading; using System.Globalization; using System.Runtime.CompilerServices; using Library; namespace Program { public static class ProblemA { static bool SAIKI = false; st...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203]]
8
1,449
2
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(); int a = sc.NextInt(); int b = sc.NextInt(); string answer = Math.Abs(a - b) % 2 == 1 ? "Alice" : "Borys"; Console...
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(); int a = sc.NextInt(); int b = sc.NextInt(); string answer = Math.Abs(a - b) % 2 == 0 ? "Alice" : "Borys"; Console...
[["-", 0, 200, 0, 212, 0, 41, 15, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 41, 15, 16, 12, 203]]
8
392
2
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main() { var temp = ReadLine(); var a = temp[1]; var b = temp[2]; if (b - a % 2 == 0) { Console.WriteLine("Alice"); } else { Console.WriteLine("Borys"); } } sta...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main() { var temp = ReadLine(); var a = temp[1]; var b = temp[2]; if ((b - a) % 2 == 0) { Console.WriteLine("Alice"); } else { Console.WriteLine("Borys"); } } s...
[["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 25]]
8
136
2
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; class Program { const long MOD = (long)1e9 + 7; static void Main(string[] args) { // main ↓ int[] n = ScanIntArray(2); Console.WriteLine((int)(Math.Abs(n[0] - n[1])) % 2 == 0 ? "Alice" ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; class Program { const long MOD = (long)1e9 + 7; static void Main(string[] args) { // main ↓ int[] n = ScanIntArray(3); Console.WriteLine((int)(Math.Abs(n[2] - n[1])) % 2 == 0 ? "Alice" ...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203], ["-", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203]]
8
3,006
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main() { Scanner cin = new Scanner(); int N = cin.Int(); int A = cin.Int(); int B = cin.Int(); Console.WriteLine(B - A % 2 == 0 ? "Alice" : "Borys"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main() { Scanner cin = new Scanner(); int N = cin.Int(); int A = cin.Int(); int B = cin.Int(); Console.WriteLine((B - A) % 2 == 0 ? "Alice" : "Borys"); ...
[["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 25]]
8
451
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC020A { class Program { static void Main(string[] args) { int[] input = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); int A = input[1]; int B = inpu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC020A { class Program { static void Main(string[] args) { int[] input = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); int A = input[1]; int B = inpu...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
131
4
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public void Proc() { int[] inpt = Reader.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray(); this.TotalLen = inpt[0]; int alicePos = inpt[1]; int bolicePos = i...
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public void Proc() { int[] inpt = Reader.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray(); this.TotalLen = inpt[0]; int alicePos = inpt[1]; int bolicePos = i...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
267
4
using System; using System.Text; using System.Collections.Generic; using System.Collections; using static System.Math; using System.Linq; using static System.Array; namespace ConsoleApp2 { public static class StringExtensions { public static string ToTitleCase(this string self) { return System.Globalization.Cult...
using System; using System.Text; using System.Collections.Generic; using System.Collections; using static System.Math; using System.Linq; using static System.Array; namespace ConsoleApp2 { public static class StringExtensions { public static string ToTitleCase(this string self) { return System.Globalization.Cult...
[["+", 0, 198, 0, 200, 0, 212, 0, 16, 31, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 31, 203], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 72]]
8
1,570
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
1,285
4
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; using stat...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; using stat...
[["-", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199], ["+", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
3,558
6
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Text.RegularExpressions; using System.Linq; using System.IO; using System.Diagnostics; class Scanner { private readonly char Separator = ' '; private int Index = 0; priv...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Text.RegularExpressions; using System.Linq; using System.IO; using System.Diagnostics; class Scanner { private readonly char Separator = ' '; private int Index = 0; priv...
[["-", 8, 201, 0, 124, 0, 198, 39, 224, 39, 199], ["+", 8, 201, 0, 124, 0, 198, 39, 224, 39, 199], ["-", 0, 1, 0, 11, 12, 227, 39, 224, 39, 199], ["+", 0, 1, 0, 11, 12, 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
391
6
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using static System.Math; using static System.Array; using static AtCoder.Tool; namespace AtCoder { class AC { const int MOD = 1000000007; const int INF = int.MaxValue / 2; const long SINF = long.MaxValue / 2; ...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using static System.Math; using static System.Array; using static AtCoder.Tool; namespace AtCoder { class AC { const int MOD = 1000000007; const int INF = int.MaxValue / 2; const long SINF = long.MaxValue / 2; ...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199]]
8
1,179
8
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Program { public class AGC020B { static public void Solve() { var K = NextInt; var Alist = NextIntList(K); var minN = 2; var maxN = 2; Alist.Reverse(); foreach (var item in Alist)...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Program { public class AGC020B { static public void Solve() { var K = NextInt; var Alist = NextLongList(K); var minN = 2L; var maxN = 2L; Alist.Reverse(); foreach (var item in Ali...
[["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
2,409
6
using System; using System.Linq; //リストの使用 using System.Collections.Generic; class Program { static long k = long.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。 static long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); static void Main() { long minAnswer = SearchMin(0...
using System; using System.Linq; //リストの使用 using System.Collections.Generic; class Program { static long k = long.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。 static long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); static void Main() { long minAnswer = SearchMin(0...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22]]
8
405
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC020B { class Program { static void Main(string[] args) { int K = int.Parse(Console.ReadLine()); int[] input = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArra...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC020B { class Program { static void Main(string[] args) { int K = int.Parse(Console.ReadLine()); int[] input = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArra...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
275
4
using System; using System.Collections.Generic; using System.Text; using System.Linq; class Program { void solve() { int k = int.Parse(Console.ReadLine()); int[] a = new int[k]; int idx = 0; int max = 2, min = 2; bool f_invalid = false; string[] buff = Console.ReadLine().Split(' '); for (...
using System; using System.Collections.Generic; using System.Text; using System.Linq; class Program { void solve() { int k = int.Parse(Console.ReadLine()); int[] a = new int[k]; int idx = 0; long max = 2, min = 2; bool f_invalid = false; string[] buff = Console.ReadLine().Split(' '); for ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 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
294
7
using System; using System.Linq; using System.Collections.Generic; class P { static void Main() { int k = int.Parse(Console.ReadLine()); int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); int makablePairMin = 2; int makablePairMax = 2; for (int i = a.Length - 1; i >= 0; i--) { ...
using System; using System.Linq; using System.Collections.Generic; class P { static void Main() { int k = int.Parse(Console.ReadLine()); long[] a = Console.ReadLine().Split().Select(long.Parse).ToArray(); long makablePairMin = 2; long makablePairMax = 2; for (int i = a.Length - 1; i >= 0; i--) {...
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 7, 8, 196, 0, 197, 0...
8
196
12
using System; using System.Text; using System.Collections.Generic; using System.Linq; class Solve { public Solve() {} StringBuilder sb; ReadData re; public static int Main() { new Solve().Run(); return 0; } void Run() { sb = new StringBuilder(); re = new ReadData(); Calc(); Console.W...
using System; using System.Text; using System.Collections.Generic; using System.Linq; class Solve { public Solve() {} StringBuilder sb; ReadData re; public static int Main() { new Solve().Run(); return 0; } void Run() { sb = new StringBuilder(); re = new ReadData(); Calc(); Console.W...
[["-", 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, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
1,844
8
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 Myon { public Myon() {} public static int Main() { new Myon().calc(); return 0; } Scanner cin; XRand rnd; vo...
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 Myon { public Myon() {} public static int Main() { new Myon().calc(); return 0; } Scanner cin; XRand rnd; vo...
[["-", 0, 195, 8, 196, 0, 1, 0, 213, 63, 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, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
1,039
7
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { const int MB = 64; public void Solve() { int sum = A.Sum(); Array.S...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { const int MB = 64; public void Solve() { int sum = A.Sum(); Array.S...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]]
8
568
6
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace ABC085A { class Program { static void Main(string[] args) { var S = Console.ReadLine(); string ans = "2017/01/" + S.Substring(8, 2); Console.WriteLin...
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace ABC085A { class Program { static void Main(string[] args) { var S = Console.ReadLine(); string ans = "2018/01/" + S.Substring(8, 2); Console.WriteLin...
[["-", 0, 200, 0, 212, 0, 16, 31, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 16, 31, 5, 0, 222]]
8
536
2
using System; namespace ino { class ABC84c { static void Main() { int n = int.Parse(Console.ReadLine()); int[] c = new int[n - 1]; int[] s = new int[n - 1]; int[] f = new int[n - 1]; string[] csf; for (int i = 0; i < n - 1; i++) { csf = Console.ReadLine().Split(' '); c[i] = int.Pa...
using System; namespace ino { class ABC84c { static void Main() { int n = int.Parse(Console.ReadLine()); int[] c = new int[n - 1]; int[] s = new int[n - 1]; int[] f = new int[n - 1]; string[] csf; for (int i = 0; i < n - 1; i++) { csf = Console.ReadLine().Split(' '); c[i] = int.Pa...
[["-", 0, 11, 12, 16, 12, 16, 31, 23, 0, 24], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 12, 203], ["-", 0, 11, 12, 16, 12, 16, 31, 23, 0, 25]]
8
285
4
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) { // var line1 = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); // var N = line1[0]; // var M = line1[1]; ...
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) { // var line1 = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); // var N = line1[0]; // var M = line1[1]; ...
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["-", 75, 196, 0, 1, 0, 11, 12, 16, 17, 72]]
8
814
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var C = new int[N - 1]; var S = new int[N - 1]; var F = new int[N - 1]; for...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var C = new int[N - 1]; var S = new int[N - 1]; var F = new int[N - 1]; for...
[["-", 0, 11, 12, 16, 31, 16, 12, 16, 31, 22], ["-", 0, 11, 12, 16, 31, 16, 12, 16, 17, 109]]
8
349
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084C { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); int[] C = new int[N]; int[] S = new int[N]; int[] F = new int[N]; for (...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084C { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); int[] C = new int[N]; int[] S = new int[N]; int[] F = new int[N]; for (...
[["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]]
8
283
6
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public void Proc() { this.Ekicount = int.Parse(Reader.ReadLine()); this.EkiInfo = new int [this.Ekicount][]; for (int i = 0; i < Ekicount - 1; i++) { this.EkiInfo[i] = ...
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; public class Program { public void Proc() { this.Ekicount = int.Parse(Reader.ReadLine()); this.EkiInfo = new int [this.Ekicount][]; for (int i = 0; i < Ekicount - 1; i++) { this.EkiInfo[i] = ...
[["+", 64, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 33]]
8
537
2
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; class hawawa { static Printer sw = new Printer(Console.OpenStandardOutput()) { AutoFlush = false }; static void Main() { Console.SetOut(sw); ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; class hawawa { static Printer sw = new Printer(Console.OpenStandardOutput()) { AutoFlush = false }; static void Main() { Console.SetOut(sw); ...
[["-", 75, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 75, 196, 0, 1, 0, 11, 0, 202, 0, 32]]
8
2,232
2
using System; using System.Linq; namespace ABC084 { class D { static void Main(string[] args) { int Q = int.Parse(Console.ReadLine()); int[] l = new int[Q]; int[] r = new int[Q]; string[] input; for (int i = 0; i < Q; i++) { input = Console.ReadLine().Split(' '); l[i] = int.Parse(inp...
using System; using System.Linq; namespace ABC084 { class D { static void Main(string[] args) { int Q = int.Parse(Console.ReadLine()); int[] l = new int[Q]; int[] r = new int[Q]; string[] input; for (int i = 0; i < Q; i++) { input = Console.ReadLine().Split(' '); l[i] = int.Parse(inp...
[["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 72], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203]]
8
406
6
using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace Program { public class ABC084D { static public void Main(string[] args) { var prime = new HashSet<int>(Prime(10000000)); var sumary = new int[100001]; foreach (var item in prime) { if (prime.Contains((it...
using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace Program { public class ABC084D { static public void Main(string[] args) { var prime = new HashSet<int>(Prime(100000)); var sumary = new int[100001]; foreach (var item in prime) { if (prime.Contains((item...
[["-", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203]]
8
470
2
using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace Program { public class ABC084D { static public void Main(string[] args) { var table = new bool[100001]; table[0] = table[1] = true; for (int i = 2; i <= 316; ++i) { if (!table[i]) { for (int j = ...
using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace Program { public class ABC084D { static public void Main(string[] args) { var table = new bool[100001]; table[0] = table[1] = true; for (int i = 2; i <= 316; ++i) { if (!table[i]) { for (int j = ...
[["-", 0, 57, 64, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 57, 64, 196, 0, 7, 15, 16, 12, 203]]
8
371
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084D { class Program { static void Main(string[] args) { bool[] primes = Enumerable.Repeat(true, 100001).ToArray(); primes[0] = false; primes[1] = false; for (int i = 2; i ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC084D { class Program { static void Main(string[] args) { bool[] primes = Enumerable.Repeat(true, 100001).ToArray(); primes[0] = false; primes[1] = false; for (int i = 2; i ...
[["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46]]
8
289
2
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; class hawawa { static Printer sw = new Printer(Console.OpenStandardOutput()) { AutoFlush = false }; static void Main() { Console.SetOut(sw); ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; class hawawa { static Printer sw = new Printer(Console.OpenStandardOutput()) { AutoFlush = false }; static void Main() { Console.SetOut(sw); ...
[["-", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203], ["+", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203]]
8
2,216
2
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, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18]]
8
1,102
4
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { int[] ABCD = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); int left = ABCD[0] + ABCD[1]; int right = ABCD[2] + ABCD[3]; if (left > right) { Co...
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { int[] ABCD = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); int left = ABCD[0] + ABCD[1]; int right = ABCD[2] + ABCD[3]; if (left > right) { Co...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
167
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main() { Solve(); Console.ReadKey(); } static void Solve() { var cin = GetIntArray(); var left = cin[0] + cin[1]; var right = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main() { Solve(); Console.ReadKey(); } static void Solve() { var cin = GetIntArray(); var left = cin[0] + cin[1]; var right = ...
[["-", 0, 212, 0, 41, 75, 41, 75, 5, 0, 222], ["+", 0, 212, 0, 41, 75, 41, 75, 5, 0, 222]]
8
657
2
using System; class Program { static void Main(string[] args) { var abcd = Console.ReadLine().Split(' '); var a = int.Parse(abcd[0]); var b = int.Parse(abcd[1]); var c = int.Parse(abcd[2]); var d = int.Parse(abcd[3]); if (a + b > c + d) { Console.WriteLine("Left"); } else if (a + b...
using System; class Program { static void Main(string[] args) { var abcd = Console.ReadLine().Split(' '); var a = int.Parse(abcd[0]); var b = int.Parse(abcd[1]); var c = int.Parse(abcd[2]); var d = int.Parse(abcd[3]); if (a + b > c + d) { Console.WriteLine("Left"); } else if (a + b...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
141
2
using System; using System.Linq; class Program { public static void Main(string[] args) { int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (s[0] + s[1] > s[2] + s[3]) Console.WriteLine("Left"); else if (s[0] + s[1] < s[2] + s[3]) Console.WriteLine("Rigth"); else ...
using System; using System.Linq; class Program { public static void Main(string[] args) { int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (s[0] + s[1] > s[2] + s[3]) Console.WriteLine("Left"); else if (s[0] + s[1] < s[2] + s[3]) Console.WriteLine("Right"); else ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
123
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { class aaaa { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); int B = int.Parse(input[1]); int C = int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { class aaaa { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); int B = int.Parse(input[1]); int C = int...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
177
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProgrammingContest { class MainClass : IDisposable { Scanner sc; Writer wr; string backPath = ".."; char dirSep = System.IO.Path.DirectorySeparatorChar; string inFilePath = string.Empty; string outFilePath = str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProgrammingContest { class MainClass : IDisposable { Scanner sc; Writer wr; string backPath = ".."; char dirSep = System.IO.Path.DirectorySeparatorChar; string inFilePath = string.Empty; string outFilePath = str...
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47]]
8
1,240
2
using System; namespace AtCoder_1223_1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int c = int.Parse(input[2]); int d = int.Parse(input[3]); if (a + b < c + d) { Console.Wr...
using System; namespace AtCoder_1223_1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int c = int.Parse(input[2]); int d = int.Parse(input[3]); if (a + b < c + d) { Console.Wr...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
147
4
using System; class MainClass { static void Main() { //入力 string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); int a = int.Parse(input[1]); int b = int.Parse(input[2]); int sum = 0; //出力 for (var i = 1; i <= n; i++) { var minisum = 0; var j = i; ...
using System; class MainClass { static void Main() { //入力 string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); int a = int.Parse(input[1]); int b = int.Parse(input[2]); int sum = 0; //出力 for (var i = 1; i <= n; i++) { var minisum = 0; var j = i; ...
[["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 33], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 17, 109], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 12, 203]]
8
163
4
using System; using System.Collections.Generic; namespace cswork { class Program { public Program() {} Scanner cin; void Omame() { cin = new Scanner(); long n = cin.nextLong(); long a = cin.nextLong(); long b = cin.nextLong(); long ans = 0; for (int i = 1; i <= n; i++) { string ...
using System; using System.Collections.Generic; namespace cswork { class Program { public Program() {} Scanner cin; void Omame() { cin = new Scanner(); long n = cin.nextLong(); long a = cin.nextLong(); long b = cin.nextLong(); long ans = 0; for (int i = 1; i <= n; i++) { string ...
[["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 33], ["+", 0, 1, 0, 11, 12, 16, 12, 252, 0, 104], ["+", 0, 1, 0, 11, 12, 16, 12, 252, 0, 253]]
8
334
4