buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderA {
static void Main() {
var sc = new Scanner();
long a = sc.NextLong();
long b = sc.NextLong();
long c = sc.NextLong();
long k = sc.NextLong();
long answer = 0;
if (k > a) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderA {
static void Main() {
var sc = new Scanner();
long a = sc.NextLong();
long b = sc.NextLong();
long c = sc.NextLong();
long k = sc.NextLong();
long answer = 0;
if (k > a) {
... | [["-", 0, 57, 75, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 75, 196, 0, 1, 0, 11, 12, 22]] | 8 | 440 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Atcoder {
public class Program {
public static void Main() {
var r = GetResult();
Debug.WriteLine(r);
Console.Write(r);
}
private static object GetResult() {
var input = ReadTexts();
long a... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Atcoder {
public class Program {
public static void Main() {
var r = GetResult();
Debug.WriteLine(r);
Console.Write(r);
}
private static object GetResult() {
var input = ReadTexts();
long a... | [["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 22], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 22]] | 8 | 234 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.AtCoder_Begginer_Contest_167 {
class B {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.AtCoder_Begginer_Contest_167 {
class B {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = i... | [["+", 75, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 75, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["+", 0, 1, 0, 11, 12, 16, 12, 241, 0, 33], ["+", 0, 1, 0, 11, 12, 16, 12, 241, 0, 203]] | 8 | 263 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
var inputs = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var a = inputs[0];
var b = inputs[1];
var c = inputs[2];
var k = inputs[3];
if (a >= k) {
Consol... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
var inputs = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var a = inputs[0];
var b = inputs[1];
var c = inputs[2];
var k = inputs[3];
if (a >= k) {
Consol... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 146 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AtCorder {
public static class Program {
static public void Main(string[] args) {
var input = Console.ReadLine().Split().Select(long.Parse).ToArray();
// var ans = 0;
if (input[0] >= input[3]) {
Console.W... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AtCorder {
public static class Program {
static public void Main(string[] args) {
var input = Console.ReadLine().Split().Select(long.Parse).ToArray();
// var ans = 0;
if (input[0] >= input[3]) {
Console.W... | [["-", 63, 214, 205, 204, 206, 207, 0, 28, 0, 203], ["+", 63, 214, 205, 204, 206, 207, 0, 28, 0, 203]] | 8 | 240 |
using System;
class Program {
static void Main(string[] args) {
int a, b, k;
string[] s = Console.ReadLine().Split(' ');
a = int.Parse(s[0]);
b = int.Parse(s[1]);
k = int.Parse(s[3]);
if (k <= a) {
Console.WriteLine(a);
} else if (k - a < b) {
Console.WriteLine(a);
} else {... | using System;
class Program {
static void Main(string[] args) {
int a, b, k;
string[] s = Console.ReadLine().Split(' ');
a = int.Parse(s[0]);
b = int.Parse(s[1]);
k = int.Parse(s[3]);
if (k <= a) {
Console.WriteLine(k);
} else if (k - a < b) {
Console.WriteLine(a);
} else {... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 128 |
using System;
namespace AtCoder {
public class Program {
public static void Main() {
ulong a, b, c, k;
string line = System.Console.ReadLine();
string[] input = line.Split(' ');
a = ulong.Parse(input[0]);
b = ulong.Parse(input[1]);
c = ulong.Parse(input[2]);
k = ulong.Parse(input[3]);
... | using System;
namespace AtCoder {
public class Program {
public static void Main() {
long a, b, c, k;
string line = System.Console.ReadLine();
string[] input = line.Split(' ');
a = long.Parse(input[0]);
b = long.Parse(input[1]);
c = long.Parse(input[2]);
k = long.Parse(input[3]);
lon... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199]] | 8 | 158 |
public class Hello {
public static void Main() {
string line1 = System.Console.ReadLine();
string[] array = line1.Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int k = int.Parse(array[3]);
int result = 0;
if (a > k) {
resul... | public class Hello {
public static void Main() {
string line1 = System.Console.ReadLine();
string[] array = line1.Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int k = int.Parse(array[3]);
int result = 0;
if (a > k) {
resul... | [["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22]] | 8 | 159 |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Linq;
using System.Text;
using static System.Math;
class MainClass {
public static void Main(string[] args) {
var _ = LnLngs();
var A = _[0];
var B = _[1];
var C = _[2];
var K = _[3];
if (A >= K) {
prin... | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Linq;
using System.Text;
using static System.Math;
class MainClass {
public static void Main(string[] args) {
var _ = LnLngs();
var A = _[0];
var B = _[1];
var C = _[2];
var K = _[3];
if (A >= K) {
prin... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 979 |
using System;
using static System.Console;
using System.Linq;
namespace Main {
class Program {
static void Main(string[] args) {
long[] tmp = ReadLine().Split(' ').Select(long.Parse).ToArray();
long A = tmp[0];
long B = tmp[1];
long C = tmp[2];
long K = tmp[3];
if (K <= A) {
WriteLine(... | using System;
using static System.Console;
using System.Linq;
namespace Main {
class Program {
static void Main(string[] args) {
long[] tmp = ReadLine().Split(' ').Select(long.Parse).ToArray();
long A = tmp[0];
long B = tmp[1];
long C = tmp[2];
long K = tmp[3];
if (K <= A) {
WriteLine(... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 28, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]] | 8 | 133 |
using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
int k = int.Parse(input[3]);
int sum = 0;
int remain = k;
if (a >= k) {
Console.W... | using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
int k = int.Parse(input[3]);
int sum = 0;
int remain = k;
if (a >= k) {
Console.W... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 173 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC167 {
class B {
static void Main(string[] args) {
var ABCK = Console.ReadLine().Split().Select(long.Parse).ToArray();
var A = ABCK[0];
var B = ABCK[1];
var C = ABCK[2];
var K = ABCK[3];
var res = 0L;
if (K <=... | using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC167 {
class B {
static void Main(string[] args) {
var ABCK = Console.ReadLine().Split().Select(long.Parse).ToArray();
var A = ABCK[0];
var B = ABCK[1];
var C = ABCK[2];
var K = ABCK[3];
var res = 0L;
if (K <... | [["-", 8, 196, 0, 57, 64, 1, 0, 11, 12, 22], ["+", 8, 196, 0, 57, 64, 1, 0, 11, 12, 22]] | 8 | 143 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication6 {
class Program {
static void Main(string[] args) {
// var length = c2i(RL());
var rl = spr(RL()).Select(x => c2i(x)).ToList();
var A = rl[0];
var B = rl[1... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication6 {
class Program {
static void Main(string[] args) {
// var length = c2i(RL());
var rl = spr(RL()).Select(x => c2i(x)).ToList();
var A = rl[0];
var B = rl[1... | [["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22]] | 8 | 242 |
using System;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
var input = Console.ReadLine().Split(' ');
var a = int.Parse(input[0]);
var b = int.Parse(input[1]);
var c = int.Parse(input[2]);
var k = int.Parse(input[3]);
if (k <= a) {
Console.WriteLine(k);... | using System;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
var input = Console.ReadLine().Split(' ');
var a = int.Parse(input[0]);
var b = int.Parse(input[1]);
var c = int.Parse(input[2]);
var k = int.Parse(input[3]);
if (k <= a) {
Console.WriteLine(k);... | [["-", 0, 28, 0, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 28, 0, 16, 12, 23, 0, 16, 17, 33]] | 8 | 140 |
using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
long[] data = ReadLine().Split(' ').Select(long.Parse).ToArray();
if (data[0] >= data[3]) {
WriteLine(data[3]);
} else if (data[0] + data[1] >= data[3]) {
Wri... | using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
long[] data = ReadLine().Split(' ').Select(long.Parse).ToArray();
if (data[0] >= data[3]) {
WriteLine(data[3]);
} else if (data[0] + data[1] >= data[3]) {
Wri... | [["-", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203]] | 8 | 164 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
var ABCK = Console.ReadLine().Split().Select(s => ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
var ABCK = Console.ReadLine().Split().Select(s => ... | [["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 33]] | 8 | 195 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
using static ABC167.abc167_b.Cin;
using static ABC167.abc167_b.Util;
using Pair = ABC167.abc167_b.VTuple<long, long>;
/// <summary>
/// ABC167
/// B - Easy Linear Programming
/// https://atcoder.jp/contests/ABC167/tasks/abc167... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
using static ABC167.abc167_b.Cin;
using static ABC167.abc167_b.Util;
using Pair = ABC167.abc167_b.VTuple<long, long>;
/// <summary>
/// ABC167
/// B - Easy Linear Programming
/// https://atcoder.jp/contests/ABC167/tasks/abc167... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 3,783 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Math;
using static System.Console;
using static exMath;
using static exReadLine;
class Program {
static void Main(string[] args) {
int A, B, C, K;
intReadLine(out A, out B, out ... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Math;
using static System.Console;
using static exMath;
using static exReadLine;
class Program {
static void Main(string[] args) {
int A, B, C, K;
intReadLine(out A, out B, out ... | [["+", 0, 213, 3, 4, 0, 28, 0, 213, 63, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 21], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]] | 8 | 842 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | [["+", 0, 200, 0, 212, 0, 41, 15, 16, 17, 47], ["+", 0, 200, 0, 212, 0, 41, 15, 16, 12, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 0, 101], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 64, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 41, 0, 102], ["+", 0, 41, 75, 41, 15, 16, 31, 16, 31, 22]] | 8 | 1,539 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Numerics;
using System.Threading;
using static System.Math;
using static System.Array;
using static AtCoder.IO_ShortCut;
using static AtCoder.Tool;
using static AtCoder.ModInt;
namespace AtCoder {
class A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Numerics;
using System.Threading;
using static System.Math;
using static System.Array;
using static AtCoder.IO_ShortCut;
using static AtCoder.Tool;
using static AtCoder.ModInt;
namespace AtCoder {
class A... | [["+", 0, 213, 3, 4, 0, 28, 0, 213, 63, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 21], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]] | 8 | 2,237 |
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 ABC167B {
static bool SAIKI = false;
sta... | 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 ABC167B {
static bool SAIKI = false;
sta... | [["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 24], ["+", 0, 11, 12, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 21], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 25]] | 8 | 1,453 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoder {
class Program {
private static void Main(string[] args) {
var s = Scanner.ArrayInt(3);
var max = s[2];
var columnCount = s[1] + 1;
var books = new Lis... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoder {
class Program {
private static void Main(string[] args) {
var s = Scanner.ArrayInt(3);
var max = s[2];
var columnCount = s[1] + 1;
var books = new Lis... | [["-", 8, 196, 0, 7, 15, 16, 12, 204, 205, 22], ["-", 0, 7, 15, 16, 12, 204, 206, 207, 0, 70], ["-", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 7, 15, 16, 12, 204, 206, 207, 0, 73], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 1,340 |
using System;
using System.Linq;
namespace Contest {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = input[0];
int m = input[1];
int x = input[2];
int[] c = new int[n];
int[,] a = new int[n, m];
for (int i =... | using System;
using System.Linq;
namespace Contest {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = input[0];
int m = input[1];
int x = input[2];
int[] c = new int[n];
int[,] a = new int[n, m];
for (int i =... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 364 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Hello {
public static void Main() {
//入力を保持する
var NMX = Console.ReadLine().Split().Select(v => int.Parse(v)).ToArray();
//本の種類N
var N = NMX[0];
//アルゴリズムの種類M
var M = NMX[1];
//目標経験値
var X = NMX[2];
//経験値... | using System;
using System.Collections.Generic;
using System.Linq;
public class Hello {
public static void Main() {
var NMX = Console.ReadLine().Split().Select(v => int.Parse(v)).ToArray();
var N = NMX[0]; //本の種類N
var M = NMX[1]; //アルゴリズムの種類M
var X = NMX[2]; //目標... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 532 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Hello {
public static void Main() {
//入力を保持する
var NMX = Console.ReadLine().Split().Select(v => int.Parse(v)).ToArray();
//本の種類N
var N = NMX[0];
//アルゴリズムの種類M
var M = NMX[1];
//目標経験値
var X = NMX[2];
//経験値... | using System;
using System.Collections.Generic;
using System.Linq;
public class AtCoder {
public static void Main() {
//入力を保持する
var NMX = Console.ReadLine().Split().Select(v => int.Parse(v)).ToArray();
//本の種類N
var N = NMX[0];
//アルゴリズムの種類M
var M = NMX[1];
//目標経験値
var X = NMX[2];
//経... | [["-", 36, 36, 36, 36, 0, 208, 0, 235, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 235, 141, 22], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 532 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
private static int largeV = 999999;
static void Main(string[] args) {
var list = new List<int[]>();
int[] arr =
Console.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray();
int n = arr[0]... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
private static int largeV = 9999999;
static void Main(string[] args) {
var list = new List<int[]>();
int[] arr =
Console.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray();
int n = arr[0... | [["-", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 430 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
var list = new List<int[]>();
int[] arr =
Console.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray();
int n = arr[0];
int m = arr[1];
int minValue... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
var list = new List<int[]>();
int[] arr =
Console.ReadLine().Split(' ').Select(a => int.Parse(a)).ToArray();
int n = arr[0];
int m = arr[1];
int minValue... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 64, 37, 0, 203], ["+", 0, 195, 8, 196, 0, 57, 64, 37, 0, 203], ["-", 0, 7, 8, 196, 0, 57, 64, 37, 0, 2... | 8 | 425 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static AtCoderTemplate.MyLibrary;
namespace AtCoderTemplate {
class Program {
static void Main(string[] args) {
long ans = long.MaxValue;
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static AtCoderTemplate.MyLibrary;
namespace AtCoderTemplate {
class Program {
static void Main(string[] args) {
long ans = long.MaxValue;
... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 72], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 418 |
using System;
using System.Collections.Generic;
using System.Linq;
class abc167_c {
public static void Main() {
String[] str = Console.ReadLine().Split(' ');
int n = int.Parse(str[0]);
int m = int.Parse(str[1]);
int x = int.Parse(str[2]);
int[] cost = new int[n];
int[,] val = new int[n, m];
... | using System;
using System.Collections.Generic;
using System.Linq;
class abc167_c {
public static void Main() {
String[] str = Console.ReadLine().Split(' ');
int n = int.Parse(str[0]);
int m = int.Parse(str[1]);
int x = int.Parse(str[2]);
int[] cost = new int[n];
int[,] val = new int[n, m];
... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 205, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 0, 131], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 57, 15, 16, 12, 214, 205, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 2... | 8 | 545 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
using System.Text.RegularExpressions;
namespace Yuzuki {
class Yukari {
static int n, m, x;
static int[] cs;
static int[,] As;
public static voi... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
using System.Text.RegularExpressions;
namespace Yuzuki {
class Yukari {
static int n, m, x;
static int[] cs;
static int[,] As;
public static voi... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22]] | 8 | 398 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
private static readonly int INF = 100000000;
static void Main(string[] args) {
string[] nmx = Console.ReadLine().Split(' ');
int n = int.Parse(nmx[0]);
int m = int.Parse(nmx[1]);
int x = int.Parse(nmx[2]);
int[,] ... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
private static readonly int INF = 1001001001;
static void Main(string[] args) {
string[] nmx = Console.ReadLine().Split(' ');
int n = int.Parse(nmx[0]);
int m = int.Parse(nmx[1]);
int x = int.Parse(nmx[2]);
int[,]... | [["-", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203]] | 8 | 399 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharpSample01 {
class Program {
public class Value {
public long money { get; set; }
public List<long> skill { get; set; }
}
static void Main(string[] args) {
var inputNum = Console.ReadLine().Split(' ').Select(long.Parse)... | using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharpSample01 {
class Program {
public class Value {
public long money { get; set; }
public List<long> skill { get; set; }
}
static void Main(string[] args) {
var inputNum = Console.ReadLine().Split(' ').Select(long.Parse)... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 471 |
using System;
namespace ABC167C {
class Program {
static void Main(string[] args) {
var target = Console.ReadLine().Split(' ');
int N = int.Parse(target[0]);
int M = int.Parse(target[1]);
int X = int.Parse(target[2]);
int[] cost = new int[N];
int[,] text = new int[N, M];
int min_cost = 10... | using System;
namespace ABC167C {
class Program {
static void Main(string[] args) {
var target = Console.ReadLine().Split(' ');
int N = int.Parse(target[0]);
int M = int.Parse(target[1]);
int X = int.Parse(target[2]);
int[] cost = new int[12];
int[,] text = new int[12, 12];
int min_cost =... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203]] | 8 | 396 |
using System;
namespace AtC167 {
class Program {
static void Main(string[] args) {
string[] NMX;
NMX = Console.ReadLine().Split(' ');
int N = int.Parse(NMX[0]);
int M = int.Parse(NMX[1]);
int X = int.Parse(NMX[2]);
int[][] A = new int [N][];
for (int i = 0; i < N; i++) {
string[] C... | using System;
namespace AtC167 {
class Program {
static void Main(string[] args) {
string[] NMX;
NMX = Console.ReadLine().Split(' ');
int N = int.Parse(NMX[0]);
int M = int.Parse(NMX[1]);
int X = int.Parse(NMX[2]);
int[][] A = new int [N][];
for (int i = 0; i < N; i++) {
string[] C... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203]] | 8 | 389 |
using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int n = int.Parse(input[0]);
int m = int.Parse(input[1]);
int x = int.Parse(input[2]);
int[,] value = new int[n, m];
int[] price = new int[n];
int[] algoCheck = new int[m];
f... | using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int n = int.Parse(input[0]);
int m = int.Parse(input[1]);
int x = int.Parse(input[2]);
int[,] value = new int[n, m];
int[] price = new int[n];
int[] algoCheck = new int[m];
f... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 430 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | [["-", 0, 28, 0, 218, 8, 16, 12, 204, 205, 22], ["-", 0, 218, 8, 16, 12, 204, 206, 207, 0, 70], ["-", 0, 218, 8, 16, 12, 204, 206, 207, 0, 73]] | 8 | 1,647 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp15 {
class Class316 {
static int N;
static long K;
static int[] A;
static long loop = 1;
static long s = 0;
static int[] T1;
static int[] T2;
static void Main() {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp15 {
class Class316 {
static int N;
static long K;
static int[] A;
static long loop = 0;
static long s = 0;
static int[] T1;
static int[] T2;
static void Main() {
... | [["-", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]] | 8 | 369 |
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 = ... | [["-", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 648 |
using System;
using static System.Console;
using static System.Math;
using System.IO;
using System.Collections.Generic;
namespace 水色コーダーに俺はなった {
class Inonoa {
/* ここに書け */
static void Main() {
long[] nk = ILongs();
long n = nk[0];
long k = nk[1];
long[] a = ILongs();
long[] last = new long[n... | using System;
using static System.Console;
using static System.Math;
using System.IO;
using System.Collections.Generic;
namespace 水色コーダーに俺はなった {
class Inonoa {
/* ここに書け */
static void Main() {
long[] nk = ILongs();
long n = nk[0];
long k = nk[1];
long[] a = ILongs();
long[] last = new long[n... | [["+", 0, 16, 31, 23, 0, 16, 12, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 17, 72], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 12, 203], ["+", 0, 16, 31, 23, 0, 16, 12, 23, 0, 25], ["-", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 598 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using stat... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using stat... | [["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 0, 57, 64, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 57, 64, 196, 0, 7, 15, 16, 12, ... | 8 | 2,074 |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program {
const string Yes = "Yes";
const string No = "No";
const long Mod = 1000000007;
static void Main(string[] args) {
#if DEBUG
... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program {
const string Yes = "Yes";
const string No = "No";
const long Mod = 1000000007;
static void Main(string[] args) {
#if DEBUG
... | [["-", 0, 37, 0, 16, 31, 213, 63, 214, 205, 22], ["-", 0, 37, 0, 16, 31, 213, 63, 214, 0, 131], ["-", 0, 37, 0, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 37, 0, 16, 31, 213, 3, 4, 0, 24], ["-", 0, 37, 0, 16, 31, 213, 3, 4, 0, 25], ["+", 0, 57, 64, 196, 0, 37, 0, 16, 31, 22]] | 8 | 419 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 1,280 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
class Program {
static void Main(string[] args) {
// 入力
// var s = Console.ReadLine();
// var n = long.Parse(Console.ReadLine());
long[] input = Console.ReadLine().Split().Select(long.Parse... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
class Program {
static void Main(string[] args) {
// 入力
// var s = Console.ReadLine();
// var n = long.Parse(Console.ReadLine());
long[] input = Console.ReadLine().Split().Select(long.Parse... | [["-", 0, 28, 0, 74, 51, 23, 0, 16, 17, 33], ["-", 0, 28, 0, 74, 51, 23, 0, 16, 12, 203], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 12, 203]] | 8 | 358 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC167 {
class C {
static void Main(string[] args) {
var NK = Console.ReadLine().Split().Select(long.Parse).ToArray();
var N = NK[0];
var K = NK[1];
var A = Console.ReadLine().Split().Select(long.Parse).ToArray();
var B... | using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC167 {
class C {
static void Main(string[] args) {
var NK = Console.ReadLine().Split().Select(long.Parse).ToArray();
var N = NK[0];
var K = NK[1];
var A = Console.ReadLine().Split().Select(long.Parse).ToArray();
var B... | [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 22]] | 8 | 329 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
class Program {
public static void Main() {
String[] input = Console.ReadLine().Split();
long N = long.Parse(input[0]);
long K = long.Parse(input[1]);
int[] A = new int[N];
long[] temp = new long[N];
inpu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
class Program {
public static void Main() {
String[] input = Console.ReadLine().Split();
long N = long.Parse(input[0]);
long K = long.Parse(input[1]);
int[] A = new int[N];
long[] temp = new long[N];
inpu... | [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 17, 33], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]] | 8 | 294 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ClassLibrary1 {
public class ListNode {
public int val;
public ListNode next;
public ListNode(int x) { val = x; }
}
class StringComparator2 : IComparer<string> {
int IComparer<string>.Compare(string a, string b) {
int length = Ma... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ClassLibrary1 {
public class ListNode {
public int val;
public ListNode next;
public ListNode(int x) { val = x; }
}
class StringComparator2 : IComparer<string> {
int IComparer<string>.Compare(string a, string b) {
int length = Ma... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 72], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 2,216 |
using System;
class MainClass {
public static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int S = int.Parse(input[0]);
int W = int.Parse(input[1]);
string result;
if (S <= W) {
Console.WriteLine("Unsafe");
} else {
Console.WriteLine("Safe");
... | using System;
class MainClass {
public static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int S = int.Parse(input[0]);
int W = int.Parse(input[1]);
string result;
if (S <= W) {
Console.WriteLine("unsafe");
} else {
Console.WriteLine("safe");
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 95 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using static Input;
using static Util;
class Program {
static int S;
static int W;
static void INPUT() {
S = NextInt();
W = NextInt();
}
static void OUT() { Console.Wri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using static Input;
using static Util;
class Program {
static int S;
static int W;
static void INPUT() {
S = NextInt();
W = NextInt();
}
static void OUT() { Console.Wri... | [["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19], ["-", 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 | 437 |
using System;
namespace _164_1 {
class Program {
static void Main(string[] args) {
string a = Console.ReadLine();
var b = a.Split(' ');
if (int.Parse(b[0]) > int.Parse(b[1])) {
Console.WriteLine("safe");
} else {
Console.WriteLine("unsefe");
}
}
}
}
| using System;
namespace _164_1 {
class Program {
static void Main(string[] args) {
string a = Console.ReadLine();
var b = a.Split(' ');
if (int.Parse(b[0]) > int.Parse(b[1])) {
Console.WriteLine("safe");
} else {
Console.WriteLine("unsafe");
}
}
}
}
| [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 88 |
using System;
namespace ConsoleApp23 {
class Program {
static void Main(string[] args) {
string line = Console.ReadLine();
string[] array = line.Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int d = int.Parse(array[3]);
int ar = 0;
... | using System;
namespace ConsoleApp23 {
class Program {
static void Main(string[] args) {
string line = Console.ReadLine();
string[] array = line.Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int d = int.Parse(array[3]);
int ar = 0;
... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 194 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20_0362_Atcorder {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = int.Parse(input[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20_0362_Atcorder {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = int.Parse(input[1]);
... | [["-", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 0, 52, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 52, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 52, 8... | 8 | 247 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Battle_0528_1問目 {
class Program {
static void Main(string[] args) {
string[] A = Console.ReadLine().Split(' ');
int W = int.Parse(A[0]);
int X = int.Parse(A[1]);
int Y = int.P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Battle_0528_1問目 {
class Program {
static void Main(string[] args) {
string[] A = Console.ReadLine().Split(' ');
int W = int.Parse(A[0]);
int X = int.Parse(A[1]);
int Y = int.P... | [["-", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22]] | 8 | 259 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20200528kensyu {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = int.Parse(input[1]);
i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20200528kensyu {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int A = int.Parse(input[0]);
int B = int.Parse(input[1]);
i... | [["-", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 31, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 11, 31, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 11, 31, 214, 141, 22], ["-", 0, 52, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 0, 131], ["+",... | 8 | 259 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Contests.ABC164 {
/// <summary>
///
/// </summary>
static class B {
static void Main(string[] args) {
var a = NextInt();
var b = NextInt();
var c = NextInt();
var d = NextInt();
Console.Write... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Contests.ABC164 {
/// <summary>
///
/// </summary>
static class B {
static void Main(string[] args) {
var a = NextInt();
var b = NextInt();
var c = NextInt();
var d = NextInt();
Console.Write... | [["-", 31, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["-", 12, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["-", 0, 28, 0, 41, 15, 16, 12, 16, 12, 22], ["+", 0, 28, 0, 41, 15, 16, 12, 16, 12, 22]] | 8 | 553 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Atcoder {
public class Program {
public static void Main() {
var r = GetResult();
Debug.WriteLine(r);
Console.Write(r);
}
private static object GetResult() {
var input = ReadTexts();
string... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Atcoder {
public class Program {
public static void Main() {
var r = GetResult();
Debug.WriteLine(r);
Console.Write(r);
}
private static object GetResult() {
var input = ReadTexts();
string... | [["-", 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 | 260 |
using System;
// using System.Collections.Generic;
public class TestC {
public static void Main() {
string line = Console.ReadLine();
string[] numbers = line.Split(' ');
int takahashi_HP = int.Parse(numbers[0]);
int takahashi_AP = int.Parse(numbers[1]);
int aoki_HP = int.Parse(numbers[2]);
in... | using System;
// using System.Collections.Generic;
public class TestC {
public static void Main() {
string line = Console.ReadLine();
string[] numbers = line.Split(' ');
int takahashi_HP = int.Parse(numbers[0]);
int takahashi_AP = int.Parse(numbers[1]);
int aoki_HP = int.Parse(numbers[2]);
in... | [["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 98]] | 8 | 141 |
using System;
namespace B {
class Program {
static int[] ToInt(string[] str) {
int len = str.Length;
int[] intAry = new int[len];
for (int i = 0; i < len; i++) {
intAry[i] = int.Parse(str[i]);
}
return intAry;
}
static void Main(string[] args) {
int[] IntAry = ToInt(Console.ReadLine... | using System;
namespace B {
class Program {
static int[] ToInt(string[] str) {
int len = str.Length;
int[] intAry = new int[len];
for (int i = 0; i < len; i++) {
intAry[i] = int.Parse(str[i]);
}
return intAry;
}
static void Main(string[] args) {
int[] IntAry = ToInt(Console.ReadLine... | [["-", 0, 212, 0, 227, 0, 229, 0, 5, 0, 222], ["+", 0, 212, 0, 227, 0, 229, 0, 5, 0, 222], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]] | 8 | 273 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Linq;
using E = System.Linq.Enumerable;
internal partial class Solver {
public void Run() {
var a = ni();
var b = ni();
var c ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Linq;
using E = System.Linq.Enumerable;
internal partial class Solver {
public void Run() {
var a = ni();
var b = ni();
var c ... | [["-", 8, 196, 0, 57, 64, 37, 0, 211, 0, 146], ["+", 8, 196, 0, 57, 64, 37, 0, 211, 0, 147]] | 8 | 1,161 |
using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
int[] a = ReadLine().Split(' ').Select(int.Parse).ToArray();
int[] takahasi = new int[] { a[0], a[1] };
int[] aoki = new int[] { a[2], a[3] };
int taka = takahasi[0]... | using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
int[] a = ReadLine().Split(' ').Select(int.Parse).ToArray();
int[] takahasi = new int[] { a[0], a[1] };
int[] aoki = new int[] { a[2], a[3] };
int taka = takahasi[0]... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]] | 8 | 184 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
namespace AtCoderApp {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var param = new int[input.Length];
for (int i = 0; i < param.Length; i++) {
param[i] =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
namespace AtCoderApp {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var param = new int[input.Length];
for (int i = 0; i < param.Length; i++) {
param[i] =... | [["-", 0, 52, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 193 |
using System;
using System.Linq;
using CompLib.Util;
public class Program {
public void Solve() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
int c = sc.NextInt();
int d = sc.NextInt();
for (int i = 0;; i++) {
if (i % 2 == 0) {
c -= b;
if (c <= ... | using System;
using System.Linq;
using CompLib.Util;
public class Program {
public void Solve() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
int c = sc.NextInt();
int d = sc.NextInt();
for (int i = 0;; i++) {
if (i % 2 == 0) {
c -= b;
if (c <= ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 469 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C_gacha {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
string[] Thg = new string[N];
for (int i = 0; i <= N; i++) {
Thg[i] = Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C_gacha {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
string[] Thg = new string[N];
for (int i = 0; i < N; i++) {
Thg[i] = Cons... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18]] | 8 | 121 |
using System;
using System.Collections.Generic;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
long n = long.Parse(Console.ReadLine());
var l = new string[n];
long ans = 0;
for (long i = 0; i < n; i++) {
var s = Console.ReadLine();
l[i] = s;
}
Array.... | using System;
using System.Collections.Generic;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
long n = long.Parse(Console.ReadLine());
var l = new string[n];
long ans = 0;
for (long i = 0; i < n; i++) {
var s = Console.ReadLine();
l[i] = s;
}
Array.... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 146 |
using System;
using System.ComponentModel;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var NK = Console.ReadLine().Split(" ");
int[] num = new int[int.Parse(NK[0]) + 1];
for (int i = 1; i <= int.Parse(NK[1]); i++) {
int d = int.Parse(Console.ReadLin... | using System;
using System.ComponentModel;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var NK = Console.ReadLine().Split(" ");
int[] num = new int[int.Parse(NK[0]) + 1];
for (int i = 1; i <= int.Parse(NK[1]); i++) {
int d = int.Parse(Console.ReadLin... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 203 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
class Abc166B {
public static void Main() {
var nk = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray();
var n = nk[0];
var k = nk[1];
var sunuke = new bool[n];
for (int i = 0; i < k; i++) {
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
class Abc166B {
public static void Main() {
var nk = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray();
var n = nk[0];
var k = nk[1];
var sunuke = new bool[n];
for (int i = 0; i < k; i++) {
... | [["+", 31, 204, 206, 207, 0, 28, 0, 204, 205, 22], ["+", 206, 207, 0, 28, 0, 204, 206, 207, 0, 70], ["+", 206, 207, 0, 28, 0, 204, 206, 207, 0, 73]] | 8 | 190 |
using System;
using System.Numerics;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace debug {
class ProgramB {
static void Main(string[] args) {
//入力
string[] a = Console.ReadLine().Split(' ');
int n = int.Parse(a[0]);
int k = int.Parse(a[0]);
int[] sunuke = new ... | using System;
using System.Numerics;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace debug {
class ProgramB {
static void Main(string[] args) {
//入力
string[] a = Console.ReadLine().Split(' ');
int n = int.Parse(a[0]);
int k = int.Parse(a[1]);
int[] sunuke = new ... | [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 221 |
using System;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
namespace ForAtcoder {
class Program {
static void Main(string[] args) {
long[] nm =
Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray();
var n = nm[0];
var m = nm[1];
long[] h =
C... | using System;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
namespace ForAtcoder {
class Program {
static void Main(string[] args) {
long[] nm =
Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray();
var n = nm[0];
var m = nm[1];
long[] h =
C... | [["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95]] | 8 | 331 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Hello {
public static void Main() {
var NM = Console.ReadLine().Split().Select(e => int.Parse(e)).ToArray();
//展望台の数
var N = NM[0];
//道の数
var M = NM[1];
//高さを高さ配列に保持する
var height = Console.ReadLine().Split().S... | using System;
using System.Collections.Generic;
using System.Linq;
public class Hello {
public static void Main() {
var NM = Console.ReadLine().Split().Select(e => int.Parse(e)).ToArray();
//展望台の数
var N = NM[0];
//道の数
var M = NM[1];
//高さを高さ配列に保持する
var height = Console.ReadLine().Split().S... | [["-", 0, 210, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 210, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 393 |
using System;
using System.Linq;
public class ABC166C {
private static void Main(string[] args) {
var inputs = ReadIntsAsArray();
var n = inputs[0];
var m = inputs[1];
var h = ReadIntsAsArray();
var isPeakArray = Enumerable.Repeat(true, n).ToArray();
for (var i = 0; i < m; i++) {
input... | using System;
using System.Linq;
public class ABC166C {
private static void Main(string[] args) {
var inputs = ReadIntsAsArray();
var n = inputs[0];
var m = inputs[1];
var h = ReadIntsAsArray();
var isPeakArray = Enumerable.Repeat(true, n).ToArray();
for (var i = 0; i < m; i++) {
input... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19]] | 8 | 217 |
using System;
namespace peaks {
class Program {
const int N = 100000;
const long M = 100000000;
static void Main(string[] args) {
int n, m;
int[] h = new int[M];
int[] ma = new int[N];
string inD0 = Console.ReadLine();
string[] cngD0 = inD0.Split(' ');
n = int.Parse(cngD0[0]);
m = ... | using System;
namespace peaks {
class Program {
const int N = 100000;
const int M = 100000000;
static void Main(string[] args) {
int n, m;
int[] h = new int[M];
int[] ma = new int[N];
string inD0 = Console.ReadLine();
string[] cngD0 = inD0.Split(' ');
n = int.Parse(cngD0[0]);
m = i... | [["-", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["+", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]] | 8 | 326 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class Peaks {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var number = int.Parse(input[0]);
var roads = int.Parse(input[1]);
var heights = Console.ReadLine().Split(' ');
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class Peaks {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var number = int.Parse(input[0]);
var roads = int.Parse(input[1]);
var heights = Console.ReadLine().Split(' ');
... | [["-", 3, 4, 0, 28, 0, 218, 8, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 218, 8, 16, 12, 203]] | 8 | 267 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
static void Solve() {
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
static void Solve() {
... | [["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95]] | 8 | 1,220 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC166 {
class Program {
static void Main(string[] args) { c(); }
public static void c() {
long[] nm = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
long[] h = Consol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC166 {
class Program {
static void Main(string[] args) { c(); }
public static void c() {
long[] nm = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
long[] h = Consol... | [["-", 75, 57, 75, 57, 64, 196, 0, 57, 0, 95]] | 8 | 386 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
class Program {
static void Main(string[] args) {
// 入力
// var s = Console.ReadLine();
// var n = int.Parse(Console.ReadLine());
long[] nm = Console.ReadLine().Split().Select(long.Parse).To... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
class Program {
static void Main(string[] args) {
// 入力
// var s = Console.ReadLine();
// var n = int.Parse(Console.ReadLine());
long[] nm = Console.ReadLine().Split().Select(long.Parse).To... | [["-", 8, 196, 0, 7, 15, 16, 12, 214, 205, 22], ["-", 8, 196, 0, 7, 15, 16, 12, 214, 0, 131], ["-", 8, 196, 0, 7, 15, 16, 12, 214, 141, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 465 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
class Program
{
public Program() {}
public static int Main() {
cin = new Scanner();
new Program().calc();
return 0;
}
static Scanner cin;
void calc() {
long N, M;... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
class Program
{
public Program() {}
public static int Main() {
cin = new Scanner();
new Program().calc();
return 0;
}
static Scanner cin;
void calc() {
long N, M;... | [["+", 0, 7, 8, 196, 0, 57, 15, 241, 0, 111]] | 8 | 898 |
using System;
using static System.Console;
using static System.Math;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main(string[] args) {
bool end = false;
long a = myRead.readLong();
string ans = "";
for (int i = -120; i < 120; i... | using System;
using static System.Console;
using static System.Math;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main(string[] args) {
bool end = false;
long a = myRead.readLong();
string ans = "";
for (int i = -120; i < 120; i... | [["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 12, 22]] | 8 | 536 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass {
static void Main() {
long X = long.Parse(ReadLine());
for (long i = -1000; i < 1000; i++) {
for (long j = -1000; j < 1000; j++) {
if (Pow(i, 5) + Pow(j, 5)... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass {
static void Main() {
long X = long.Parse(ReadLine());
for (long i = -1000; i < 1000; i++) {
for (long j = -1000; j < 1000; j++) {
if (Pow(i, 5) - Pow(j, 5)... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 72], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33]] | 8 | 119 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace ConsoleApp1 {
public class Class1 {
static void Main(string[] args) {
var X = int.Parse(Console.ReadLine());
for (var i = -1000; i < 1000; i++) {
for (var j = -1000; j < 1000; j++) {
var A = Math.Pow(i, 5);
va... | using System;
using System.Linq;
using System.Collections.Generic;
namespace ConsoleApp1 {
public class Class1 {
static void Main(string[] args) {
var X = int.Parse(Console.ReadLine());
for (var i = -1000; i < 1000; i++) {
for (var j = -1000; j < 1000; j++) {
var A = Math.Pow(i, 5);
va... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 132 |
using System;
namespace D {
class Program {
static void Main(string[] args) {
var x = int.Parse(Console.ReadLine());
for (int a = -199; a < 200; a++) {
for (int b = -200; b < a; b++) {
if (x == a * a * a * a - b * b * b * b * b) {
Console.WriteLine(a + " " + b);
goto label;
... | using System;
namespace D {
class Program {
static void Main(string[] args) {
var x = int.Parse(Console.ReadLine());
for (int a = -199; a < 200; a++) {
for (int b = -200; b < a; b++) {
if (x == a * a * a * a * a - b * b * b * b * b) {
Console.WriteLine(a + " " + b);
goto lab... | [["+", 0, 57, 15, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 57, 15, 16, 12, 16, 31, 16, 12, 22]] | 8 | 113 |
using System;
namespace ForAtCoder {
class Program {
static void Main() {
int x = int.Parse(Console.ReadLine());
for (int i = -10000; i < 10000; i++) {
for (int j = -10000; j < 10000; j++) {
if ((i * i * i * i * i) - (j * j * j * j * j) == x) {
Console.WriteLine(i.ToString() + " " + ... | using System;
namespace ForAtCoder {
class Program {
static void Main() {
int x = int.Parse(Console.ReadLine());
for (int i = 0; i < 10000; i++) {
for (int j = -10000; j < 10000; j++) {
if ((i * i * i * i * i) - (j * j * j * j * j) == x) {
Console.WriteLine(i.ToString() + " " + j.ToS... | [["-", 10, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["-", 10, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 119 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace MyProject {
class Program {
static void Main(string[] args) {
#if Local
var sw = new Stopwatch();
sw.Start();
Console.SetIn(new StreamReader("input.in"));
#endif
var solver = new S... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace MyProject {
class Program {
static void Main(string[] args) {
#if Local
var sw = new Stopwatch();
sw.Start();
Console.SetIn(new StreamReader("input.in"));
#endif
var solver = new S... | [["-", 0, 213, 3, 4, 0, 28, 0, 283, 0, 296], ["+", 0, 213, 3, 4, 0, 28, 0, 283, 0, 296]] | 8 | 290 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder2 {
class Program {
static void Main(string[] args) {
var inputArray = retreiveLongArray();
var inputCount = 1;
// 不正な入力は処理しない
if (inputArray.Length != inputCount) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder2 {
class Program {
static void Main(string[] args) {
var inputArray = retreiveLongArray();
var inputCount = 1;
// 不正な入力は処理しない
if (inputArray.Length != inputCount) {
... | [["-", 64, 196, 0, 1, 0, 223, 0, 204, 205, 22], ["+", 64, 196, 0, 1, 0, 223, 0, 204, 205, 22], ["-", 8, 196, 0, 57, 15, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 57, 15, 213, 63, 214, 205, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 204, 205, 22], ["+", 64, 196, 0, 1, 0, 11, 12, 204, 205, 22]] | 8 | 444 |
// C# program to build the smallest number
// by removing n digits from a given number
using System;
using System.Collections.Generic;
using System.Linq;
class GFG {
public static void Main(String[] args) {
var n = int.Parse(Console.ReadLine());
var arr =
Console.ReadLine().Split(' ').Select(x => lo... | // C# program to build the smallest number
// by removing n digits from a given number
using System;
using System.Collections.Generic;
using System.Linq;
class GFG {
public static void Main(String[] args) {
var n = int.Parse(Console.ReadLine());
var arr =
Console.ReadLine().Split(' ').Select(x => lo... | [["-", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 22]] | 8 | 233 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace contest_Csharp {
class Program {
static long power(long a, long b, long modulo) {
long result = 1;
long buff = a;
for (long i = 1; i <= b; i *= 2) {
result = result * ((b / i % (2) == 1) ? buff : 1) % modulo;
buff = ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace contest_Csharp {
class Program {
static long power(long a, long b, long modulo) {
long result = 1;
long buff = a;
for (long i = 1; i <= b; i *= 2) {
result = result * ((b / i % (2) == 1) ? buff : 1) % modulo;
buff = ... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 707 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass : Scanner {
static void Main() {
string S = RString();
int N = S.Length;
var dp = new long[2019];
Modular num = 0;
dp[0] = 1;
for (int i = N - 1; i >= 0; ... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass : Scanner {
static void Main() {
string S = RString();
int N = S.Length;
var dp = new long[2019];
Modular num = 0;
dp[0] = 1;
for (int i = N - 1; i >= 0; ... | [["-", 8, 196, 0, 7, 26, 11, 0, 202, 0, 108], ["+", 8, 196, 0, 7, 26, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 7, 26, 11, 12, 16, 31, 22], ["+", 8, 196, 0, 7, 26, 11, 12, 16, 17, 48], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47]] | 8 | 1,245 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
... | [["-", 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, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]] | 8 | 1,872 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.IO;
class readint {
public readint(out int i) { i = int.Parse(Console.ReadLine()); }
public readint(out int a, out int b) {
int[] sp = Console.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.IO;
class readint {
public readint(out int i) { i = int.Parse(Console.ReadLine()); }
public readint(out int a, out int b) {
int[] sp = Console.... | [["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 4,636 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
const int mod = 2019;
const int len = mod + 1;
var S = Console.ReadLine();
long all = 0;
var cur = new long[len];
foreach (var c in S) {
var nexts = new long[len];
... | using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
const int mod = 2019;
const int len = mod + 1;
var S = Console.ReadLine();
long all = 0;
var cur = new long[len];
foreach (var c in S) {
var nexts = new long[len];
... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 155 |
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, ' '));
}
... | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48]] | 8 | 446 |
using System;
namespace q1 {
class q2 {
static void Main() {
double R = double.Parse(Console.ReadLine());
Console.WriteLine(R * 3.14159);
}
}
}
| using System;
namespace q1 {
class q2 {
static void Main() {
double R = double.Parse(Console.ReadLine());
Console.WriteLine(R * 6.28318530717958623200);
}
}
}
| [["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 250], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 250]] | 8 | 41 |
using System;
using System.Linq;
namespace ConsoleApp1 {
public class Class1 {
static void Main(string[] args) {
int read = int.Parse(Console.ReadLine());
Console.Write(read * Math.PI);
}
}
} | using System;
using System.Linq;
namespace ConsoleApp1 {
public class Class1 {
static void Main(string[] args) {
int read = int.Parse(Console.ReadLine());
Console.Write(read * 2 * Math.PI);
}
}
} | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48]] | 8 | 53 |
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() {
// •ûj
//
var s = rstr();
double a = double.Parse... | 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() {
// •ûj
//
var s = rstr();
var n = double.Parse(s)... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 48... | 8 | 1,278 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
using System.Text.RegularExpressions;
namespace Yuzuki {
class Yukari {
public static void Main(string[] args) {
double r = double.Parse(Console.R... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
using System.Text.RegularExpressions;
namespace Yuzuki {
class Yukari {
public static void Main(string[] args) {
double r = double.Parse(Console.R... | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48]] | 8 | 87 |
using System;
namespace Circle {
class Program {
static void Main(string[] args) {
var R = 0;
R = int.Parse(Console.ReadLine());
Console.WriteLine((double)R * Math.PI);
}
}
} | using System;
namespace Circle {
class Program {
static void Main(string[] args) {
var R = 0;
R = int.Parse(Console.ReadLine());
Console.WriteLine((double)R * Math.PI * 2.0);
}
}
}
| [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 250]] | 8 | 54 |
/*******************************************************************************
* Author: Nirushuu
* Date: 2020-04-17
*******************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.IO;
using Syst... | /*******************************************************************************
* Author: Nirushuu
* Date: 2020-04-17
*******************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.IO;
using Syst... | [["+", 63, 214, 205, 23, 0, 16, 31, 16, 31, 203], ["+", 63, 214, 205, 23, 0, 16, 31, 16, 17, 48]] | 8 | 1,308 |
using System;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
var input = int.Parse(Console.ReadLine());
var ans = input * Math.PI;
Console.WriteLine(ans);
}
}
} | using System;
namespace AtCoder {
public static class AtCoder {
public static void Main() {
var input = int.Parse(Console.ReadLine());
var ans = input * 2 * Math.PI;
Console.WriteLine(ans);
}
}
} | [["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48]] | 8 | 51 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Main {
class Program {
static void Main(string[] args) {
//ここから
// string[] str = Console.ReadLine().Split(' ');
// int n = int.Parse(Console.ReadLine());
int n = int.Parse(Console.ReadLine());
... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Main {
class Program {
static void Main(string[] args) {
//ここから
// string[] str = Console.ReadLine().Split(' ');
// int n = int.Parse(Console.ReadLine());
int n = int.Parse(Console.ReadLine());
... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 94 |
using System;
namespace AtCoder {
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine());
Console.WriteLine(n * Math.PI);
}
}
} | using System;
namespace AtCoder {
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine());
Console.WriteLine(n * 2.0 * Math.PI);
}
}
} | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 250], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48]] | 8 | 43 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using static System.Math;
namespace CSharpSpiral {
class Program {
static void Main(string[] args) {
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush =
#... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using static System.Math;
namespace CSharpSpiral {
class Program {
static void Main(string[] args) {
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush =
#... | [["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 769 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using static System.Console;
namespace AtCoder_1 {
class Program {
static void Main(string[] args) {
var N = CinT();
double p = 2.0 * N + Math.PI;
Cout... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using static System.Console;
namespace AtCoder_1 {
class Program {
static void Main(string[] args) {
var N = CinT();
double p = 2.0 * N * Math.PI;
Cout... | [["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48]] | 8 | 1,095 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.