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.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using static Ha2ne2Util.Cin; using static Ha2ne2Util.Util; using static System.Console; using static System.Math; using System.Collections; using Pair = System.Tuple<long, long>; namespa...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using static Ha2ne2Util.Cin; using static Ha2ne2Util.Util; using static System.Console; using static System.Math; using System.Collections; using Pair = System.Tuple<long, long>; namespa...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18]]
8
5,574
6
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() { int[] cnt = new int[4]; for (int i = 0; i < N; i++) { cnt[A[i]]++; ...
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() { int[] cnt = new int[4]; for (int i = 0; i < N; i++) { cnt[A[i]]++; ...
[["+", 12, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 12, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
583
4
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.DP { class EDPC_K { public static void Main() { var nk = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); var a = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); i...
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.DP { class EDPC_K { public static void Main() { var nk = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); var a = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); i...
[["-", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203]]
8
202
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; ...
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; ...
[["+", 3, 4, 0, 28, 0, 16, 31, 23, 0, 24], ["+", 0, 28, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 28, 0, 16, 31, 23, 0, 16, 12, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 23, 0, 25], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 109], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
1,620
6
using System; using System.Collections.Generic; class Program { const int mod = 1000000007; static long[] dat; static int m = 1; static void Main() { int n = int.Parse(Console.ReadLine()); int[] h = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); int[] a = Array.ConvertAll(Console.ReadLine(...
using System; using System.Collections.Generic; class Program { const int mod = 1000000007; static long[] dat; static int m = 1; static void Main() { int n = int.Parse(Console.ReadLine()); int[] h = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); int[] a = Array.ConvertAll(Console.ReadLine(...
[["+", 0, 198, 0, 200, 0, 212, 0, 204, 205, 22], ["+", 0, 200, 0, 212, 0, 204, 206, 207, 0, 70], ["+", 0, 200, 0, 212, 0, 204, 206, 207, 0, 73]]
8
399
3
using System; using System.Collections.Generic; using System.Linq; using System.IO; using SB = System.Text.StringBuilder; // using System.Text.RegularExpressions; // using System.Globalization; // using System.Diagnostics; using static System.Console; using System.Numerics; using static System.Math; using pair = Pair<l...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using SB = System.Text.StringBuilder; // using System.Text.RegularExpressions; // using System.Globalization; // using System.Diagnostics; using static System.Console; using System.Numerics; using static System.Math; using pair = Pair<l...
[["-", 0, 200, 0, 212, 0, 16, 31, 74, 51, 250], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 51, 250], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]]
8
1,975
4
using System; using System.Collections.Generic; using System.Linq; using System.IO; using SB = System.Text.StringBuilder; // using System.Text.RegularExpressions; // using System.Globalization; // using System.Diagnostics; using static System.Console; using System.Numerics; using static System.Math; using pair = Pair<l...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using SB = System.Text.StringBuilder; // using System.Text.RegularExpressions; // using System.Globalization; // using System.Diagnostics; using static System.Console; using System.Numerics; using static System.Math; using pair = Pair<l...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22]]
8
1,253
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { var e = new mMat(N); for (int i = 0; i < N; i++) e.m[i][i] = 1; ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { var e = new mMat(N); for (int i = 0; i < N; i++) e.m[i][i] = 1; ...
[["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 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, 25]]
8
1,409
5
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.IO; using System.Text; using static util; using P = pair<int, int>; using Binary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.ParameterExpress...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.IO; using System.Text; using static util; using P = pair<int, int>; using Binary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.ParameterExpress...
[["-", 0, 28, 0, 218, 8, 16, 12, 16, 17, 48], ["-", 0, 28, 0, 218, 8, 16, 12, 16, 12, 22], ["-", 0, 200, 0, 212, 0, 230, 3, 4, 0, 21], ["-", 0, 230, 3, 4, 0, 28, 0, 241, 0, 33], ["-", 0, 230, 3, 4, 0, 28, 0, 241, 0, 22]]
8
3,099
5
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int a = sc.NextInt(); int b = sc.NextInt(); int c = sc.NextInt(); int answer = 0; if (a + b - 1 >= c) { answer = b + c; } else...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int a = sc.NextInt(); int b = sc.NextInt(); int c = sc.NextInt(); int answer = 0; if (a + b + 1 >= c) { answer = b + c; } else...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 72], ["-", 12, 23, 0, 16, 12, 23, 0, 16, 17, 33], ["+", 12, 23, 0, 16, 12, 23, 0, 16, 17, 72]]
8
412
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Diagnostics; class Myon { public Myon() {} public static int Main() { new Myon().calc(); return 0; } Scanner cin; void calc() { cin = new Scanner(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Diagnostics; class Myon { public Myon() {} public static int Main() { new Myon().calc(); return 0; } Scanner cin; void calc() { cin = new Scanner(); ...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203], ["-", 0, 57, 64, 1, 0, 11, 12, 16, 17, 72], ["-", 0, 57, 64, 1, 0, 11, 12, 16, 12, 203]]
8
560
4
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.IO; using System.Text; using static util; using P = pair<int, int>; using Binary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.ParameterExpress...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.IO; using System.Text; using static util; using P = pair<int, int>; using Binary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.ParameterExpress...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
2,032
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace A_PoisonousCookies { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int A = int.Parse(str[0]); int B = int.Parse(str[1]); int ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace A_PoisonousCookies { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int A = int.Parse(str[0]); int B = int.Parse(str[1]); int ...
[["+", 0, 57, 15, 16, 31, 16, 31, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 72]]
8
144
2
using System; class Program { static int Main(string[] args) { string N = Console.ReadLine(); int count = 0; foreach (char item in N) { if (item == '2') { count += 1; } } return count; } }
using System; class Program { static void Main(string[] args) { string N = Console.ReadLine(); int count = 0; foreach (char item in N) { if (item == '2') { count += 1; } } Console.WriteLine(count); } }
[["-", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 38], ["+", 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, 2...
8
58
8
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 Hello { static public int mod = 998244353; public static void Main() { // 方針 // int[] n = inta(); int c = 0; for (int...
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 Hello { static public int mod = 998244353; public static void Main() { // 方針 // int[] n = inta(); int c = 0; for (int...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
8
1,372
4
using System; using System.Collections.Generic; using System.IO; class Program { static long answer = 1; static void Main() { string[] Input = Console.ReadLine().Split(' '); long N = long.Parse(Input[0]); long P = long.Parse(Input[1]); long i = 2; long tmp = P; long count = 0; // ...
using System; using System.Collections.Generic; using System.IO; class Program { static long answer = 1; static void Main() { string[] Input = Console.ReadLine().Split(' '); long N = long.Parse(Input[0]); long P = long.Parse(Input[1]); long i = 2; long tmp = P; long count = 0; // ...
[["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 60], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 12, 203]]
8
169
8
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main() { long[] input = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); long n = input[0]; long p = input[1]; if (n == 1) { Console.WriteLine(p); return; } ...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main() { long[] input = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); long n = input[0]; long p = input[1]; if (n == 1) { Console.WriteLine(p); return; } ...
[["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 7, 8, 196, 0, 52, 0, 89], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 7, 8, 196, 0, 52, 15, 16, 17, 60], ["-", 0, 7, 8, 196, 0, 57, 64, 116, 0, 117], ["-", 0, 7, 8, 196, 0, 57, 64, 116, 0, 35], ["+", 0, 7, 8, 196, 0, 52, 8, 196, 0, 45], ["-", 0, 7, ...
8
231
10
using System; class c { static void Main() { var inp = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long ans = 0; if (inp[0] == 1) ans = inp[1]; else for (long i = 1; i <= Math.Pow(inp[1], 1.0 / inp[0]); i++) { if (inp[1] % (Math.Pow(i, inp[0])) == 0) ans = i...
using System; class c { static void Main() { var inp = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long ans = 0; if (inp[0] == 1) ans = inp[1]; else for (int i = 1; i <= Math.Pow(inp[1], 1.0 / inp[0]) + 1; i++) { if (inp[1] % Math.Pow(i, inp[0]) == 0) ans = ...
[["-", 8, 196, 0, 57, 75, 7, 10, 198, 39, 199], ["+", 8, 196, 0, 57, 75, 7, 10, 198, 39, 199], ["+", 0, 57, 75, 7, 15, 16, 12, 16, 17, 72], ["+", 0, 57, 75, 7, 15, 16, 12, 16, 12, 203], ["-", 0, 57, 15, 16, 31, 16, 12, 23, 0, 24], ["-", 31, 16, 12, 23, 0, 213, 3, 4, 0, 25]]
8
123
6
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { string[] s = Console.ReadLine().Split(); long n = long.Parse(s[0]); long p = long.Parse(s[1]); long m = (long)Math.Pow(p, 1.0 / n); for (; m >= 1; m--) { long m2 = (long)Math.Pow(m, n); ...
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { string[] s = Console.ReadLine().Split(); long n = long.Parse(s[0]); long p = long.Parse(s[1]); long m = (long)Math.Pow(p, 1.0 / n) + 1; for (; m >= 1; m--) { long m2 = (long)Math.Pow(m, n)...
[["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]]
8
130
2
using System; using System.Collections.Generic; using System.Text; namespace AtTest.Caddi2018 { class C { static void Main(string[] args) { Method(args); Console.ReadLine(); } static void Method(string[] args) { long[] np = ReadLongs(); if (np[0] == 1) { Console.WriteLine...
using System; using System.Collections.Generic; using System.Text; namespace AtTest.Caddi2018 { class C { static void Main(string[] args) { Method(args); Console.ReadLine(); } static void Method(string[] args) { long[] np = ReadLongs(); if (np[0] == 1) { Console.WriteLine...
[["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19]]
8
335
4
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static char[] abc = "abcdefghijklmnopqrstuvwxyz".ToCharArray(); static long mod = 1000000007; static void Main(string[] args) { var N = long.Parse(C...
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static char[] abc = "abcdefghijklmnopqrstuvwxyz".ToCharArray(); static long mod = 1000000007; static void Main(string[] args) { var N = long.Parse(C...
[["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]]
8
143
4
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 ProblemB { 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 ProblemB { static bool SAIKI = false; st...
[["-", 15, 16, 31, 16, 31, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 141, 22], ["-", 15, 16, 31, 16, 31, 213, 3, 4, 0, 25], ["+", 0, 28, 0, 218, 54, 219, 0, 220, 141, 22], ["+", 15, 213, 3, 4, 0, 28, 0, 218, 0, 221], ["+", 0, 28, 0, 218, 8, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 213, 3, 4, 0...
8
1,447
7
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(); long[] A = new long[N]; for (var i = 0; i < N; i++) { A[i] = long.Parse(str[i]); } long[,] D = new long[N, 1...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(); long[] A = new long[N]; for (var i = 0; i < N; i++) { A[i] = long.Parse(str[i]); } long[,] D = new long[N, 1...
[["-", 12, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 12, 16, 31, 204, 206, 207, 0, 28, 0, 203]]
8
976
2
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using static System.Math; namespace CSharpSpiral { class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = #if DEBUG ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using static System.Math; namespace CSharpSpiral { class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = #if DEBUG ...
[["-", 0, 223, 0, 204, 206, 207, 0, 28, 0, 22], ["-", 0, 1, 0, 223, 0, 204, 206, 207, 0, 73], ["-", 0, 210, 8, 196, 0, 1, 0, 223, 0, 68], ["-", 8, 196, 0, 210, 8, 196, 0, 1, 0, 35], ["-", 8, 196, 0, 1, 0, 223, 0, 204, 205, 22], ["-", 0, 1, 0, 223, 0, 204, 206, 207, 0, 70]]
8
1,216
6
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_B.Lib_IO; using static Contest_B.Lib_Minifunc; public static class Contest_B { 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_B.Lib_IO; using static Contest_B.Lib_Minifunc; public static class Contest_B { public static ...
[["-", 0, 7, 8, 196, 0, 52, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 52, 15, 16, 17, 19]]
8
4,344
2
using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Z { static void Main() => new K(); } class K { int[] G => ReadLine().Split().Select(int.Parse).ToArray(); public K() { var N = G[0]; var A = G; WriteLine(FirstBinary(1, N, p => Check(A, p))); } in...
using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Z { static void Main() => new K(); } class K { int[] G => ReadLine().Split().Select(int.Parse).ToArray(); public K() { var N = G[0]; var A = G; WriteLine(FirstBinary(1, N, p => Check(A, p))); } in...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]]
8
726
4
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using static System.Console; using static System.Math; class Z { static void Main() => new K(); } class K { int F => int.Parse(Str); ...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using static System.Console; using static System.Math; class Z { static void Main() => new K(); } class K { int F => int.Parse(Str); ...
[["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22]]
8
386
2
// デバッグ実行:Ctrl+F5 using System; using System.Collections.Generic; class Program { static void Main(string[] args) { String line; line = Console.ReadLine(); String[] words = line.Split(' '); int H = int.Parse(words[0]); int W = int.Parse(words[1]); int N = int.Parse(words[2]); int MAX = W;...
// デバッグ実行:Ctrl+F5 using System; using System.Collections.Generic; class Program { static void Main(string[] args) { String line; line = Console.ReadLine(); String[] words = line.Split(' '); int H = int.Parse(words[0]); // Xの最大値 int W = int.Parse(words[1]); // Yの最大値 int N = int.Parse(words[2])...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 22], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22]]
8
378
6
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC029E { class Program { const int maxN = 200003; static int[] ans = new int[maxN]; static List<int>[] vec = new List<int>[maxN]; static void Main(string[] args) { int N = int.Par...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AGC029E { class Program { const int maxN = 200003; static int[] ans = new int[maxN]; static List<int>[] vec = new List<int>[maxN]; static void Main(string[] args) { int N = int.Par...
[["-", 0, 28, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 22]]
8
483
2
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { int n = cin.ReadInt(); var ans = "Christmas"; Console.WriteLine(ans + Enumerable.Repeat("Eve"...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { int n = cin.ReadInt(); var ans = "Christmas"; Console.WriteLine(ans + Enumerable.Repeat(" Eve...
[["-", 205, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 205, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 12, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["-", 12, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
2,661
5
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } publ...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } publ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
579
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int d; string s = "Christmas "; d = int.Parse(Console.ReadLine()); if (d == 25) Console.WriteLine(s); i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int d; string s = "Christmas "; d = int.Parse(Console.ReadLine()); if (d == 25) Console.WriteLine(s); i...
[["-", 0, 28, 0, 16, 12, 23, 0, 5, 0, 222], ["+", 0, 28, 0, 16, 12, 23, 0, 5, 0, 222]]
8
145
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC { class Program { static void Main(string[] args) { int D; D = int.Parse(Console.ReadLine()); string s = "Crisutmas"; for (int i = 0; i < 25 - D; i++) { s += " Eve";...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC { class Program { static void Main(string[] args) { int D; D = int.Parse(Console.ReadLine()); string s = "Christmas"; for (int i = 0; i < 25 - D; i++) { s += " Eve";...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222]]
8
106
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int D; string s = "Christmas"; D = int.Parse(Console.ReadLine()); for (int I = 0; I < 25 - D; I++) ; { s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int D; string s = "Christmas "; D = int.Parse(Console.ReadLine()); for (int I = 0; I < 25 - D; I++) { s ...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 0, 195, 8, 196, 0, 7, 8, 260, 0, 35], ["-", 0, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
107
5
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int D; var word = Console.ReadLine().Split(' '); D = int.Parse(word[0]); if (D == 22) { Console.WriteLine("...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115 { class Program { static void Main(string[] args) { int D; var word = Console.ReadLine().Split(' '); D = int.Parse(word[0]); if (D == 22) { Console.WriteLine("...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
154
8
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC_115A { class Program { static void Main(string[] args) { int D; D = int.Parse(Console.ReadLine()); if (D == 25) { Console.WriteLine("christmas"); } else if (D...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC_115A { class Program { static void Main(string[] args) { int D; D = int.Parse(Console.ReadLine()); if (D == 25) { Console.WriteLine("Christmas"); } else if (D...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
139
8
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115A { class Program { static void Main(string[] args) { int D = int.Parse(Console.ReadLine()); if (D == 25) Console.WriteLine("christmas"); else if (D == 24) Conso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115A { class Program { static void Main(string[] args) { int D = int.Parse(Console.ReadLine()); if (D == 25) Console.WriteLine("Christmas"); else if (D == 24) Conso...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
129
8
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115A2 { class Program { static void Main(string[] args) { String D; D = Console.ReadLine(); if (D == "22") Console.WriteLine("Christmas Eve Eve Eve"); else if (D =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC115A2 { class Program { static void Main(string[] args) { String D; D = Console.ReadLine(); if (D == "22") Console.WriteLine("Christmas Eve Eve Eve"); else if (D =...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
134
6
using System; class Plogram { static void Main() { var day = int.Parse(Console.ReadLine()); string D = "Chrismas"; if (day == 24) { D = "Chrismas Eve"; } else if (day == 23) { D = "Chrismas Eve Eve"; } else if (day == 22) { D = "Chrismas Eve Eve Eve"; } Console.WriteLi...
using System; class Plogram { static void Main() { var day = int.Parse(Console.ReadLine()); string D = "Christmas"; if (day == 24) { D = "Christmas Eve"; } else if (day == 23) { D = "Christmas Eve Eve"; } else if (day == 22) { D = "Christmas Eve Eve Eve"; } Console.Wri...
[["-", 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
86
8
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...
[["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]]
8
101
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { int D = Convert.ToInt32(Console.ReadLine()); int eve = 25 - D; Console.Write("Christmas"); for (; 0 < ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { int D = Convert.ToInt32(Console.ReadLine()); int eve = 25 - D; Console.Write("Christmas"); for (; 0 < ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
97
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sample201 { class Program { static void Main(string[] args) { long a; a = long.Parse(Console.ReadLine()) + 20; switch (a) { case 25: Console.WriteLine("Christmas"); ...
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) { long a; a = long.Parse(Console.ReadLine()); switch (a) { case 25: Console.WriteLine("Christmas"); brea...
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 203]]
8
126
4
using System; namespace Practice { class Program { static void Main(string[] args) { int D = int.Parse(Console.ReadLine()); if (D == 25) { Console.Write("Christmas"); } if (D == 24) { Console.Write("Christmas Eve"); } if (D == 23) { Console.Write("Christmas Eve Eve"); }...
using System; namespace Practice { class Program { static void Main(string[] args) { int D = int.Parse(Console.ReadLine()); if (D == 25) { Console.Write("Christmas"); } if (D == 24) { Console.Write("Christmas Eve"); } if (D == 23) { Console.Write("Christmas Eve Eve"); }...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203]]
8
104
2
using System; namespace a { class b { static void Main(string[] args) { string write = Console.ReadLine(); if (write == "23") { Console.WriteLine("Christmas Eve Eve Eve"); } else if (write == "23") { Console.WriteLine("Christmas Eve Eve"); } else if (write == "24") { Console.WriteLin...
using System; namespace a { class b { static void Main(string[] args) { string write = Console.ReadLine(); if (write == "22") { Console.WriteLine("Christmas Eve Eve Eve"); } else if (write == "23") { Console.WriteLine("Christmas Eve Eve"); } else if (write == "24") { Console.WriteLin...
[["-", 8, 196, 0, 57, 15, 16, 12, 5, 0, 222], ["+", 8, 196, 0, 57, 15, 16, 12, 5, 0, 222]]
8
110
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass { public const long Giri = 1000000007; public const long DpInf = 99999999999999; public static void Main(string[] args) { var n = Console.ReadLine().ToInt(); var k = new int[n]; for (int i = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass { public const long Giri = 1000000007; public const long DpInf = 99999999999999; public static void Main(string[] args) { var n = Console.ReadLine().ToInt(); var k = new int[n]; for (int i = ...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95]]
8
357
1
using System; using System.IO; using System.Linq; using static ABC115B.Input; namespace ABC115B { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
using System; using System.IO; using System.Linq; using static ABC115B.Input; namespace ABC115B { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
[["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21]]
8
1,411
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { public Program() {} Scanner cin; void myon() { cin = new Scanner(); int N = cin.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = cin.nex...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { public Program() {} Scanner cin; void myon() { cin = new Scanner(); int N = cin.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = cin.nex...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33]]
8
347
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B_Christmas_Eve_Eve { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int[] P = new int[N]; for (int i = 0; i < N; i++) { P[i] = int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B_Christmas_Eve_Eve { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int[] P = new int[N]; for (int i = 0; i < N; i++) { P[i] = int...
[["-", 8, 196, 0, 57, 15, 16, 31, 204, 205, 22], ["-", 0, 57, 15, 16, 31, 204, 206, 207, 0, 70], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 31, 22], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["-", 0, 57, 15, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 7, 8, 196, 0, 57, 15,...
8
178
7
using System; using System.Collections; namespace a { class b { static void Main(string[] args) { ArrayList al = new ArrayList(); int cntrow = int.Parse(Console.ReadLine()); for (int cnt = 1; cnt <= cntrow; cnt++) { al.Add(Console.ReadLine()); } al.Sort(); int sum = 0; for (int i =...
using System; using System.Collections; namespace a { class c { static void Main(string[] args) { ArrayList al = new ArrayList(); int cntrow = int.Parse(Console.ReadLine()); for (int cnt = 1; cnt <= cntrow; cnt++) { al.Add(int.Parse(Console.ReadLine())); } al.Sort(); int sum = 0; f...
[["-", 0, 208, 0, 209, 8, 201, 0, 235, 141, 22], ["+", 0, 208, 0, 209, 8, 201, 0, 235, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 199], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 0, 131], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]]
8
154
7
using System; using System.Collections.Generic; class test { static void Main() { int n = Int32.Parse(Console.ReadLine()); List<int> inputs = new List<int>(); for (int i = 0; i < n; i++) inputs.Add(Int32.Parse(Console.ReadLine())); int max_index = 0; for (int i = 1; i < n; i++) if (i...
using System; using System.Collections.Generic; class test { static void Main() { int n = Int32.Parse(Console.ReadLine()); List<int> inputs = new List<int>(); for (int i = 0; i < n; i++) inputs.Add(Int32.Parse(Console.ReadLine())); int max_index = 0; for (int i = 1; i < n; i++) if (i...
[["-", 8, 196, 0, 7, 8, 57, 15, 16, 17, 60], ["+", 8, 196, 0, 7, 8, 57, 15, 16, 17, 79]]
8
172
2
using System; using System.Linq; using System.Collections.Generic; using static System.Console; using System.Text; using System.IO; using static System.Math; namespace AtCoder { class Program { static public long[] Sarray() { return ReadLine().Split().Select(long.Parse).ToArray(); } static public List<long> S...
using System; using System.Linq; using System.Collections.Generic; using static System.Console; using System.Text; using System.IO; using static System.Math; namespace AtCoder { class Program { static public long[] Sarray() { return ReadLine().Split().Select(long.Parse).ToArray(); } static public List<long> S...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 203], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 22]]
8
244
4
using System; class C { static void Main() { int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); int N = Ar[0], K = Ar[1]; long[] Tree = new long[N]; for (int i = 0; i < N; i++) { // 木を取得 Tree[i] = int.Parse(Console.ReadLine()); } Array.Sort(Tree); long ans = 9999...
using System; class C { static void Main() { int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); int N = Ar[0], K = Ar[1]; long[] Tree = new long[N]; for (int i = 0; i < N; i++) { // 木を取得 Tree[i] = int.Parse(Console.ReadLine()); } Array.Sort(Tree); long ans = 9999...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
160
2
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.C { static class Program { public static void Solve(Scanner cin) { var (n, k) = cin.ReadValue<int, int>(); var h = cin.ReadIntArray(n); int ans = int.MaxValue; ...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.C { static class Program { public static void Solve(Scanner cin) { var (n, k) = cin.ReadValue<int, int>(); var h = cin.ReadIntArray(n); int ans = int.MaxValue; ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
2,705
2
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } publ...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } publ...
[["-", 206, 207, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 206, 207, 0, 28, 0, 16, 31, 16, 17, 33], ["-", 206, 207, 0, 28, 0, 16, 31, 16, 12, 22], ["+", 206, 207, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 206, 207, 0, 28, 0, 16, 31, 16, 12, 22], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33]]
8
630
6
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 k = sc.NextInt(); int[] h = new int[n]; for (int i = 0; i < n; i++) { h[i] = sc.NextInt(); } h = h.O...
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 k = sc.NextInt(); int[] h = new int[n]; for (int i = 0; i < n; i++) { h[i] = sc.NextInt(); } h = h.O...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]]
8
460
2
using System; using System.IO; using System.Linq; using static ABC115C.Input; namespace ABC115C { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
using System; using System.IO; using System.Linq; using static ABC115C.Input; namespace ABC115C { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
[["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 200, 0, 212, 0, 16, 12, 204, 205, 22], ["+", 0, 212, 0, 16, 12, 204, 206, 207, 0, 70], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 212, 0, 16, 12, 204, 206, 207, 0, 73], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, ...
8
1,466
7
using System; using System.Linq; using System.Text; class Program { static void Main(string[] args) { // 入力 long[] nk = Console.ReadLine().Split().Select(long.Parse).ToArray(); var n = nk[0]; var k = nk[1]; long[] h = new long[n]; for (int i = 0; i < n; i++) { h[i] = long.Parse(Consol...
using System; using System.Linq; using System.Text; class Program { static void Main(string[] args) { // 入力 long[] nk = Console.ReadLine().Split().Select(long.Parse).ToArray(); var n = nk[0]; var k = nk[1]; long[] h = new long[n]; for (int i = 0; i < n; i++) { h[i] = long.Parse(Consol...
[["+", 0, 7, 15, 16, 12, 16, 12, 23, 0, 24], ["+", 0, 7, 15, 16, 12, 16, 12, 23, 0, 25], ["+", 206, 207, 0, 28, 0, 16, 12, 23, 0, 24], ["+", 206, 207, 0, 28, 0, 16, 12, 23, 0, 25]]
8
178
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, ' ')); r...
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, ' ')); r...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
560
2
using System; using System.Linq; using static System.Console; using static MyUtil; class MyUtil { public static int[] ReadIntArray() { return ReadLine().Split().Select(x => int.Parse(x)).ToArray(); } } class Program { public static void Main() { var t = ReadIntArray(); int n = t[0], k = t[1]; va...
using System; using System.Linq; using static System.Console; using static MyUtil; class MyUtil { public static int[] ReadIntArray() { return ReadLine().Split().Select(x => int.Parse(x)).ToArray(); } } class Program { public static void Main() { var t = ReadIntArray(); int n = t[0], k = t[1]; va...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
200
2
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 firstLine = Console.ReadLine().Split(' '); var N = int.Parse(firstLine[0]); var K = int.Parse(firstLine[1]); L...
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 firstLine = Console.ReadLine().Split(' '); var N = int.Parse(firstLine[0]); var K = int.Parse(firstLine[1]); L...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]]
8
225
2
using System; using System.Linq; namespace CSharp { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); var N = input[0]; var K = input[1]; var H = new int[N]; for (var i = 0; i < N; i++) { H[i] = Console.ReadLine().Split(...
using System; using System.Linq; namespace CSharp { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); var N = input[0]; var K = input[1]; var H = new int[N]; for (var i = 0; i < N; i++) { H[i] = Console.ReadLine().Split(...
[["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32]]
8
191
2
using System; using System.Collections.Generic; using System.Linq; namespace Christmas_Eve { class Program { static void Main(string[] args) { var nk = Console.ReadLine().Split().Select(int.Parse); int n = nk.ElementAt(0); int k = nk.ElementAt(1); var list = new List<int>(); for (int i = 0; i < n...
using System; using System.Collections.Generic; using System.Linq; namespace Christmas_Eve { class Program { static void Main(string[] args) { var nk = Console.ReadLine().Split().Select(int.Parse); int n = nk.ElementAt(0); int k = nk.ElementAt(1); var list = new List<int>(); 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
188
2
using System; using System.Collections.Generic; using System.Linq; class Program { public static void Main(string[] args) { int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray(); int n = s[0]; int k = s[1]; List<int> h = new List<int>(); for (int i = 0; i < n; i++) h.Add(int.Pars...
using System; using System.Collections.Generic; using System.Linq; class Program { public static void Main(string[] args) { int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray(); int n = s[0]; int k = s[1]; List<int> h = new List<int>(); for (int i = 0; i < n; i++) h.Add(int.Pars...
[["+", 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
186
6
using System; using System.Linq; namespace C_Christmas_Eve { public class Program { public static void Main(string[] args) { var raw_input = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = raw_input[0]; int K = raw_input[1]; var h = Enumerable.Range(0, N) .Select(x => ...
using System; using System.Linq; namespace C_Christmas_Eve { public class Program { public static void Main(string[] args) { var raw_input = Console.ReadLine().Split().Select(int.Parse).ToArray(); int N = raw_input[0]; int K = raw_input[1]; var h = Enumerable.Range(0, N) .Select(x => ...
[["-", 205, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 205, 213, 3, 4, 0, 28, 0, 16, 17, 72]]
8
164
2
using System; class Sample { public static void Main() { String[] temp = System.Console.ReadLine().Split(' '); int treeNum = int.Parse(temp[0]); int choiceTreeNum = int.Parse(temp[1]); int[] treeHigh = new int[treeNum]; for (int i = 0; i < treeNum; i++) { treeHigh[i] = int.Parse(System.Cons...
using System; class Sample { public static void Main() { String[] temp = System.Console.ReadLine().Split(' '); int treeNum = int.Parse(temp[0]); int choiceTreeNum = int.Parse(temp[1]); int[] treeHigh = new int[treeNum]; for (int i = 0; i < treeNum; i++) { treeHigh[i] = int.Parse(System.Cons...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
170
2
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static Extension; class AC { /*------------------------------------------------------------------*/ int N, K; int[] h; voi...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static Extension; class AC { /*------------------------------------------------------------------*/ int N, K; int[] h; voi...
[["+", 0, 11, 12, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 21]]
8
2,117
2
using System; using System.Collections.Generic; class test { static void Main() { string[] inputs = Console.ReadLine().Split(' '); int N = Int32.Parse(inputs[0]); int K = Int32.Parse(inputs[1]); List<int> h = new List<int>(); for (int count = 0; count < N; count++) h.Add(Int32.Parse(Console...
using System; using System.Collections.Generic; class test { static void Main() { string[] inputs = Console.ReadLine().Split(' '); int N = Int32.Parse(inputs[0]); int K = Int32.Parse(inputs[1]); List<int> h = new List<int>(); for (int count = 0; count < N; count++) h.Add(Int32.Parse(Console...
[["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72]]
8
185
2
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Remoting; using System.Runtime.Remoting.Contexts; using System.Text; using System.Threading; using System.Xml.Schema; namespace Contest { class Scanner {...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Remoting; using System.Runtime.Remoting.Contexts; using System.Text; using System.Threading; using System.Xml.Schema; namespace Contest { class Scanner {...
[["-", 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
516
4
using System; using System.Collections.Generic; using System.Linq; class P { static void Main() { string[] s = Console.ReadLine().Split(); int n = int.Parse(s[0]); int k = int.Parse(s[1]); int[] h = new int[n]; for (int i = 0; i < n; i++) h[i] = int.Parse(Console.ReadLine()); Array.Sort(...
using System; using System.Collections.Generic; using System.Linq; class P { static void Main() { string[] s = Console.ReadLine().Split(); int n = int.Parse(s[0]); int k = int.Parse(s[1]); int[] h = new int[n]; for (int i = 0; i < n; i++) h[i] = int.Parse(Console.ReadLine()); Array.Sort(...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
175
2
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder2 { class Program { static void Main(string[] args) { //出力の都度更新をやめる var sw = new StreamWriter(Console.OpenStandardOutput()) ...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder2 { class Program { static void Main(string[] args) { //出力の都度更新をやめる var sw = new StreamWriter(Console.OpenStandardOutput()) ...
[["-", 0, 52, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 20]]
8
511
2
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["+", 75, 57, 64, 37, 0, 16, 31, 16, 12, 203], ["+", 75, 57, 75, 57, 64, 37, 0, 16, 17, 72]]
8
635
2
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 Atcoder { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; public readon...
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 Atcoder { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; public readon...
[["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
12,001
2
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; public static void Main() { // 方針 // var s = stra(); int a = int.Parse(s[0]);...
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; public static void Main() { // 方針 // var s = stra(); int a = int.Parse(s[0]);...
[["-", 75, 57, 75, 57, 15, 16, 12, 16, 17, 18], ["+", 75, 57, 75, 57, 15, 16, 12, 16, 17, 19], ["+", 75, 57, 64, 196, 0, 37, 0, 16, 17, 72], ["+", 75, 57, 64, 196, 0, 37, 0, 16, 12, 203]]
8
1,401
4
using System; class D { static void Main() { var h = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long n = h[0], x = h[1]; var p = new long[n + 1]; p[0] = 1; var c = new long[n + 1]; c[0] = 1; for (int i = 0; i < n; i++) { p[i + 1] = 2 * p[i] + 1; c[i + 1] = 2 * ...
using System; class D { static void Main() { var h = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long n = h[0], x = h[1]; var p = new long[n + 1]; p[0] = 1; var c = new long[n + 1]; c[0] = 1; for (int i = 0; i < n; i++) { p[i + 1] = 2 * p[i] + 1; c[i + 1] = 2 * ...
[["+", 8, 196, 0, 37, 0, 41, 15, 16, 31, 22], ["+", 8, 196, 0, 37, 0, 41, 15, 16, 17, 60], ["+", 8, 196, 0, 37, 0, 41, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 37, 0, 41, 0, 101], ["+", 0, 195, 8, 196, 0, 37, 0, 41, 64, 203], ["+", 0, 195, 8, 196, 0, 37, 0, 41, 0, 102]]
8
271
6
using System; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Convert; using static System.Math; // using Debug; // using static System.Globalization.CultureInfo; // using Edge = Pair<long, int>; using System.Text; class Program { static void Main...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Convert; using static System.Math; // using Debug; // using static System.Globalization.CultureInfo; // using Edge = Pair<long, int>; using System.Text; class Program { static void Main...
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 60], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 20]]
8
933
2
using System; namespace question4 { class Program2 { static void Main(string[] args) { var p = new Program2(); p.Run(); } private long[] ai; private long[] pi; void Run() { var line = Console.ReadLine(); var n = int.Parse(line.Split(' ')[0]); var x = long.Parse(line.Split(' ')[1]); ...
using System; namespace question4 { class Program2 { static void Main(string[] args) { var p = new Program2(); p.Run(); } private long[] ai; private long[] pi; void Run() { var line = Console.ReadLine(); var n = int.Parse(line.Split(' ')[0]); var x = long.Parse(line.Split(' ')[1]); ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 64, 196, 0, 37, 0, 41, 15, 16, 31, 22], ["+", 64, 196, 0, 37, 0, 41, 15, 16, 31, 22], ["-", 64, 196, 0, 37, 0, 41, 15, 16, 12, 203], ["+", 64, 196, 0, 37, 0, 41, 15, 16, 12, 203]]
8
346
6
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const int MOD = 1000000007; private static List<long> ps = null; static void Solve() { var nk = ReadAndParseLongArr(); long n =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const int MOD = 1000000007; private static List<long> ps = null; static void Solve() { var nk = ReadAndParseLongArr(); long n =...
[["-", 3, 4, 0, 28, 0, 16, 31, 213, 63, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 213, 63, 22]]
8
663
2
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; // using static System.Linq.Enumerable; using static System.Console; using static AtCoder.Util; using static AtCoder.Cin; using static System.Math; using static AtCoder.MyMath; using stati...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; // using static System.Linq.Enumerable; using static System.Console; using static AtCoder.Util; using static AtCoder.Cin; using static System.Math; using static AtCoder.MyMath; using stati...
[["+", 0, 287, 0, 196, 0, 37, 0, 16, 17, 72], ["+", 0, 287, 0, 196, 0, 37, 0, 16, 12, 203]]
8
4,634
2
using System; using static System.Console; namespace Main { class Program { static void Main(string[] args) { int X = int.Parse(ReadLine()); WriteLine(X == 7 || X == 5 || X == 3 ? "Yes" : "No"); } } }
using System; using static System.Console; namespace Main { class Program { static void Main(string[] args) { int X = int.Parse(ReadLine()); WriteLine(X == 7 || X == 5 || X == 3 ? "YES" : "NO"); } } }
[["-", 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
63
4
using System; using System.IO; using System.Linq; using static ABC114A.Input; namespace ABC114A { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
using System; using System.IO; using System.Linq; using static ABC114A.Input; namespace ABC114A { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = typeof(T); if (t == typeof(string)...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
1,417
4
using System; class ac { static void Main() { int s = int.Parse(Console.ReadLine()); if (s == 3 || s == 5 || s == 7) Console.WriteLine("Yes"); else Console.WriteLine("No"); } }
using System; class ac { static void Main() { int s = int.Parse(Console.ReadLine()); if (s == 3 || s == 5 || s == 7) 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
61
4
using System; public class HelloWorld { static public void Main() { var num = int.Parse(Console.ReadLine()); if (num == 7 || num == 5 || num == 3) { Console.WriteLine("NO"); } else { Console.WriteLine("YES"); } } }
using System; public class HelloWorld { static public void Main() { var num = int.Parse(Console.ReadLine()); if (num == 7 || num == 5 || num == 3) { 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
67
4
using System; namespace test { class Program { static void Main(string[] args) { string b = Console.ReadLine(); int A = int.Parse(b); string an; if (A == 3 || A == 5 || A == 7) { an = "Yes"; } else { an = "No"; } Console.Write(an); } } }
using System; namespace test { class Program { static void Main(string[] args) { string b = Console.ReadLine(); int A = int.Parse(b); string an; if (A == 3 || A == 5 || A == 7) { an = "YES"; } else { an = "NO"; } Console.Write(an); } } }
[["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
82
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int a; a = int.Parse(Console.ReadLine()); if (a == 3 || a == 5 || a == 7) Console.WriteLine("Yes"); else ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int a; a = int.Parse(Console.ReadLine()); if (a == 3 || a == 5 || a == 7) Console.WriteLine("YES"); else ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
101
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int x = int.Parse(Console.ReadLine()); if (x == 7 || x == 5 || x == 3) Console.WriteLine("Yes"); else Conso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int x; x = int.Parse(Console.ReadLine()); if (x == 7 || x == 3 || x == 5) Console.WriteLine("YES"); else ...
[["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222],...
8
99
10
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int X; string b; var word = Console.ReadLine().Split(' '); X = int.Parse(word[0]); if (X == 3 || X == 5 || X ==...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int X; string b; var word = Console.ReadLine().Split(' '); X = int.Parse(word[0]); if (X == 3 || X == 5 || X =...
[["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
124
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int x = int.Parse(Console.ReadLine()); if ((x == 3) || (x == 5) || (x == 7)) Console.WriteLine("Yes"); else ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int x = int.Parse(Console.ReadLine()); if ((x == 3) || (x == 5) || (x == 7)) Console.WriteLine("YES"); else ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
105
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int a; var word = Console.ReadLine(); a = int.Parse(word); if (((a > 2 && a < 3) || (a > 4 && a < 6) || (a > 6 && a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC114A { class Program { static void Main(string[] args) { int a; var word = Console.ReadLine(); a = int.Parse(word); if (((a > 2 && a < 4) || (a > 4 && a < 6) || (a > 6 && a...
[["-", 31, 16, 31, 23, 0, 16, 12, 16, 12, 203], ["+", 31, 16, 31, 23, 0, 16, 12, 16, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
128
4
using System; namespace ABC114_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int a = int.Parse(array[0]); if ((a == 3) || (a == 5) || (a == 7)) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
using System; namespace ABC114_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int a = int.Parse(array[0]); if ((a == 3) || (a == 5) || (a == 7)) { 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
96
4
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using static ABC114.Util; using static System.Console; #if DEBUG using System.Diagnostics; #endif namespace ABC114 { class Program { static void Main(string[] args) { START: S...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using static ABC114.Util; using static System.Console; #if DEBUG using System.Diagnostics; #endif namespace ABC114 { class Program { static void Main(string[] args) { START: S...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
2,346
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder08 { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); if (a == 3 || a == 5 || a == 7) { Console.WriteLine("yes"); } else ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder08 { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); if (a == 3 || a == 5 || a == 7) { Console.WriteLine("YES"); } else ...
[["-", 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; using System.Collections.Generic; using System.Text; public class A { public static void Main() { int X = Int32.Parse(Console.ReadLine()); string ans = null; switch (X) { case 7: case 5: case 3: ans = "YES"; break; default: ans = ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; public class A { public static void Main() { int X = Int32.Parse(Console.ReadLine()); string ans = null; switch (X) { case 7: case 5: case 3: ans = "YES"; break; default: ans = ...
[["-", 0, 239, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 0, 239, 0, 1, 0, 11, 12, 5, 0, 222]]
8
92
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace AtCoder { class Program { static void Main() { //ここから int x = ReadLineToInt(); string ans = x == 3 || x == 5 || x == 7 ? "Yes" : "No"; Console.WriteLi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace AtCoder { class Program { static void Main() { //ここから int x = ReadLineToInt(); string ans = x == 3 || x == 5 || x == 7 ? "YES" : "NO"; Console.WriteLi...
[["-", 0, 200, 0, 212, 0, 41, 64, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 41, 64, 5, 0, 222], ["-", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222]]
8
433
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, ' ')); } ...
[["-", 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
467
4
using System; using System.IO; using System.Linq; using System.Collections.Generic; namespace AtCoder { class Program { static void Main(string[] args) { int x = int.Parse(Console.ReadLine()); if (x == 7 || x == 5 || x == 3) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); ...
using System; using System.IO; using System.Linq; using System.Collections.Generic; namespace AtCoder { class Program { static void Main(string[] args) { int x = int.Parse(Console.ReadLine()); if (x == 7 || x == 5 || x == 3) { 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
90
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { int imp = Convert.ToInt32(Console.ReadLine()); switch (imp) { case 7: case 5: case 3: Co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { int imp = Convert.ToInt32(Console.ReadLine()); switch (imp) { case 7: case 5: case 3: Co...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
99
4
using System; class Program { static void Main() { int x; x = int.Parse(Console.ReadLine()); //標準入力 // string[] str = Console.ReadLine().Split(' // ');//2つ以上のスペース区切り入力の取得 b = int.Parse(str[0]); // //数値で受け取りたい場合は変換する c = int.Parse(str[1]); if (x == 3 | x == 5 | x == 7) { Console.Write("Ye...
using System; class Program { static void Main() { int x; x = int.Parse(Console.ReadLine()); //標準入力 // string[] str = Console.ReadLine().Split(' // ');//2つ以上のスペース区切り入力の取得 b = int.Parse(str[0]); // //数値で受け取りたい場合は変換する c = int.Parse(str[1]); if (x == 3 || x == 5 || x == 7) { Console.Write("...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 139], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 106], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 139], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
75
8
using System; class Program { static void Main(string[] args) { var str = Console.ReadLine(); if (str == "3" && str == "5" && str == "7") { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } }
using System; class Program { static void Main(string[] args) { var str = Console.ReadLine(); if (str == "3" || str == "5" || str == "7") { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } }
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 106], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106]]
8
70
4
using System; class Program { static void Main(String[] args) { int b = int.Parse(Console.ReadLine()); if (b == 7 || b == 5 || b == 3) { Console.WriteLine("YES"); } else { Console.WriteLine("No"); } } }
using System; class Program { static void Main(String[] args) { int b = int.Parse(Console.ReadLine()); if (b == 7 || b == 5 || b == 3) { 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
69
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_ABC089_A { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); bool answer = a == 7 || a == 5 || a == 3; Console.WriteLine(answer ? ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_ABC089_A { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); bool answer = a == 7 || a == 5 || a == 3; Console.WriteLine(answer ? ...
[["-", 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
90
4