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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atc_0033 {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
int result = int.MaxValue;
for (int i = 0; i < s.Length - 3; i++) {
var t = s.Subs... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atc_0033 {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
int result = int.MaxValue;
for (int i = 0; i < s.Length - 2; i++) {
var t = s.Subs... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 130 | 2 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace AtCoder.Contest.B {
static class Program {
public static void Solve(Scanner cin) {
var s = cin.ReadString();
var ans = int.MaxValue;
for (int i = 0; i < s.Length - 3; i++) {
... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace AtCoder.Contest.B {
static class Program {
public static void Solve(Scanner cin) {
var s = cin.ReadString();
var ans = int.MaxValue;
for (int i = 0; i < s.Length - 2; i++) {
... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 2,607 | 2 |
// A Dynamic Programming based
// C# program to find minimum
// number operations to
// convert str1 to str2
using System;
using System.Collections.Generic;
using System.Linq;
class GFG {
static Dictionary<int, int> ans = new Dictionary<int, int>();
public static void Main() {
var intput = Console.ReadLine();
... | // A Dynamic Programming based
// C# program to find minimum
// number operations to
// convert str1 to str2
using System;
using System.Collections.Generic;
using System.Linq;
class GFG {
static Dictionary<int, int> ans = new Dictionary<int, int>();
public static void Main() {
var intput = Console.ReadLine();
... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 148 | 2 |
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 s = cin.next();
var ans = int.MaxValue;
for ... | 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 s = cin.next();
var ans = int.MaxValue;
for ... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["-", 0, 11, 12, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 11, 12, 204, 206, 207, 0, 28, 0, 22], ["-", 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, 33], ["+... | 8 | 637 | 8 |
namespace AtCoder {
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static Util;
class AtCoder {
/*------------------------------------------------------------------*/
private int N;
private int[] ... | namespace AtCoder {
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static Util;
class AtCoder {
/*------------------------------------------------------------------*/
private int N;
private int[] ... | [["-", 0, 52, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 52, 8, 196, 0, 57, 75, 196, 0, 45], ["-", 0, 52, 8, 196, 0, 57, 75, 196, 0, 46]] | 8 | 2,693 | 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... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 955 | 2 |
using System;
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, ' '));
}
public void Solve(ConsoleInput cin) {... | using System;
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, ' '));
}
public void Solve(ConsoleInput cin) {... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 205, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 0, 131], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 538 | 6 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC114 {
class Program {
public static void Main(string[] args) {
string S = Console.ReadLine();
List<int> l = new List<int>();
for (int i = 0; i < S.Length - 3; i++) {
l.Add(Math.Abs(int.P... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC114 {
class Program {
public static void Main(string[] args) {
string S = Console.ReadLine();
List<int> l = new List<int>();
for (int i = 0; i < S.Length - 2; i++) {
l.Add(Math.Abs(int.P... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 134 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BC114 {
class Program {
static void Main(string[] args) {
var obj = new Q1();
obj.Solver();
}
}
class Q1 {
public void Solver() {
long amswer = 753;
var s = Console.ReadL... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BC114 {
class Program {
static void Main(string[] args) {
var obj = new Q1();
obj.Solver();
}
}
class Q1 {
public void Solver() {
long amswer = 753;
var s = Console.ReadL... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 191 | 2 |
// Undone
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
public class Program {
public static void Main() {
string S = Console.ReadLine();
int min = int.MaxValue;
for (int i = 0; i < S.Length - 3; i++) {
min = Math.Min(min, Math.Abs(753 - int.Parse(S.Sub... | // Undone
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
public class Program {
public static void Main() {
string S = Console.ReadLine();
int min = int.MaxValue;
for (int i = 0; i < S.Length - 2; i++) {
min = Math.Min(min, Math.Abs(753 - int.Parse(S.Sub... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 335 | 2 |
using System;
using System.Linq;
class A {
static void Main() {
string str = Console.ReadLine();
int min = 34753;
for (int i = 0; i < str.Length - 3; i++) {
int u = int.Parse(str.Substring(i, 3));
min = Math.Min(min, Math.Abs(u - 753));
}
Console.WriteLine(min);
}
} | using System;
using System.Linq;
class A {
static void Main() {
string str = Console.ReadLine();
int min = 34753;
for (int i = 0; i < str.Length - 3 + 1; i++) {
int u = int.Parse(str.Substring(i, 3));
min = Math.Min(min, Math.Abs(u - 753));
}
Console.WriteLine(min);
}
}
| [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 95 | 2 |
using System;
using System.Collections;
namespace Bcs {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
var min_ = 1000;
for (int i = 0; i < s.Length - 2; ++i) {
var x = int.Parse(s.Substring(i - 2, 3));
min_ = Math.Min(min_, Math.Abs(x - 753));
}
Cons... | using System;
using System.Collections;
namespace Bcs {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
var min_ = 1000;
for (int i = 0; i < s.Length - 2; ++i) {
var x = int.Parse(s.Substring(i, 3));
min_ = Math.Min(min_, Math.Abs(x - 753));
}
Console.... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 105 | 2 |
using System;
class Program {
static void Main() {
string s = Console.ReadLine();
int ans = int.Parse(s.Substring(0, 2));
for (int i = 1; i < s.Length - 2; i++) {
int tmp = int.Parse(s.Substring(i, 3));
if (Math.Abs(753 - tmp) < Math.Abs(753 - ans))
ans = tmp;
}
Console.Wri... | using System;
class Program {
static void Main() {
string s = Console.ReadLine();
int ans = int.Parse(s.Substring(0, 3));
for (int i = 1; i < s.Length - 2; i++) {
int tmp = int.Parse(s.Substring(i, 3));
if (Math.Abs(753 - tmp) < Math.Abs(753 - ans))
ans = tmp;
}
Console.Wri... | [["-", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 115 | 2 |
using static System.Math;
using System;
public class Hello {
public static void Main() {
var s = Console.ReadLine().Trim();
var ans = int.MaxValue;
for (int i = 0; i < s.Length - 3; i++)
ans = Min(ans, Abs(753 - int.Parse(s.Substring(i, 3))));
Console.WriteLine(ans);
}
}
| using static System.Math;
using System;
public class Hello {
public static void Main() {
var s = Console.ReadLine().Trim();
var ans = int.MaxValue;
for (int i = 0; i <= s.Length - 3; i++)
ans = Min(ans, Abs(753 - int.Parse(s.Substring(i, 3))));
Console.WriteLine(ans);
}
}
| [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 93 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
long a = long.Parse(Console.ReadLine());
var b = new List<long>();
for (int i = 0; i < a.ToString().Length - 2; i++) {
b.Add(a / (int)Math.Pow(10, i) - (a / (int)Math.Pow(10, i + 3) * 1000));
}
... | using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
long a = long.Parse(Console.ReadLine());
var b = new List<long>();
for (int i = 0; i < a.ToString().Length - 2; i++) {
b.Add(a / (long)Math.Pow(10, i) - (a / (long)Math.Pow(10, i + 3) * 1000));
}
... | [["-", 0, 28, 0, 16, 31, 16, 12, 74, 39, 199], ["+", 0, 28, 0, 16, 31, 16, 12, 74, 39, 199], ["-", 12, 23, 0, 16, 31, 16, 12, 74, 39, 199], ["+", 12, 23, 0, 16, 31, 16, 12, 74, 39, 199]] | 8 | 135 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int num = input.Length - 3;
List<int> data = new List<int>();
for (int i = 0; i < num; i++) {
int n = int.Parse(input... | using System;
using System.Linq;
using System.Collections.Generic;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int num = input.Length - 3;
List<int> data = new List<int>();
for (int i = 0; i <= num; i++) {
int n = int.Parse(inpu... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 154 | 2 |
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:
/... | 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:
/... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19]] | 8 | 2,724 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace algorithm {
class Program {
public static void Main() {
int n = int.Parse(Console.ReadLine());
Queue<string> num = new Queue<string>();
List<long> List = new ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace algorithm {
class Program {
public static void Main() {
int n = int.Parse(Console.ReadLine());
Queue<string> num = new Queue<string>();
List<long> List = new ... | [["-", 0, 28, 0, 218, 8, 16, 31, 16, 17, 18], ["+", 0, 28, 0, 218, 8, 16, 31, 16, 17, 19]] | 8 | 252 | 2 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC114 {
class Program {
public static List<long> GetL(long x) {
if (x > 100000000)
return new List<long>();
List<long> l1 = new List<long>();
List<long> l2 = new List<long>();
List<lon... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC114 {
class Program {
public static List<long> GetL(long x) {
if (x > 100000000)
return new List<long>();
List<long> l1 = new List<long>();
List<long> l2 = new List<long>();
List<lon... | [["+", 8, 196, 0, 7, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 7, 15, 16, 31, 16, 17, 18], ["+", 0, 7, 15, 16, 31, 16, 12, 214, 205, 22], ["+", 0, 7, 15, 16, 31, 16, 12, 214, 0, 131], ["+", 0, 7, 15, 16, 31, 16, 12, 214, 141, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 98]] | 8 | 350 | 6 |
using System;
namespace _755 {
class Program {
static float N;
static void Main(string[] args) {
N = int.Parse(Console.ReadLine());
Console.WriteLine(Dfs("0"));
}
public static int Dfs(string s) {
if (float.Parse(s) > N) {
return 0;
}
int result = 0;
if (s.Contains("7") && s.Con... | using System;
namespace _755 {
class Program {
static double N;
static void Main(string[] args) {
N = double.Parse(Console.ReadLine());
Console.WriteLine(Dfs("0"));
}
public static int Dfs(string s) {
if (double.Parse(s) > N) {
return 0;
}
int result = 0;
if (s.Contains("7") && ... | [["-", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["+", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["-", 0, 57, 15, 16, 31, 213, 63, 214, 205, 199], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 205, 199]] | 8 | 139 | 6 |
using System;
using System.Linq;
namespace ABC144_C {
class Program {
static long N;
static void Main(string[] args) {
N = long.Parse(Console.ReadLine());
Console.WriteLine(Dfs("0"));
}
static long Dfs(string s) {
long ret = 0;
if (long.Parse(s) > N) {
return 0L;
}
if (s.Contains... | using System;
using System.Linq;
namespace ABC144_C {
class Program {
static long N;
static void Main(string[] args) {
N = long.Parse(Console.ReadLine());
Console.WriteLine(Dfs("0"));
}
static long Dfs(string s) {
long ret = 0;
if (long.Parse(s) > N) {
return 0L;
}
if (s.Contains... | [["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 203], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203]] | 8 | 157 | 5 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
var n = Int32.Parse(Console.ReadLine());
var shichigosanNums = new List<Int64>();
for (var digit = 3; digit <= 10; digit++) {
for (var i = 0; i < Math.Pow(3, digit); i++) {
... | using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
var n = Int32.Parse(Console.ReadLine());
var shichigosanNums = new List<Int64>();
for (var digit = 3; digit <= 10; digit++) {
for (var i = 0; i < Math.Pow(3, digit); i++) {
... | [["-", 0, 210, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 295 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static List<long> list = new List<long>();
static long N = long.Parse(Console.ReadLine());
static void Main(string[] args) {
Scanner cin = new Scanner();
foreach (var x in ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static List<long> list = new List<long>();
static long N = long.Parse(Console.ReadLine());
static void Main(string[] args) {
Scanner cin = new Scanner();
foreach (var x in ... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 545 | 2 |
using System;
using System.IO;
class Program {
public static void Main() {
long N = int.Parse(Console.ReadLine());
//たくさん確保
long[] a = new long[100000];
a[0] = 3;
a[1] = 5;
a[2] = 7;
for (int i = 0; a[3 * (i - 1) + 5] < N; i++) {
a[3 * i + 3] = a[i] * 10 + 3;
a[3 * i + 4] ... | using System;
using System.IO;
class Program {
public static void Main() {
long N = int.Parse(Console.ReadLine());
//たくさん確保
long[] a = new long[1000000];
a[0] = 3;
a[1] = 5;
a[2] = 7;
for (int i = 0; a[3 * (i - 1) + 5] <= N; i++) {
a[3 * i + 3] = a[i] * 10 + 3;
a[3 * i + 4... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 311 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
class P {
static void Main() {
long n = long.Parse(Console.ReadLine());
List<long> p = new List<long>();
p.Add(7);
p.Add(5);
p.Add(3);
int ist = 0;
int ien = 2;
for (int i = 0; i < 7; i++) {
for (int j = ist; j <=... | using System;
using System.Collections.Generic;
using System.Linq;
class P {
static void Main() {
long n = long.Parse(Console.ReadLine());
List<long> p = new List<long>();
p.Add(7);
p.Add(5);
p.Add(3);
int ist = 0;
int ien = 2;
for (int i = 0; i < 8; i++) {
for (int j = ist; j <=... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]] | 8 | 326 | 2 |
using System;
using System.Text;
using static System.Console;
namespace a755 {
class a755 {
static void Main(string[] args) {
long x = long.Parse(ReadLine());
long op = 0;
long c = 357;
while (c <= x) {
bool hit3 = false;
bool hit5 = false;
bool hit7 = false;
bool hitX = false;... | using System;
using System.Text;
using static System.Console;
namespace a755 {
class a755 {
static void Main(string[] args) {
long x = long.Parse(ReadLine());
long op = 0;
long c = 357;
while (c <= x) {
bool hit3 = false;
bool hit5 = false;
bool hit7 = false;
bool hitX = false;... | [["+", 51, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 51, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["-", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 312 | 4 |
using System;
using System.Collections.Generic;
namespace abc114_c {
class Program {
static void Main(string[] args) {
List<string>[] list = new List<string>[10];
list[0] = new List<string> { "" };
for (int i = 1; i < 10; i++) {
list[i] = new List<string>();
foreach (var item in list[i - 1]) ... | using System;
using System.Collections.Generic;
namespace abc114_c {
class Program {
static void Main(string[] args) {
List<string>[] list = new List<string>[10];
list[0] = new List<string> { "" };
for (int i = 1; i < 10; i++) {
list[i] = new List<string>();
foreach (var item in list[i - 1]) ... | [["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 19]] | 8 | 304 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace AtCoder {
class Program {
static List<int> primeNumbers;
static int count = 0;
static void Main(string[] args) {
//[summary]D - 756
primeNumbers =
new List<int> { 2, 3, 5, 7, 11, 13, 17, 19, 2... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace AtCoder {
class Program {
static List<int> primeNumbers;
static int count = 0;
static void Main(string[] args) {
//[summary]D - 756
primeNumbers =
new List<int> { 2, 3, 5, 7, 11, 13, 17, 19, 2... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 635 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderA {
static void Main() {
var sc = new Scanner();
long n = sc.NextLong();
long[] aa = sc.LongArray();
long sum = aa.Sum();
long answer = 0;
long min = long.MaxValue;
for (int i = 0... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderA {
static void Main() {
var sc = new Scanner();
long n = sc.NextLong();
long[] aa = sc.LongArray();
long sum = aa.Sum();
long answer = 0;
long min = long.MaxValue;
for (int i = 0... | [["-", 3, 4, 0, 28, 0, 16, 12, 16, 31, 22], ["+", 0, 28, 0, 16, 12, 16, 31, 204, 205, 22], ["+", 0, 16, 12, 16, 31, 204, 206, 207, 0, 70], ["+", 12, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 16, 12, 16, 31, 204, 206, 207, 0, 73], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 12, ... | 8 | 430 | 7 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
//入力
int N = int.Parse(Console.ReadLine());
string s = Console.ReadLine();
string[] t = s.Split(' ');
int[] a = new int[N];
//数値を当てはめていく
for (int i = 0; i < N; i++) {
a[i] = int.Parse(t... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
//入力
int N = int.Parse(Console.ReadLine());
string s = Console.ReadLine();
string[] t = s.Split(' ');
int[] a = new int[N];
//数値を当てはめていく
for (int i = 0; i < N; i++) {
a[i] = int.Parse(t... | [["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25]] | 8 | 227 | 5 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Dwango_Thumbnail {
internal class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string[] input = Console.ReadLine().Split(' ');
List<double> alist = new List<double>();
for (int i... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Dwango_Thumbnail {
internal class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string[] input = Console.ReadLine().Split(' ');
List<double> alist = new List<double>();
for (int i... | [["+", 75, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 75, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 75, 57, 64, 196, 0, 1, 0, 35]] | 8 | 207 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace AtCoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong() { return long.P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace AtCoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong() { return long.P... | [["-", 3, 4, 0, 28, 0, 218, 8, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 218, 8, 214, 141, 22]] | 8 | 335 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class Bmondai {
static void Main() {
var n = Console.ReadLine().Split(' ').Select(x => Int64.Parse(x)).ToArray();
var N = n[0];
var K = n[1];
var line =
Console.ReadLine().Split(' ').Select(x => Int64.Parse(x)).ToArray();
... | using System;
using System.Linq;
using System.Collections.Generic;
class Bmondai {
static void Main() {
var n = Console.ReadLine().Split(' ').Select(x => Int64.Parse(x)).ToArray();
var N = n[0];
var K = n[1];
var line =
Console.ReadLine().Split(' ').Select(x => Int64.Parse(x)).ToArray();
... | [["+", 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 | 277 | 4 |
using System;
public class AtCoder {
public static void Main() {
string[] s;
s = Console.ReadLine().Trim().Split(' ');
int n, k;
n = int.Parse(s[0]);
k = int.Parse(s[1]);
s = Console.ReadLine().Trim().Split(' ');
long[] a = new long[n];
long[] b = new long[n];
for (int i = 0; i < ... | using System;
public class AtCoder {
public static void Main() {
string[] s;
s = Console.ReadLine().Trim().Split(' ');
int n, k;
n = int.Parse(s[0]);
k = int.Parse(s[1]);
s = Console.ReadLine().Trim().Split(' ');
long[] a = new long[n];
long[] b = new long[n];
for (int i = 0; i < ... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 20]] | 8 | 536 | 2 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC113 {
class Program {
public static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int X = int.Parse(s[0]);
int Y = int.Parse(s[1]);
Console.WriteLine(X * Y / 2);
... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace AtCoderABC113 {
class Program {
public static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int X = int.Parse(s[0]);
int Y = int.Parse(s[1]);
Console.WriteLine(X + Y / 2);
... | [["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 48], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72]] | 8 | 95 | 2 |
using System;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int X = int.Parse(input[0]);
int Y = int.Parse(input[0]);
Console.WriteLine(X + Y / 2);
}
}
}
| using System;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int X = int.Parse(input[0]);
int Y = int.Parse(input[1]);
Console.WriteLine(X + Y / 2);
}
}
}
| [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]] | 8 | 77 | 2 |
using System;
class B {
static void Main() {
int N = int.Parse(Console.ReadLine());
int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
int T = Ar[0], A = Ar[1];
int[] place = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
double temp = 6000000000000;
int ans =... | using System;
class B {
static void Main() {
int N = int.Parse(Console.ReadLine());
int[] Ar = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
int T = Ar[0], A = Ar[1];
int[] place = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
double temp = 6000000000000;
int ans =... | [["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 24], ["+", 0, 16, 12, 23, 0, 16, 12, 23, 0, 25]] | 8 | 182 | 2 |
using System;
using System.Linq;
namespace AtCorder {
class Program {
static void Main(string[] args) {
var input1 = Console.ReadLine();
var input2 = Console.ReadLine().Split(' ');
var input3 = Console.ReadLine();
var n = int.Parse(input1);
var t = int.Parse(input2[0]);
var a = int.Parse(inp... | using System;
using System.Linq;
namespace AtCorder {
class Program {
static void Main(string[] args) {
var input1 = Console.ReadLine();
var input2 = Console.ReadLine().Split(' ');
var input3 = Console.ReadLine();
var n = int.Parse(input1);
var t = int.Parse(input2[0]);
var a = int.Parse(inp... | [["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 48], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 12, 203], ["-", 0, 16, 31, 23, 0, 16, 12, 16, 12, 250], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 17, 48], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 203]] | 8 | 210 | 6 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace FertiLib.Contest.B {
static class Program {
public static void Solve(Scanner cin) {
var (n, t, a) = cin.ReadValue<int, int, int>();
var h = cin.ReadIntArray(n);
int ans = -1;
... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace FertiLib.Contest.B {
static class Program {
public static void Solve(Scanner cin) {
var (n, t, a) = cin.ReadValue<int, int, int>();
var h = cin.ReadIntArray(n);
int ans = -1;
... | [["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 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], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46]] | 8 | 2,719 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
int[] TA =
Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray();
double T = TA[0];
double A = TA[1]... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
int[] TA =
Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray();
double T = TA[0];
double A = TA[1]... | [["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 0, 131], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 23, 0, 24], ["+", 0, 28, 0, 23, 0, 16, 12, 23, 0, 25]] | 8 | 200 | 5 |
using System;
namespace ABC113B {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
var target = Console.ReadLine().Split(' ');
int T = int.Parse(target[0]);
int A = int.Parse(target[0]);
target = Console.ReadLine().Split(' ');
int altitude = int.Parse(t... | using System;
namespace ABC113B {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
var target = Console.ReadLine().Split(' ');
int T = int.Parse(target[0]);
int A = int.Parse(target[1]);
target = Console.ReadLine().Split(' ');
int altitude = int.Parse(t... | [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]] | 8 | 200 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Numerics;
using System.IO;
using System.Runtime.InteropServices;
using static System.Math;
using stat... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Numerics;
using System.IO;
using System.Runtime.InteropServices;
using static System.Math;
using stat... | [["-", 31, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 31, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203]] | 8 | 1,125 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp15 {
class Class34 {
static void Main() {
int N = int.Parse(Console.ReadLine());
var TA = Console.ReadLine().Split().Select(double.Parse).ToArray();
double T = TA[0], A ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp15 {
class Class34 {
static void Main() {
int N = int.Parse(Console.ReadLine());
var TA = Console.ReadLine().Split().Select(double.Parse).ToArray();
double T = TA[0], A ... | [["-", 0, 200, 0, 212, 0, 16, 12, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 250]] | 8 | 198 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace AtCoder {
public class ABC {
static int mod = 1000000007; // 10^9+7
static void Main(string[] args) {
Console.SetOut(
new StreamWriter(Console.OpenStan... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace AtCoder {
public class ABC {
static int mod = 1000000007; // 10^9+7
static void Main(string[] args) {
Console.SetOut(
new StreamWriter(Console.OpenStan... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]] | 8 | 254 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
public class Cell {
public int X { get; set; }
public int Y { get; set; }
public string CellType { get; set; }
public int Step { get; set; }
public static Cell[] GetCells(char[] row, int y) {
var cells = Enumerable.Range... | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
public class Cell {
public int X { get; set; }
public int Y { get; set; }
public string CellType { get; set; }
public int Step { get; set; }
public static Cell[] GetCells(char[] row, int y) {
var cells = Enumerable.Range... | [["-", 0, 11, 12, 16, 31, 74, 51, 23, 0, 25], ["+", 0, 1, 0, 11, 12, 74, 51, 23, 0, 25]] | 8 | 373 | 2 |
using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
var input =
Console.ReadLine().Split().Select(x => double.Parse(x)).... | using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
var input =
Console.ReadLine().Split().Select(x => double.Parse(x)).... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 233 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using static System.Math;
using System.Text;
namespace Program {
public static class ABC113B {
static public void Solve() {
var N = NextInt;
var T = NextInt;
var A = NextInt;
var HList = NextIntList(N);
var ans = ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using static System.Math;
using System.Text;
namespace Program {
public static class ABC113B {
static public void Solve() {
var N = NextInt;
var T = NextInt;
var A = NextInt;
var HList = NextIntList(N);
var ans = ... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72]] | 8 | 3,603 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ABC113.Util;
using static System.Console;
#if DEBUG
using System.Diagnostics;
#endif
/// <summary>
/// 感想 2019/05/14
/// </summary>
namespace ABC113 {
class Program {
sta... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ABC113.Util;
using static System.Console;
#if DEBUG
using System.Diagnostics;
#endif
/// <summary>
/// 感想 2019/05/14
/// </summary>
namespace ABC113 {
class Program {
sta... | [["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 12, 203]] | 8 | 2,472 | 2 |
using System;
class Program {
static void Main() {
int N = int.Parse(Console.ReadLine());
var input = Console.ReadLine().Split(' ');
int T = int.Parse(input[0]);
int A = int.Parse(input[1]);
var list = new int[N];
double ans = 100000;
int goal = 0;
input = Console.ReadLine().Split(' '... | using System;
class Program {
static void Main() {
int N = int.Parse(Console.ReadLine());
var input = Console.ReadLine().Split(' ');
int T = int.Parse(input[0]);
int A = int.Parse(input[1]);
var list = new int[N];
double ans = 100000;
int goal = 0;
input = Console.ReadLine().Split(' '... | [["-", 0, 200, 0, 212, 0, 16, 12, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 250]] | 8 | 184 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ziyuutyou {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
var aaa = Console.ReadLine().Split(' ');
var T = double.Parse(aaa[0]);
var A = int.Parse(aaa[1]);
var hei = Array.Conve... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ziyuutyou {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
var aaa = Console.ReadLine().Split(' ');
var T = double.Parse(aaa[0]);
var A = int.Parse(aaa[1]);
var hei = Array.Conve... | [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["-", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["-", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25]] | 8 | 195 | 5 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
var sc = new Scanner();
int n = sc.NextInt();
int t = sc.NextInt();
int a = sc.NextInt();
double[] h = new double[n];
int ans =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
var sc = new Scanner();
int n = sc.NextInt();
int t = sc.NextInt();
int a = sc.NextInt();
double[] h = new double[n];
int ans =... | [["+", 0, 28, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 28, 0, 16, 31, 16, 12, 16, 12, 250], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]] | 8 | 303 | 4 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
class Program {
public static Scanner input;
static void Main() {
input = new Scanner();
int n... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
class Program {
public static Scanner input;
static void Main() {
input = new Scanner();
int n... | [["-", 31, 74, 51, 204, 206, 207, 0, 28, 0, 203], ["+", 31, 74, 51, 204, 206, 207, 0, 28, 0, 203]] | 8 | 921 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
double[] s = Console.ReadLine().Split().Select(double.Parse).ToArray();
List<double> h = Console.ReadLine()
.Split()
... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
double[] s = Console.ReadLine().Split().Select(double.Parse).ToArray();
List<double> h = Console.ReadLine()
.Split()
... | [["+", 0, 195, 8, 196, 0, 37, 0, 16, 17, 72], ["+", 0, 195, 8, 196, 0, 37, 0, 16, 12, 203]] | 8 | 183 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC113 {
class Program {
static int n, t, a, ans;
static int[] h;
static void Main(string[] args) { Place(); }
static void Place() {
n = int.Parse(Console.ReadLine());
string[] ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC113 {
class Program {
static int n, t, a, ans;
static int[] h;
static void Main(string[] args) { Place(); }
static void Place() {
n = int.Parse(Console.ReadLine());
string[] ... | [["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250], ["-", 64, 196, 0, 1, 0, 11, 12, 74, 0, 24], ["-", 64, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["-", 64, 196, 0, 1, 0, 11, 12, 74, 0, ... | 8 | 226 | 7 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
public Program() {
int N = int.Parse(Console.ReadLine());
string[] inputs = Console.ReadLine().Split();
int T = int.Parse(inputs[0]);
int A = int.Parse(inputs[1]);
i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
public Program() {
int N = int.Parse(Console.ReadLine());
string[] inputs = Console.ReadLine().Split();
int T = int.Parse(inputs[0]);
int A = int.Parse(inputs[1]);
i... | [["-", 0, 16, 12, 23, 0, 16, 12, 16, 31, 250], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 31, 250]] | 8 | 211 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace MyProgram {
public class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
double[] input =
Console.ReadLine().Split(' ').Select(s => double.Parse(s)).ToArra... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace MyProgram {
public class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
double[] input =
Console.ReadLine().Split(' ').Select(s => double.Parse(s)).ToArra... | [["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]] | 8 | 229 | 2 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
// 宮殿の設置候補の数を表します 問題文 N.
int placeCount = int.Parse(Console.ReadLine());
// 気温を取得します 問題文 T, A.
var parameters =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
// 標高を表します 問題文 Hi.
va... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
// 宮殿の設置候補の数を表します 問題文 N.
int placeCount = int.Parse(Console.ReadLine());
// 気温を取得します 問題文 T, A.
var parameters =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
// 標高を表します 問題文 Hi.
va... | [["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 74, 51, 23, 0, 16, 31, 16, 17, 48], ["+", 0, 74, 51, 23, 0, 16, 31, 16, 12, 203]] | 8 | 224 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
using static System.Math;
public class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] ta = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int[] h = Console.ReadLine().Split(' ')... | using System;
using System.Linq;
using System.Collections.Generic;
using static System.Math;
public class Program {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] ta = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int[] h = Console.ReadLine().Split(' ')... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 17, 48], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 12, 250], ["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 220 | 8 |
using static System.Math;
using System;
public class Hello {
public static void Main() {
var n = int.Parse(Console.ReadLine().Trim());
string[] line = Console.ReadLine().Trim().Split(' ');
var t = int.Parse(line[0]);
var a = int.Parse(line[1]) * 1000;
line = Console.ReadLine().Trim().Split(' ');
... | using static System.Math;
using System;
public class Hello {
public static void Main() {
var n = int.Parse(Console.ReadLine().Trim());
string[] line = Console.ReadLine().Trim().Split(' ');
var t = int.Parse(line[0]);
var a = int.Parse(line[1]) * 1000;
line = Console.ReadLine().Trim().Split(' ');
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 28, 0, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 28, 0, 16, 31, 16, 12, 16, 31, 203], ["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 212 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace test {
class Program {
static void Main(string[] args) {
var N = ReadInt();
var input = ReadArrayInt();
var T = input[0];
var A = input[0];
var H = ReadArrayInt();
var dif = double.MaxValue;
var ans = 0;
for ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace test {
class Program {
static void Main(string[] args) {
var N = ReadInt();
var input = ReadArrayInt();
var T = input[0];
var A = input[1];
var H = ReadArrayInt();
var dif = double.MaxValue;
var ans = 1;
for ... | [["-", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 273 | 4 |
using System;
using System.Linq;
namespace Sample101 {
class Program {
static void Main(string[] args) {
// 入力
var N = int.Parse(Console.ReadLine());
var line = Console.ReadLine().Split(' ');
var T = int.Parse(line[0]);
var A = int.Parse(line[1]);
var H =
Console.ReadLine().Split(' '... | using System;
using System.Linq;
namespace Sample101 {
class Program {
static void Main(string[] args) {
// 入力
var N = int.Parse(Console.ReadLine());
var line = Console.ReadLine().Split(' ');
var T = int.Parse(line[0]);
var A = int.Parse(line[1]);
var H =
Console.ReadLine().Split(' '... | [["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 24], ["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 25]] | 8 | 205 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
public class P {
public static void Main() {
var s = Console.ReadLine();
long N = long.Parse(s);
var s1 = Console.ReadLine().Split(' ');
double T = double.Parse(s1[0]), A = double.Parse(s1[1]);
s1 = Console.ReadLine().Split(' ');
... | using System;
using System.Linq;
using System.Collections.Generic;
public class P {
public static void Main() {
var s = Console.ReadLine();
long N = long.Parse(s);
var s1 = Console.ReadLine().Split(' ');
double T = double.Parse(s1[0]), A = double.Parse(s1[1]);
s1 = Console.ReadLine().Split(' ');
... | [["+", 8, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 8, 213, 3, 4, 0, 28, 0, 16, 12, 22]] | 8 | 210 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
class Program {
static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
var temp = Console.ReadLine().Split(' ');
var t = int.Parse(temp[0]);
var a = int.Parse(temp[1]);
var h = Console.Re... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
class Program {
static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
var temp = Console.ReadLine().Split(' ');
var t = int.Parse(temp[0]);
var a = int.Parse(temp[1]);
var h = Console.Re... | [["-", 0, 213, 63, 214, 205, 214, 205, 214, 205, 22], ["-", 0, 213, 63, 214, 205, 214, 205, 214, 0, 131], ["-", 0, 213, 63, 214, 205, 214, 205, 214, 141, 22], ["-", 0, 1, 0, 213, 63, 214, 205, 214, 0, 131], ["-", 0, 1, 0, 213, 63, 214, 205, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22]] | 8 | 187 | 6 |
using System;
using System.Linq;
namespace ABC113B {
internal class Program {
public static void Main(string[] args) {
int N = Input.Int();
int[] ints = Input.IntArray();
int T = ints[0];
int A = ints[1];
int[] H = Input.IntArray();
double diff = int.MaxValue;
int ans = -1;
for (int ... | using System;
using System.Linq;
namespace ABC113B {
internal class Program {
public static void Main(string[] args) {
int N = Input.Int();
int[] ints = Input.IntArray();
int T = ints[0];
int A = ints[1];
int[] H = Input.IntArray();
double diff = int.MaxValue;
int ans = -1;
for (int ... | [["-", 12, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 12, 213, 3, 4, 0, 28, 0, 16, 17, 72]] | 8 | 326 | 4 |
using System;
using System.Linq;
namespace abc113_b {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray();
int ret = 0;
double mi... | using System;
using System.Linq;
namespace abc113_b {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray();
int ret = 0;
double mi... | [["-", 12, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 12, 16, 31, 204, 206, 207, 0, 28, 0, 22]] | 8 | 175 | 2 |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
private static long mod = 1000000007;
static void Main(string[] args) {
var r = ReadSplit();
var n = r[0].Int();
var m = ... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
private static long mod = 1000000007;
static void Main(string[] args) {
var r = ReadSplit();
var n = r[0].Int();
var m = ... | [["+", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 64, 196, 0, 1, 0, 11, 12, 214, 205, 22], ["+", 64, 196, 0, 1, 0, 11, 12, 214, 0, 131], ["+", 64, 196, 0, 1, 0, 11, 12, 214, 141, 22], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35]] | 8 | 636 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCorder {
public class Program {
static void Main(string[] args) {
Scanner cin = new Scanner();
int n = cin.Int();
int m = cin.Int();
var ipy = new List<Tuple<int, int, int>>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCorder {
public class Program {
static void Main(string[] args) {
Scanner cin = new Scanner();
int n = cin.Int();
int m = cin.Int();
var ipy = new List<Tuple<int, int, int>>... | [["+", 0, 212, 0, 230, 3, 4, 0, 28, 0, 22], ["-", 0, 28, 0, 218, 8, 16, 31, 214, 205, 22], ["+", 0, 28, 0, 218, 8, 16, 31, 214, 205, 22], ["-", 0, 28, 0, 218, 8, 16, 12, 214, 205, 22], ["+", 0, 28, 0, 218, 8, 16, 12, 214, 205, 22]] | 8 | 702 | 10 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using static System.Console;
using static System.Math;
class Program {
static void Main(string[] args) {
int[] NM = ReadLineParseIntArray();
int N = NM[0];
int M = NM[1];
List<Tuple<int, int>>[] tuples = new List<Tu... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using static System.Console;
using static System.Math;
class Program {
static void Main(string[] args) {
int[] NM = ReadLineParseIntArray();
int N = NM[0];
int M = NM[1];
List<Tuple<int, int>>[] tuples = new List<Tu... | [["-", 39, 236, 237, 238, 0, 236, 237, 238, 0, 199], ["+", 39, 236, 237, 238, 0, 236, 237, 238, 0, 199], ["-", 0, 28, 0, 230, 39, 236, 237, 238, 0, 199], ["+", 0, 28, 0, 230, 39, 236, 237, 238, 0, 199], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203]] | 8 | 1,026 | 8 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static int N;
static int M;
class Comare : IComparer<int> {
public int Compare(int x, int y) { return x - y; }
}
class CityInfo {
public CityInfo(int k, int y, int c) ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static int N;
static int M;
class Comare : IComparer<int> {
public int Compare(int x, int y) { return x - y; }
}
class CityInfo {
public CityInfo(int k, int y, int c) ... | [["-", 0, 213, 3, 4, 0, 28, 0, 283, 0, 296]] | 8 | 678 | 1 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace ID {
class City {
public int Order;
public long Id;
public City(int o, long i) {
Order = o;
Id = i;
}
}
class Program {
public static void Main(string[] args) {
using (var sc =... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace ID {
class City {
public int Order;
public long Id;
public City(int o, long i) {
Order = o;
Id = i;
}
}
class Program {
public static void Main(string[] args) {
using (var sc =... | [["+", 12, 16, 31, 16, 31, 16, 31, 74, 0, 24], ["+", 12, 16, 31, 16, 31, 16, 31, 74, 39, 199], ["+", 12, 16, 31, 16, 31, 16, 31, 74, 0, 25]] | 8 | 520 | 3 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace AtCoder.ABC113 {
class C {
static void Main() => CustomMain();
class City {
public int no;
public int prefecture;
public int year;
}
static void Solve() {
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace AtCoder.ABC113 {
class C {
static void Main() => CustomMain();
class City {
public int no;
public int prefecture;
public int year;
}
static void Solve() {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 844 | 4 |
using System;
using System.Linq;
public class Test {
struct city {
public int sector;
public int year;
public int index;
public city(int s, int y, int i) {
sector = s;
year = y;
index = i;
}
}
public static void Main() {
int n, m;
{
var ins =
Console.... | using System;
using System.Linq;
public class Test {
struct city {
public int sector;
public int year;
public int index;
public city(int s, int y, int i) {
sector = s;
year = y;
index = i;
}
}
public static void Main() {
int n, m;
{
var ins =
Console.... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 326 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC113C {
class Program {
static void Main(string[] args) {
var NM = Console.ReadLine().Split().Select(int.Parse).ToArray();
var N = NM[0];
var M = NM[1];
City[] cities = new... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC113C {
class Program {
static void Main(string[] args) {
var NM = Console.ReadLine().Split().Select(int.Parse).ToArray();
var N = NM[0];
var M = NM[1];
City[] cities = new... | [["-", 3, 4, 0, 28, 0, 218, 8, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 218, 8, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 413 | 6 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split();
int N = int.Parse(str[0]);
int M = int.Parse(str[1]);
int[][] B = new int [M][];
for (var i = 0; i < M; i++) {
B[i] = new int[3];
string[] str2 =... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split();
int N = int.Parse(str[0]);
int M = int.Parse(str[1]);
int[][] B = new int [M][];
for (var i = 0; i < M; i++) {
B[i] = new int[3];
string[] str2 =... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22]] | 8 | 425 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ABC113_C {
public class Program
{
public class City {
public int index { get; set; }
public int year { get; set; }
public int p { get; set; }
public int BirthOrder { get; set; }
public City(int i, i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ABC113_C {
public class Program
{
public class City {
public int index { get; set; }
public int year { get; set; }
public int p { get; set; }
public int BirthOrder { get; set; }
public City(int i, i... | [["+", 0, 210, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 141, 22], ["+", 8, 196, 0, 210, 8, 196, 0, 1, 0, 35]] | 8 | 558 | 6 |
using System;
public class AtCoder {
public static void Main() {
string[] s;
s = Console.ReadLine().Trim().Split(' ');
int n, m;
n = int.Parse(s[0]);
m = int.Parse(s[1]);
int[] cp = new int[m];
int[] y = new int[m];
int[] x = new int[m];
int[] o = new int[m];
for (int i = 0; ... | using System;
public class AtCoder {
public static void Main() {
string[] s;
s = Console.ReadLine().Trim().Split(' ');
int n, m;
n = int.Parse(s[0]);
m = int.Parse(s[1]);
long[] cp = new long[m];
int[] y = new int[m];
int[] x = new int[m];
int[] o = new int[m];
for (int i = 0... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199]] | 8 | 347 | 10 |
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
public class Program {
public static void Main() {
string[] Keys = Console.ReadLine().Split(' ');
int N = int.Parse(Keys[0]);
int M = int.Parse(Keys[1])... | using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
public class Program {
public static void Main() {
string[] Keys = Console.ReadLine().Split(' ');
int N = int.Parse(Keys[0]);
int M = int.Parse(Keys[1])... | [["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 362 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practice {
class Program {
static void Main(string[] args) {
SolveA();
// SolveB();
// SolveC();
// SolveD();
}
private const long MOD = 1000000007;
private struct Data {
public int idx;
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practice {
class Program {
static void Main(string[] args) {
SolveA();
// SolveB();
// SolveC();
// SolveD();
}
private const long MOD = 1000000007;
private struct Data {
public int idx;
publ... | [["-", 0, 210, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 210, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 634 | 2 |
using static System.Console;
using static System.Convert;
using static System.Math;
class Program {
static void Main(string[] args) {
var num = ToInt32(ReadLine());
if (num == 1)
WriteLine("Hello,World!");
else
WriteLine(ToInt32(ReadLine()) + ToInt32(ReadLine()));
}
}
| using static System.Console;
using static System.Convert;
using static System.Math;
class Program {
static void Main(string[] args) {
var num = ToInt32(ReadLine());
if (num == 1)
WriteLine("Hello World");
else
WriteLine(ToInt32(ReadLine()) + ToInt32(ReadLine()));
}
}
| [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 74 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderB {
static void Main() {
var sc = new Scanner();
int n = sc.NextInt();
int t = sc.NextInt();
int answer = int.MaxValue;
for (int i = 0; i < n; i++) {
int cost = sc.NextInt();
in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderB {
static void Main() {
var sc = new Scanner();
int n = sc.NextInt();
int t = sc.NextInt();
int answer = int.MaxValue;
for (int i = 0; i < n; i++) {
int cost = sc.NextInt();
in... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22]] | 8 | 440 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
static class MainClass {
public struct Routes {
public long cost;
public long time;
public Routes(long c, long t) {
cost = c;
time = t;
}
}
public static void Main(string[] args) {
var temp = Console.ReadLine().S... | using System;
using System.Collections.Generic;
using System.Linq;
static class MainClass {
public struct Routes {
public long cost;
public long time;
public Routes(long c, long t) {
cost = c;
time = t;
}
}
public static void Main(string[] args) {
var temp = Console.ReadLine().S... | [["-", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222]] | 8 | 235 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int N = int.Parse(s[0]);
int T = int.Parse(s[1]);
int min = int.MaxValue;
for (int i = 0; i < N; i++) {
s = Console.ReadLine().Spli... | using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int N = int.Parse(s[0]);
int T = int.Parse(s[1]);
int min = int.MaxValue;
for (int i = 0; i < N; i++) {
s = Console.ReadLine().Spli... | [["-", 0, 28, 0, 23, 0, 41, 64, 5, 0, 222], ["+", 0, 28, 0, 23, 0, 41, 64, 5, 0, 222]] | 8 | 177 | 2 |
using System;
class Program {
static void Main(string[] args) {
var tmp = Read(2);
var n = tmp[0];
var t = tmp[1];
long m = t + 1;
for (long i = 0; i < n; i++) {
tmp = Read(2);
m = (tmp[1] <= t && tmp[0] < m) ? tmp[0] : m;
}
if (m == t + 1) {
Write("TLE");
} else {
... | using System;
class Program {
static void Main(string[] args) {
var tmp = Read(2);
var n = tmp[0];
var t = tmp[1];
long m = 1001;
for (long i = 0; i < n; i++) {
tmp = Read(2);
m = (tmp[1] <= t && tmp[0] < m) ? tmp[0] : m;
}
if (m == 1001) {
Write("TLE");
} else {
... | [["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["-", 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, 203], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 72], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, ... | 8 | 723 | 8 |
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[] vs = ReadLineToIntArray();
int ans = 1001;
for (int i = 0; i < vs[0]; i++) {
int[] str... | 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[] vs = ReadLineToIntArray();
int ans = 1001;
for (int i = 0; i < vs[0]; i++) {
int[] str... | [["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]] | 8 | 552 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace B_Time_Limit_Exceeded {
class Program {
static void Main(string[] args) {
string[] str1 = Console.ReadLine().Split(' ');
int N = int.Parse(str1[0]);
int T = int.Parse(str1[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace B_Time_Limit_Exceeded {
class Program {
static void Main(string[] args) {
string[] str1 = Console.ReadLine().Split(' ');
int N = int.Parse(str1[0]);
int T = int.Parse(str1[1]);
... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 265 | 2 |
using System;
namespace regio {
class Program {
[STAThread]
static void Main(string[] args) {
string str;
string[] arr;
int kosuu, T;
str = Console.ReadLine();
arr = str.Split(' ');
kosuu = int.Parse(arr[0]);
T = int.Parse(arr[1]);
int[] c = new int[kosuu];
int[] t = new int... | using System;
namespace regio {
class Program {
[STAThread]
static void Main(string[] args) {
string str;
string[] arr;
int kosuu, T;
str = Console.ReadLine();
arr = str.Split(' ');
kosuu = int.Parse(arr[0]);
T = int.Parse(arr[1]);
int[] c = new int[kosuu];
int[] t = new int... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 251 | 2 |
using System;
class Program {
static void Main() {
string[] input = Console.ReadLine().Split(' ');
int n = int.Parse(input[0]);
int T = int.Parse(input[1]);
int C = 1001;
for (int i = 0; i < n; i++) {
string[] inputl = Console.ReadLine().Split(' ');
int c = int.Parse(inputl[0]);
... | using System;
class Program {
static void Main() {
string[] input = Console.ReadLine().Split(' ');
int n = int.Parse(input[0]);
int T = int.Parse(input[1]);
int C = 1001;
for (int i = 0; i < n; i++) {
string[] inputl = Console.ReadLine().Split(' ');
int c = int.Parse(inputl[0]);
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 170 | 2 |
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();
int inputCount = inpt[0];
int timeLimit = inpt[1];
string ans = "... | 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();
int inputCount = inpt[0];
int timeLimit = inpt[1];
string ans = "... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 11, 12, 213, 63, 214, 205, 23, 0, 24], ["-", 12, 213, 63, 214, 205, 23, 0, 16, 31, 22], ["-", 12, 213, 63, 214, 205, 23, 0, 16, 17, 72], ["-", 12, 213, 63, 214, 205, 23, 0, 16, 12, 203], ["-", 0, 11, 12, 213, 63, 214, 205,... | 8 | 309 | 8 |
using System;
using System.Linq;
namespace abc112_b {
class Program {
static void Main(string[] args) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
int min = int.MaxValue;
for (int i = 0; i < x[0]; i++) {
int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray();
... | using System;
using System.Linq;
namespace abc112_b {
class Program {
static void Main(string[] args) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
int min = int.MaxValue;
for (int i = 0; i < x[0]; i++) {
int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray();
... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 152 | 2 |
using System;
using static System.Console;
using static System.Math;
public class Hello {
public static void Main() {
int kazu = int.Parse(ReadLine());
int[] xza = new int[kazu];
int[] yza = new int[kazu];
int[] hig = new int[kazu];
for (int i = 0; i < kazu; i++) {
string[] temp = ReadLine... | using System;
using static System.Console;
using static System.Math;
public class Hello {
public static void Main() {
int kazu = int.Parse(ReadLine());
int[] xza = new int[kazu];
int[] yza = new int[kazu];
int[] hig = new int[kazu];
for (int i = 0; i < kazu; i++) {
string[] temp = ReadLine... | [["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 16, 12, 213, 3, 4, 0, 25], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 21], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 467 | 5 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x = new int[n];
int[] y = new int[n];
int[] h = new int[n];
for (int i = 0; i < n; i++) {
int[] tmp = Console.ReadLine().Split().Select(int.Parse).ToArray();
... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x = new int[n];
int[] y = new int[n];
int[] h = new int[n];
for (int i = 0; i < n; i++) {
int[] tmp = Console.ReadLine().Split().Select(int.Parse).ToArray();
... | [["-", 0, 7, 8, 196, 0, 57, 64, 93, 0, 94], ["+", 0, 7, 8, 196, 0, 57, 64, 126, 0, 127], ["+", 0, 7, 8, 196, 0, 57, 64, 126, 0, 22], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 38], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 35]] | 8 | 364 | 5 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
public class C {
public static void Main() {
int N = Int32.Parse(Console.ReadLine());
int[] x = new int[N];
int[] y = new int[N];
int[] h = new int[N];
for (int i = 0; i < N; i++) {
string[] args ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
public class C {
public static void Main() {
int N = Int32.Parse(Console.ReadLine());
int[] x = new int[N];
int[] y = new int[N];
int[] h = new int[N];
for (int i = 0; i < N; i++) {
string[] args ... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47]] | 8 | 435 | 2 |
using System;
namespace ConsoleApp {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
var x = new int[N];
var y = new int[N];
var h = new int[N];
for (int i = 0; i < N; i++) {
var str = Console.ReadLine();
var strs = str.Split(' ');
x[i] ... | using System;
namespace ConsoleApp {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
var x = new int[N];
var y = new int[N];
var h = new int[N];
for (int i = 0; i < N; i++) {
var str = Console.ReadLine();
var strs = str.Split(' ');
x[i] ... | [["+", 0, 7, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 7, 8, 196, 0, 7, 8, 196, 0, 46]] | 8 | 386 | 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, 16, 31, 16, 12, 213, 3, 4, 0, 25], ["-", 0, 28, 0, 16, 12, 213, 3, 4, 0, 25]] | 8 | 6,570 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using Debug = System.Diagnostics.Trace;
using SB = System.Text.StringBuilder;
// using System.Numerics;
using static System.Math;
using static System.Console;
namespace Program {
public class Solver {
Random rnd = new Random(... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using Debug = System.Diagnostics.Trace;
using SB = System.Text.StringBuilder;
// using System.Numerics;
using static System.Math;
using static System.Console;
namespace Program {
public class Solver {
Random rnd = new Random(... | [["-", 0, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["-", 0, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 205, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 0, 131], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 213, 6... | 8 | 1,061 | 7 |
using System;
namespace AtCoder {
public class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x1 = new int[100];
int[] y1 = new int[100];
int[] h1 = new int[100];
int n1 = 0;
int[] x0 = new int[100];
int[] y0 = new int[100];
int n0 = 0;
fo... | using System;
namespace AtCoder {
public class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] x1 = new int[100];
int[] y1 = new int[100];
int[] h1 = new int[100];
int n1 = 0;
int[] x0 = new int[100];
int[] y0 = new int[100];
int n0 = 0;
fo... | [["+", 0, 57, 64, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46]] | 8 | 481 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
// https://beta.atcoder.jp/contests/abc112/tasks/abc112_c
public class Program_ABC112_C // ←Class名変更!!
{
public static void Main(string[] args) {
var n = int.Parse(ReadLine());
var point... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
// https://beta.atcoder.jp/contests/abc112/tasks/abc112_c
public class Program_ABC112_C // ←Class名変更!!
{
public static void Main(string[] args) {
var n = int.Parse(ReadLine());
var point... | [["-", 0, 57, 75, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 57, 75, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 57, 75, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 57, 75, 196, 0, 57, 15, 16, 12, 22]] | 8 | 382 | 4 |
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;
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 Myon {
public Myon() {}
public static int Main() {
new Myon().calc();
return 0;
}
Scanner cin;
void calc() {
... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 1,038 | 4 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Globalization;
using static System.Console;
using static System.Math;
namespace abc112_c {
class Program {
static void Main(string[] args) {
int ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Globalization;
using static System.Console;
using static System.Math;
namespace abc112_c {
class Program {
static void Main(string[] args) {
int ... | [["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 35], ["-", 0, 212, 0, 16, 31, 16, 31, 214, 141, 22], ["+", 0, 212, 0, 16, 31, 16, 31, 214, 141, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 214, 141, 22]] | 8 | 407 | 8 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
const bool IsTest = false;
const string t1 = "4\n2 3 5\n2 1 5\n1... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
const bool IsTest = false;
const string t1 = "4\n2 3 5\n2 1 5\n1... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 1,070 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.