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.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
static void Main(string[] args) {
var r = ReadSplit();
var h = r[0].ToInt();
var w = r[1].ToInt();
var k = r[2].ToInt();... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
static void Main(string[] args) {
var r = ReadSplit();
var h = r[0].ToInt();
var w = r[1].ToInt();
var k = r[2].ToInt();... | [["+", 0, 7, 15, 16, 12, 16, 12, 23, 0, 24], ["+", 15, 16, 12, 16, 12, 23, 0, 16, 17, 33], ["+", 15, 16, 12, 16, 12, 23, 0, 16, 12, 203], ["+", 0, 7, 15, 16, 12, 16, 12, 23, 0, 25]] | 8 | 775 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace AtCoder {
public class MainClass {
public static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput(), Console.Out.Encoding);
sw.AutoFlush = false;
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace AtCoder {
public class MainClass {
public static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput(), Console.Out.Encoding);
sw.AutoFlush = false;
... | [["-", 0, 200, 0, 212, 0, 297, 0, 229, 0, 258], ["+", 0, 200, 0, 212, 0, 297, 0, 229, 0, 258], ["+", 0, 57, 64, 37, 0, 16, 31, 16, 17, 33], ["+", 0, 57, 64, 37, 0, 16, 31, 16, 12, 22], ["+", 8, 196, 0, 57, 64, 37, 0, 16, 17, 33], ["+", 8, 196, 0, 57, 64, 37, 0, 16, 12, 203]] | 8 | 1,831 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split();
int H = int.Parse(str[0]);
int W = int.Parse(str[1]);
int K = int.Parse(str[2]);
int[,] A = new int[H, W];
for (var i = 0; i < H; i++) {
string s =... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split();
int H = int.Parse(str[0]);
int W = int.Parse(str[1]);
int K = int.Parse(str[2]);
int[,] A = new int[H, W];
for (var i = 0; i < H; i++) {
string s =... | [["+", 31, 16, 31, 16, 31, 16, 12, 74, 0, 24], ["+", 31, 16, 31, 16, 31, 16, 12, 74, 39, 199], ["+", 31, 16, 31, 16, 31, 16, 12, 74, 0, 25], ["+", 15, 16, 31, 16, 31, 16, 12, 74, 0, 24], ["+", 15, 16, 31, 16, 31, 16, 12, 74, 39, 199], ["+", 15, 16, 31, 16, 31, 16, 12, 74, 0, 25]] | 8 | 493 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Diagnostics;
using System.Numerics;
using static System.Console;
using static System.Convert;
using static System.Math;
using static Template;
using Pi = Pair<int, i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Diagnostics;
using System.Numerics;
using static System.Console;
using static System.Convert;
using static System.Math;
using static Template;
using Pi = Pair<int, i... | [["+", 0, 7, 8, 57, 64, 196, 0, 93, 0, 94], ["+", 0, 7, 8, 57, 64, 196, 0, 93, 0, 35], ["+", 0, 7, 8, 57, 64, 196, 0, 1, 0, 35]] | 8 | 2,056 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoderCs {
class Program {
static void Main() {
int[] Array = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
Console.WriteLine(Array[int.Parse(Console.Re... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoderCs {
class Program {
static void Main() {
int[] Array = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
Console.WriteLine(Array[int.Parse(Console.Re... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 120 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PaizaTest {
class Program {
static void Main(string[] args) {
var text =
"1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51";
var line = text.Split(',').Select(x => int.Parse(x... | using System;
using System.Collections.Generic;
using System.Linq;
namespace PaizaTest {
class Program {
static void Main(string[] args) {
var text =
"1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51";
var line = text.Split(',').Select(x => int.Parse(x... | [["-", 3, 4, 0, 28, 0, 213, 63, 214, 0, 131], ["-", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["-", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["-", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25], ["-", 0, 213, 3, 4, 0, 28, 0, 204, 205, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 204, 205, 22]] | 8 | 99 |
using System;
namespace Sample {
class Sample {
static void Main() {
int line = int.Parse(System.Console.ReadLine());
string[] src = new string[32] { "1", "1", "1", "2", "1", "2", "1", "5",
"2", "2", "1", "5", "1", "2", "1", "14",
"1",... |
using System;
namespace Sample {
class Sample {
static void Main() {
int line = int.Parse(System.Console.ReadLine());
string[] src = new string[32] { "1", "1", "1", "2", "1", "2", "1", "5",
"2", "2", "1", "5", "1", "2", "1", "14",
"1", ... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 188 |
using System;
class Program {
private static int[] data = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1,
5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2,
1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
static void Main(string[] args) {
int a, b, c;
a = int.Parse(Console.ReadLine... | using System;
class Program {
private static int[] data = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1,
5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2,
1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
static void Main(string[] args) {
int a, b, c;
a = int.Parse(Console.ReadLine... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 128 |
using System;
using static System.Console;
namespace atcoder {
class Program {
static void Main(string[] args) {
int K = int.Parse(ReadLine());
int[] A = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
WriteLine(A[K]);
}
}
} | using System;
using static System.Console;
namespace atcoder {
class Program {
static void Main(string[] args) {
int K = int.Parse(ReadLine());
int[] A = { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
WriteLine(A[K - 1]);
}
}
} | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 119 |
using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
int[] k = new int[32] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
int n = int.Parse(Re... | using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
int[] k = new int[32] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 };
int n = int.Parse(Re... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 130 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A_Kth_Term {
class Program {
static void Main(string[] args) {
var Si = new int[] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A_Kth_Term {
class Program {
static void Main(string[] args) {
var Si = new int[] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, ... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 143 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var k = int.Parse(Console.ReadLine());
var array = new int[] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 ... | using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var k = int.Parse(Console.ReadLine());
var array = new int[] { 1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14,
1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51 ... | [["+", 0, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 0, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 125 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main() {
long[] n = Console.ReadLine().Split().Select(a => long.Parse(a)).ToArray();
if (n[0] == 1 || n[1] == 1) {
Console.WriteLine($"{0}");
return;
}
long result = 0;
if... | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main() {
long[] n = Console.ReadLine().Split().Select(a => long.Parse(a)).ToArray();
if (n[0] == 1 || n[1] == 1) {
Console.WriteLine($"{1}");
return;
}
long result = 0;
if... | [["-", 3, 4, 0, 28, 0, 283, 0, 284, 0, 203], ["+", 3, 4, 0, 28, 0, 283, 0, 284, 0, 203]] | 8 | 148 |
using System;
using System.Collections;
using System.Collections.Generic;
namespace 練習問題 {
class Program {
static void Main(string[] args) {
List<int> pattern = new List<int>();
long a = 0;
long b = 0;
var sw = new System.Diagnostics.Stopwatch();
TimeSpan TLE = new TimeSpan(0, 0, 2);
debug De... | using System;
using System.Collections;
using System.Collections.Generic;
namespace 練習問題 {
class Program {
static void Main(string[] args) {
List<int> pattern = new List<int>();
long a = 0;
long b = 0;
var sw = new System.Diagnostics.Stopwatch();
TimeSpan TLE = new TimeSpan(0, 0, 2);
debug De... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106]] | 8 | 1,056 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
long[] hw = Console.ReadLine().Split().Select(long.Parse).ToArray();
long w = (long)Math.Ceiling((double)hw[1] / 2);
long h = hw[0];
l... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
long[] hw = Console.ReadLine().Split().Select(long.Parse).ToArray();
long w = (long)Math.Ceiling((double)hw[1] / 2);
long h = hw[0];
l... | [["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203]] | 8 | 168 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Console = System.Console;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var HW = ReadLongArray();
var mul = HW[0] * HW[1];
if (HW[0] == 1 || HW[1] == 1) {
Co... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Console = System.Console;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var HW = ReadLongArray();
var mul = HW[0] * HW[1];
if (HW[0] == 1 || HW[1] == 1) {
Co... | [["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]] | 8 | 307 |
using System;
namespace _135C {
class Program {
static void Main(string[] args) {
string[] read = Console.ReadLine().Split();
long H = long.Parse(read[0]);
long W = long.Parse(read[1]);
if (H == 1 || W == 1) {
Console.WriteLine(1);
} else if ((H * W) % 2 == 0) {
Console.WriteLine(H * ... | using System;
namespace _135C {
class Program {
static void Main(string[] args) {
string[] read = Console.ReadLine().Split();
long H = long.Parse(read[0]);
long W = long.Parse(read[1]);
if (H == 1 || W == 1) {
Console.WriteLine(1);
} else if ((H * W) % 2 == 0) {
Console.WriteLine(H * ... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 85], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 85], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203]] | 8 | 120 |
using System;
public class B {
public static void Main() {
var input = System.Console.ReadLine().Split(' ');
var h = long.Parse(input[0]);
var w = long.Parse(input[1]);
// これぜったい1行にまとまるよね
if (h == 1 || w == 1) {
Console.WriteLine(0);
return;
}
if (w % 2 == 0) {
Console.Wr... | using System;
public class B {
public static void Main() {
var input = System.Console.ReadLine().Split(' ');
var h = long.Parse(input[0]);
var w = long.Parse(input[1]);
// これぜったい1行にまとまるよね
if (h == 1 || w == 1) {
Console.WriteLine(1);
return;
}
if (w % 2 == 0) {
Console.Wr... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 155 |
using System;
namespace AtCorder2 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
long a = int.Parse(input[0]);
long b = int.Parse(input[1]);
Console.WriteLine(Method(a, b));
}
static long Method(long a, long b) {
if (a == 1)
return ... | using System;
namespace AtCorder2 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
long a = int.Parse(input[0]);
long b = int.Parse(input[1]);
Console.WriteLine(Method(a, b));
}
static long Method(long a, long b) {
if (a == 1)
return ... | [["-", 0, 195, 8, 196, 0, 57, 64, 37, 0, 203], ["+", 0, 195, 8, 196, 0, 57, 64, 37, 0, 203]] | 8 | 147 |
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) {
long H, W;
longReadLine(out H, out W);
dou... | 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) {
long H, W;
longReadLine(out H, out W);
dou... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 871 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var h = vals[0];
var w = vals[1];
var sum = h / 2 * w;
if (h % 2 == 1) {
sum += (w + 1) / 2;
}
... | using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var h = vals[0];
var w = vals[1];
var sum = h / 2 * w;
if (h % 2 == 1) {
sum += (w + 1) / 2;
}
... | [["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]] | 8 | 119 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main(string[] args) {
var hw = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
if (hw[0] == 1 || hw[1] == 1) {
Console.WriteLine(0);
return;
}
var val = hw[0] *... | using System;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main(string[] args) {
var hw = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
if (hw[0] == 1 || hw[1] == 1) {
Console.WriteLine(1);
return;
}
var val = hw[0] *... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 150 |
using System;
namespace Panasonic2020 {
internal class Program {
public static void Main(string[] args) {
var s = Console.ReadLine();
var sSplit = s.Split();
var h = int.Parse(sSplit[0]);
var w = int.Parse(sSplit[1]);
Console.WriteLine(Problem2.GetAnswer(h, w));
}
}
public class Problem2 {
... | using System;
namespace Panasonic2020 {
internal class Program {
public static void Main(string[] args) {
var s = Console.ReadLine();
var sSplit = s.Split();
var h = int.Parse(sSplit[0]);
var w = int.Parse(sSplit[1]);
Console.WriteLine(Problem2.GetAnswer(h, w));
}
}
public class Problem2 {
... | [["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 203], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 203]] | 8 | 148 |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
//読み込む
string[] line = Console.ReadLine().Split(' ');
long H = long.Parse(line[0]);
long W = long.Parse(line[1]);
long prod = H * W;
long answer = prod / 2;... | using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
//読み込む
string[] line = Console.ReadLine().Split(' ');
long H = long.Parse(line[0]);
long W = long.Parse(line[1]);
long prod = H * W;
long answer = prod / 2;... | [["-", 64, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 33]] | 8 | 133 |
using PanasonicProgrammingContest2020.Questions;
using PanasonicProgrammingContest2020.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace PanasonicProgrammingContest2020.Questions {
public class QuestionC : AtCoderQuestionBase {
public ove... | using PanasonicProgrammingContest2020.Questions;
using PanasonicProgrammingContest2020.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace PanasonicProgrammingContest2020.Questions {
public class QuestionC : AtCoderQuestionBase {
public ove... | [["+", 0, 41, 15, 16, 31, 16, 31, 16, 31, 22], ["+", 0, 41, 15, 16, 31, 16, 31, 16, 17, 72], ["+", 0, 41, 15, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 285, 0, 41, 15, 16, 31, 16, 17, 18], ["+", 0, 285, 0, 41, 15, 16, 31, 16, 12, 22], ["+", 8, 196, 0, 285, 0, 41, 15, 16, 17, 98]] | 8 | 519 |
using System;
using static System.Console;
using static System.Math;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main() {
long[] n = ReadLine().Split().Select(a => long.Parse(a)).ToArray();
long d = n[2] - n[1] - n[0];
if (0 < d && 4 * n[0] * n[1] <... | using System;
using static System.Console;
using static System.Math;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main() {
long[] n = ReadLine().Split().Select(a => long.Parse(a)).ToArray();
long d = n[2] - n[1] - n[0];
if (0 < d && 4 * n[0] * n[1] <... | [["-", 0, 213, 3, 4, 0, 28, 0, 283, 0, 296], ["+", 0, 213, 3, 4, 0, 28, 0, 283, 0, 296]] | 8 | 131 |
using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
namespace AtCoder {
class Program {
static public long[] Sarray() {
return ReadLine().Split().Select(long.Parse).ToArray();
}
static public List<long> S... | using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
namespace AtCoder {
class Program {
static public long[] Sarray() {
return ReadLine().Split().Select(long.Parse).ToArray();
}
static public List<long> S... | [["+", 0, 57, 15, 16, 12, 16, 12, 16, 17, 48], ["+", 0, 57, 15, 16, 12, 16, 12, 16, 12, 22]] | 8 | 190 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace panasonic2020_c {
class Program {
static void Main(string[] args) {
var a = CIn.ReadInt();
var b = CIn.ReadInt();
var c = CIn.ReadInt();
long i = c - a - b;
if (i <= 0 &&... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace panasonic2020_c {
class Program {
static void Main(string[] args) {
var a = CIn.ReadInt();
var b = CIn.ReadInt();
var c = CIn.ReadInt();
long i = c - a - b;
if (i >= 0 &&... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20]] | 8 | 438 |
using System;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.IO;
using System.Text;
using N = System.Int64;
public class Solver {
public void Solve() {
N a = rl, b = rl, c = rl;
Yn(4 * a * b < (a + b - c) * (a + b - c));
}
int ri {
get { return sc.Integer();... | using System;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.IO;
using System.Text;
using N = System.Int64;
public class Solver {
public void Solve() {
N a = rl, b = rl, c = rl;
Yn(c > a + b && 4 * a * b < (a + b - c) * (a + b - c));
}
int ri {
get { return ... | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 47], ["+", 0, 28, 0, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 28, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 0, 28, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 98]] | 8 | 673 |
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 List<int>[] edges = null;
static Pair<int>[] abs;
static int T;
static int N;
sta... | 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 List<int>[] edges = null;
static Pair<int>[] abs;
static int T;
static int N;
sta... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 1,162 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
public static void Main() {
var n =
Console.ReadLine().Split(' ').Select(x => double.Parse(x)).ToArray();
var right = n[2] - n[0] - n[1];
var ans =
(0 < right) && (right * right - n[0] * n[1] * 4 < 0) ? "Ye... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
public static void Main() {
var n = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
var right = n[2] - n[0] - n[1];
var ans =
(0 < right) && (right * right - n[0] * n[1] * 4 > 0) ? "Yes" : "No";... | [["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 0, 41, 15, 16, 12, 23, 0, 16, 17, 18], ["+", 0, 41, 15, 16, 12, 23, 0, 16, 17, 47]] | 8 | 121 |
using System;
using static System.Console;
using static System.Math;
namespace Main {
class Program {
static void Main(string[] args) {
string line = ReadLine();
string[] l = line.Split(' ');
long a = long.Parse(l[0]);
long b = long.Parse(l[1]);
long c = long.Parse(l[2]);
if (a + b < c || (4... | using System;
using static System.Console;
using static System.Math;
namespace Main {
class Program {
static void Main(string[] args) {
string line = ReadLine();
string[] l = line.Split(' ');
long a = long.Parse(l[0]);
long b = long.Parse(l[1]);
long c = long.Parse(l[2]);
if (a + b < c && (4... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 147 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var vals = Console.ReadLine().Split(' ').Select(decimal.Parse).ToArray();
var a = vals[0];
var b = vals[1];
var c = vals[2];
// √a + √b < √c
// a + 2√ab + b < c
// 2√ab ... | using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var vals = Console.ReadLine().Split(' ').Select(decimal.Parse).ToArray();
var a = vals[0];
var b = vals[1];
var c = vals[2];
// √a + √b < √c
// a + 2√ab + b < c
// 2√ab ... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 131 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
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;
}
static void Main() {
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
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;
}
static void Main() {
... | [["-", 63, 214, 205, 23, 0, 16, 31, 16, 17, 18], ["+", 63, 214, 205, 23, 0, 16, 31, 16, 17, 20], ["-", 0, 213, 63, 214, 205, 23, 0, 16, 17, 106], ["+", 0, 213, 63, 214, 205, 23, 0, 16, 17, 98]] | 8 | 1,194 |
using System;
namespace AtCorder2 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
long a = int.Parse(input[0]);
long b = int.Parse(input[1]);
long c = int.Parse(input[2]);
Console.WriteLine(Method(a, b, c));
}
static string Method(long a, ... | using System;
namespace AtCorder2 {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
long a = int.Parse(input[0]);
long b = int.Parse(input[1]);
long c = int.Parse(input[2]);
Console.WriteLine(Method(a, b, c));
}
static string Method(long a, ... | [["-", 8, 196, 0, 57, 64, 37, 0, 5, 0, 222], ["+", 8, 196, 0, 57, 64, 37, 0, 5, 0, 222], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["-", 0, 195, 8, 196, 0, 37, 0, 5, 0, 222], ["+", 0, 195, 8, 196, 0, 37, 0, 5, 0, 222]] | 8 | 159 |
using System;
using System.Text;
using System.Collections.Generic;
using static System.Math;
using System.Linq;
using static System.Array;
namespace AtcoderExpress {
class Program {
static void Main(string[] args) {
// var W = long.Parse(Console.ReadLine());
var ABC =
Console.ReadLine().Split(' ').... | using System;
using System.Text;
using System.Collections.Generic;
using static System.Math;
using System.Linq;
using static System.Array;
namespace AtcoderExpress {
class Program {
static void Main(string[] args) {
// var W = long.Parse(Console.ReadLine());
var ABC =
Console.ReadLine().Split(' ').... | [["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]] | 8 | 156 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace panasonic2020_c {
class Program {
static void Main(string[] args) {
var a = CIn.ReadInt();
var b = CIn.ReadInt();
var c = CIn.ReadInt();
if (4L * a * b < (long)(c - a - b) * ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace panasonic2020_c {
class Program {
static void Main(string[] args) {
var a = CIn.ReadInt();
var b = CIn.ReadInt();
var c = CIn.ReadInt();
if (c >= a + b && 4L * a * b < (long)... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 72], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 525 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
public class AtCoderC {
static void Main() {
decimal a;
decimal b;
decimal c;
{
var line = Console.ReadLine();
var words = line.Split(' ');
a = decimal.Parse(words[0]);
b = decimal.Parse(word... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
public class AtCoderC {
static void Main() {
decimal a;
decimal b;
decimal c;
{
var line = Console.ReadLine();
var words = line.Split(' ');
a = decimal.Parse(words[0]);
b = decimal.Parse(word... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22]] | 8 | 163 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Numerics;
using System.Runtime.CompilerServices;
using System.Diagnostics;
using ll=System.Int64;
using static Contest_C.Lib_IO;
using static Contest_C.Lib_Minifunc;
public static class Contest_C
{
public static ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Numerics;
using System.Runtime.CompilerServices;
using System.Diagnostics;
using ll=System.Int64;
using static Contest_C.Lib_IO;
using static Contest_C.Lib_Minifunc;
public static class Contest_C
{
public static ... | [["+", 0, 41, 15, 23, 0, 16, 31, 16, 31, 203], ["+", 0, 41, 15, 23, 0, 16, 31, 16, 17, 19], ["+", 0, 41, 15, 23, 0, 16, 31, 16, 12, 22], ["+", 0, 212, 0, 41, 15, 23, 0, 16, 17, 98]] | 8 | 2,933 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace A {
class StartingPoint {
static void Main(string[] args) {
if (args?.Any() == true) {
var assembly = Assembly.GetEntryAssembly();
var resourceName = "AtCoderCShar... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace A {
class StartingPoint {
static void Main(string[] args) {
if (args?.Any() == true) {
var assembly = Assembly.GetEntryAssembly();
var resourceName = "AtCoderCShar... | [["-", 0, 200, 0, 212, 0, 16, 31, 16, 31, 22], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 17, 18], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 17, 18], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22]] | 8 | 720 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
public class Hello {
static public int mod = 1000000007;
public static void Main() {
int num = rint();
var list = new List<List<string>>();
for (int i = 0;... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
public class Hello {
static public int mod = 1000000007;
public static void Main() {
int num = rint();
var list = new List<List<string>>();
for (int i = 0;... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["-", 0, 210, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 31, 22], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 983 |
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;
public class P {
public string s { get; set; }
public char mx { get; set; }
}
public class Hello {
public static void Main() { var n = int.Parse(Console.ReadLine().Trim()); }
static void getAns(int n) {
var sb = new Stri... | using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;
public class P {
public string s { get; set; }
public char mx { get; set; }
}
public class Hello {
public static void Main() {
var n = int.Parse(Console.ReadLine().Trim());
getAns(n);
}
static void getAns(int n) {
... | [["+", 0, 195, 8, 196, 0, 1, 0, 213, 63, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]] | 8 | 267 |
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 = ... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 578 |
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());
// int[] n = Console.ReadLine().Split().Select(int.Parse).ToArr... | 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());
// int[] n = Console.ReadLine().Split().Select(int.Parse).ToArr... | [["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["+", 0, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["-", 0, 195, 8, 196, 0, ... | 8 | 112 |
// 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 {
public static void Main() {
var input = Console.ReadLine();
HitachiString(input);
}
static void HitachiString(string ... | // 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 {
public static void Main() {
var input = Console.ReadLine();
HitachiString(input);
}
static void HitachiString(string ... | [["-", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38]] | 8 | 188 |
using System;
using System.Text.RegularExpressions;
namespace A {
class Program {
static void Main(string[] args) {
var hiInf = new Regex(@"^hi{2,}");
var regex = new Regex(@"^hi*?");
var str = Console.ReadLine();
if (hiInf.IsMatch(str)) {
Console.WriteLine("No");
return;
}
if (... | using System;
using System.Text.RegularExpressions;
namespace A {
class Program {
static void Main(string[] args) {
var hiInf = new Regex(@"^hi{2,}");
var regex = new Regex(@"^(hi)+$");
var str = Console.ReadLine();
if (hiInf.IsMatch(str)) {
Console.WriteLine("No");
return;
}
if... | [["-", 0, 212, 0, 230, 3, 4, 0, 28, 0, 258], ["+", 0, 212, 0, 230, 3, 4, 0, 28, 0, 258]] | 8 | 106 |
using System;
using System.Text.RegularExpressions;
using CompLib.Util;
public class Program {
public void Solve() {
var sc = new Scanner();
string s = sc.Next();
var r = new Regex("(hi)+");
if (r.IsMatch(s)) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
... | using System;
using System.Text.RegularExpressions;
using CompLib.Util;
public class Program {
public void Solve() {
var sc = new Scanner();
string s = sc.Next();
var r = new Regex("^(hi)+$");
if (r.IsMatch(s)) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
... | [["-", 0, 230, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 230, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 415 |
using System;
public class A {
public static void Main() {
string S = Console.ReadLine();
char[] str = S.ToCharArray();
bool isHitachi = true;
if (S.Length == 1) {
isHitachi = false;
} else {
for (int i = 0; i < S.Length; i += 2) {
if (!((str[i] == 'h') && (str[i + 1] == 'i')... | using System;
public class A {
public static void Main() {
string S = Console.ReadLine();
char[] str = S.ToCharArray();
bool isHitachi = true;
if (S.Length % 2 == 1) {
isHitachi = false;
} else {
for (int i = 0; i < S.Length; i += 2) {
if (!((str[i] == 'h') && (str[i + 1] == ... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 137 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CSharpSample01 {
class Program {
static void Main(string[] args) {
var S = Console.ReadLine();
var flag = true;
for (int i = 0; i < S.Length; i++) {
if (i % 2 == 0) {
if (S[i] != 'h') {
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CSharpSample01 {
class Program {
static void Main(string[] args) {
var S = Console.ReadLine();
var flag = true;
for (int i = 0; i < S.Length; i++) {
if (i % 2 == 0) {
if (S[i] != 'h') {
... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 163 |
using System;
using System.Linq;
namespace Hitachi2020A {
class MainClass {
public static void Main(string[] args) {
string s = Console.ReadLine();
string res = "Yes";
if (s.Length < 2) {
Console.WriteLine("No");
return;
}
for (int i = 0; i < s.Length; i++) {
if (s.Substring(i, ... | using System;
using System.Linq;
namespace Hitachi2020A {
class MainClass {
public static void Main(string[] args) {
string s = Console.ReadLine();
string res = "Yes";
if (s.Length % 2 == 1) {
Console.WriteLine("No");
return;
}
for (int i = 0; i < s.Length; i++) {
if (s.Substrin... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203]] | 8 | 123 |
using System;
using System.Collections.Generic;
using static System.Math;
using System.Linq;
using System.Text;
class DandA {
static void Main(string[] args) {
string s = ReadLineStr();
if (s.Length == 1) {
Console.WriteLine("No");
return;
}
for (int i = 0; i < s.Length; i++) {
if (... | using System;
using System.Collections.Generic;
using static System.Math;
using System.Linq;
using System.Text;
class DandA {
static void Main(string[] args) {
string s = ReadLineStr();
if (s.Length % 2 == 1) {
Console.WriteLine("No");
return;
}
for (int i = 0; i < s.Length; i++) {
... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 1,023 |
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var s = Console.ReadLine();
if (s == "hi" || s == "hihi" || s == "hihihi" || s == "hihihihihi" ||
s == "hihihihihi") {
Console.WriteLine("Yes");
return;
}
Consol... | using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public static void Main() {
var s = Console.ReadLine();
if (s == "hi" || s == "hihi" || s == "hihihi" || s == "hihihihi" ||
s == "hihihihihi") {
Console.WriteLine("Yes");
return;
}
Console.... | [["-", 15, 16, 31, 16, 12, 16, 12, 5, 0, 222], ["+", 15, 16, 31, 16, 12, 16, 12, 5, 0, 222]] | 8 | 91 |
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();
if (s.Length % 2 == 1) {
C... | 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();
if (s.Length % 2 == 1) {
C... | [["+", 0, 7, 8, 196, 0, 57, 15, 241, 0, 111], ["+", 8, 196, 0, 57, 15, 241, 0, 23, 0, 24], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 79], ["+", 15, 241, 0, 23, 0, 16, 12, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 241, 0, 23, 0, 25]] | 8 | 634 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
public static void Main() {
string s = Console.ReadLine();
bool flag = false;
if (s[0] != 'h') {
flag = true;
}
for (int i = 1; i < s.Length; i++) {
if (s[i] == 'i') {
if (s[i - 1] != 'h') {
... | using System;
using System.Linq;
using System.Collections.Generic;
class Program {
public static void Main() {
string s = Console.ReadLine();
bool flag = false;
if (s[0] != 'h') {
flag = true;
}
for (int i = 1; i < s.Length; i++) {
if (s[i] == 'i') {
if (s[i - 1] != 'h') {
... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 189 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
public class Solver {
private readonly IInputReader _inputReader;
private readonly IOutputWriter _outputWriter;
public Solver(IInputReader inputReader, IOutputWriter outputWriter) {
_inputReader = inputReader;
_output... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AtCoder {
public class Solver {
private readonly IInputReader _inputReader;
private readonly IOutputWriter _outputWriter;
public Solver(IInputReader inputReader, IOutputWriter outputWriter) {
_inputReader = inputReader;
_output... | [["-", 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 | 919 |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
static void Main(string[] args) {
var S = Console.ReadLine();
if (S.Count(x => x.ToString() == S.Substring(0, 1)) == S.Count()) ... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
public class Program {
static void Main(string[] args) {
var S = Console.ReadLine();
if (S.Count(x => x.ToString() == S.Substring(0, 1)) == S.Count()) ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 195 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Contests.ABC159 {
/// <summary>
///
/// </summary>
static class B {
static void Main(string[] args) {
var s = Next();
if (!IsPalindrome(s)) {
Console.WriteLine("No");
return;
}
if ... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Contests.ABC159 {
/// <summary>
///
/// </summary>
static class B {
static void Main(string[] args) {
var s = Next();
if (!IsPalindrome(s)) {
Console.WriteLine("No");
return;
}
if ... | [["-", 15, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22]] | 8 | 634 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
string inputs = "akasaka"; // Console.ReadLine();
int len = inputs.Length;
if (Calc(inputs.Substring(0, (len - 1) / 2)) == false) {
Console.WriteLine("No");
return;
}
if (Calc(inputs.Substring((len + ... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
string inputs = Console.ReadLine();
int len = inputs.Length;
if (Calc(inputs.Substring(0, (len - 1) / 2)) == false) {
Console.WriteLine("No");
return;
}
if (Calc(inputs.Substring((len + 2) / 2)) == fa... | [["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 62], ["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 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, 2... | 8 | 181 |
using System;
using System.Collections.Generic;
namespace ConsoleApp1 {
class Program {
public static void Main() {
string S = Console.ReadLine();
int N = S.Length;
string[] s = new string[N];
string ans = "Yes";
for (int i = 0; i < N; i++) {
s[i] = S.Substring(i, 1);
}
for (int i ... | using System;
using System.Collections.Generic;
namespace ConsoleApp1 {
class Program {
public static void Main() {
string S = Console.ReadLine();
int N = S.Length;
string[] s = new string[N];
string ans = "Yes";
//文字列
for (int i = 0; i < N; i++) {
s[i] = S.Substring(i, 1);
}
... | [["+", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 12, 22]] | 8 | 203 |
using System;
namespace ABC159b {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
int n = s.Length;
string s1 = s.Substring(0, ((n - 1) / 2));
int n1 = s1.Length;
for (int i = 0; i < s1.Length / 2; i++) {
if (s1[i] != s1[n1 - 1 - i]) {
Console.WriteLi... | using System;
namespace ABC159b {
class Program {
static void Main(string[] args) {
var s = Console.ReadLine();
int n = s.Length;
string s1 = s.Substring(0, ((n - 1) / 2));
int n1 = s1.Length;
for (int i = 0; i < s1.Length / 2; i++) {
if (s1[i] != s1[n1 - 1 - i]) {
Console.WriteLi... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 252 |
using System;
class Kai {
static void Main() {
var input = Console.ReadLine();
Console.WriteLine(Solution(input));
}
static string Solution(string s) {
var l = (s.Length - 1) / 2;
var s1 = s.Substring(0, l);
var s2 = s.Substring(l + 1, l);
return IsKai(s1) && IsKai(s2) ? "Yes" : "No";
... | using System;
class Kai {
static void Main() {
var input = Console.ReadLine();
Console.WriteLine(Solution(input));
}
static string Solution(string s) {
var l = (s.Length - 1) / 2;
var s1 = s.Substring(0, l);
var s2 = s.Substring(l + 1, l);
return IsKai(s) && IsKai(s1) && IsKai(s2) ? "Ye... | [["+", 31, 16, 31, 213, 3, 4, 0, 28, 0, 22], ["+", 15, 16, 31, 16, 31, 213, 3, 4, 0, 25], ["+", 0, 37, 0, 41, 15, 16, 31, 16, 17, 98], ["+", 0, 41, 15, 16, 31, 16, 12, 213, 63, 22], ["+", 15, 16, 31, 16, 12, 213, 3, 4, 0, 24]] | 8 | 155 |
using System;
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
char[] c = input.ToCharArray();
int len = c.Length;
if (len == 3) {
if (c[0] == c[2])
Console.WriteLine("Yes");
else
Console.WriteLine("No");
return;
}
for (int... | using System;
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
char[] c = input.ToCharArray();
int len = c.Length;
if (len == 3) {
if (c[0] == c[2])
Console.WriteLine("Yes");
else
Console.WriteLine("No");
return;
}
for (int... | [["+", 0, 7, 15, 16, 12, 16, 31, 74, 39, 199], ["+", 0, 7, 15, 16, 12, 16, 31, 74, 0, 25], ["+", 15, 16, 12, 16, 31, 74, 51, 23, 0, 24]] | 8 | 186 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_solve {
class Program {
public const ulong mod = 1000000007;
static void Main(string[] args)
{
var s = Console.ReadLine();
var key = true;
var ans = "";
for (i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_solve {
class Program {
public const ulong mod = 1000000007;
static void Main(string[] args)
{
var s = Console.ReadLine();
var key = true;
var ans = "";
for (i... | [["+", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 12, 22]] | 8 | 414 |
using System;
using System.Linq;
using System.Collections.Generic;
using E = System.Linq.Enumerable;
public class Program {
public static void Main() {
var s = Console.ReadLine().Trim();
var m = s.Length / 2;
for (int i = m; i < s.Length; ++i) {
int j = m - (i - m);
if (s[i] != s[j]) {
... | using System;
using System.Linq;
using System.Collections.Generic;
using E = System.Linq.Enumerable;
public class Program {
public static void Main() {
var s = Console.ReadLine().Trim();
var m = s.Length / 2;
for (int i = m; i < s.Length; ++i) {
int j = m - (i - m);
if (s[i] != s[j]) {
... | [["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 31, 22], ["-", 0, 200, 0, 212, 0, 16, 12, 16, 17, 85], ["-", 0, 200, 0, 212, 0, 16, 12, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]] | 8 | 174 |
using System;
class ProgramB {
static void Main(string[] args) {
//入力
string s = Console.ReadLine();
int len = s.Length;
for (int i = 0; i < (len - 1) / 2; i++) {
if (s[i] != s[(len - 1) - i]) {
Console.WriteLine("No");
return;
}
if (s[i] != s[(len - 1) / 2 - i]) {... | using System;
class ProgramB {
static void Main(string[] args) {
//入力
string s = Console.ReadLine();
int len = s.Length;
for (int i = 0; i < (len - 1) / 2; i++) {
if (s[i] != s[len - 1 - i]) {
Console.WriteLine("No");
return;
}
if (s[i] != s[(len - 1) / 2 - 1 - i])... | [["-", 206, 207, 0, 28, 0, 16, 31, 23, 0, 24], ["-", 206, 207, 0, 28, 0, 16, 31, 23, 0, 25], ["+", 206, 207, 0, 28, 0, 16, 31, 16, 17, 33], ["+", 206, 207, 0, 28, 0, 16, 31, 16, 12, 203]] | 8 | 167 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
bool flag = true;
int N = str.Length;
for (var i = 0; i < N; i++) {
if (str.Substring(i, 1) != str.Substring(N - 1 - i, 1)) {
flag = false;
}
}
... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
bool flag = true;
int N = str.Length;
for (var i = 0; i < N; i++) {
if (str.Substring(i, 1) != str.Substring(N - 1 - i, 1)) {
flag = false;
}
}
... | [["-", 0, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 17, 72]] | 8 | 231 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace atcoder {
class Program {
static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
Console.WriteLine(Math.Pow(n / 3, 3));
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace atcoder {
class Program {
static void Main(string[] args) {
var n = double.Parse(Console.ReadLine());
Console.WriteLine(Math.Pow(n / 3, 3));
}
}
} | [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 69 |
using System;
class C {
static void Main() {
double l = int.Parse(Console.ReadLine()) / 3;
Console.WriteLine(Math.Pow(l, 3));
}
}
| using System;
class C {
static void Main() {
double l = int.Parse(Console.ReadLine()) / 3.0;
Console.WriteLine(Math.Pow(l, 3));
}
}
| [["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 250]] | 8 | 44 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace AtcoderC {
class Program {
/*static void Main(string[] args)
{
}*/
// ABC132C
//全探索法
/*static void Main()
{
BigInteger N = int.Parse(Console.ReadLine(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace AtcoderC {
class Program {
/*static void Main(string[] args)
{
}*/
// ABC132C
//全探索法
/*static void Main()
{
BigInteger N = int.Parse(Console.ReadLine(... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 330 |
using System;
using System.Collections.Generic;
namespace atcoder {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
int L = int.Parse(s);
int n = L / 3;
int total = n * n * n;
Console.WriteLine(total);
}
}
}
| using System;
using System.Collections.Generic;
namespace atcoder {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
double L = double.Parse(s);
double n = L / 3;
double total = n * n * n;
Console.WriteLine(total);
}
}
}
| [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 71 |
using System;
class abc {
static void Main() {
int L = int.Parse(Console.ReadLine());
int L3 = L * L * L;
double ou = L3 / 27;
Console.WriteLine(ou);
}
}
| using System;
class abc {
static void Main() {
double L = double.Parse(Console.ReadLine());
double L3 = L * L * L;
double ou = L3 / 27;
Console.WriteLine(ou);
}
}
| [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 51 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 競プロCS {
class ABC159C {
static void Main() {
int i = int.Parse(Console.ReadLine());
double d = i / 3;
Console.WriteLine(d * d * d);
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 競プロCS {
class ABC159C {
static void Main() {
double i = int.Parse(Console.ReadLine());
double d = i / 3;
Console.WriteLine(d * d * d);
}
}
}
| [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 68 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace abc159_c {
class Program {
static void Main(string[] args) {
var L = CIn.ReadInt();
var i = L / 3;
var ans = Math.Pow(i, 3);
Console.WriteLine(ans);
}
}
}
class CIn {
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace abc159_c {
class Program {
static void Main(string[] args) {
var L = CIn.ReadInt();
var i = (double)L / 3;
var ans = Math.Pow(i, 3);
Console.WriteLine(ans);
}
}
}
class CIn ... | [["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 25]] | 8 | 395 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lean {
class Program {
static void Main() {
// long[] a = Console.ReadLine().Split().Select(long.Parse).ToArray();
int L = int.Parse(Console.ReadLine());
int n = L / 3;
Consol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lean {
class Program {
static void Main() {
// long[] a = Console.ReadLine().Split().Select(long.Parse).ToArray();
double L = int.Parse(Console.ReadLine());
double n = L / 3;
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 75 |
using System;
using System.Linq;
class Ho {
static void Main() {
var L = int.Parse(Console.ReadLine());
double S = L / 3;
Console.WriteLine(S * S * S);
}
} | using System;
using System.Linq;
class Ho {
static void Main() {
var L = double.Parse(Console.ReadLine());
double S = L / 3;
Console.WriteLine(S * S * S);
}
} | [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 51 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C___Maximum_Volume {
class Program {
static void Main(string[] args) {
var L = int.Parse(Console.ReadLine());
Console.WriteLine(Math.Pow(L / 3, 3));
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C___Maximum_Volume {
class Program {
static void Main(string[] args) {
var L = int.Parse(Console.ReadLine());
Console.WriteLine(Math.Pow((double)L / 3, 3));
}
}
}
| [["+", 3, 4, 0, 28, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 39, 199], ["+", 3, 4, 0, 28, 0, 16, 31, 74, 0, 25]] | 8 | 76 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A {
class Program {
public static void Main(string[] args) {
var l = ReadLineInt();
double r = l / 3;
Console.WriteLine(r * r * r);
ReadLine();
}
/// <summary>
/// str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A {
class Program {
public static void Main(string[] args) {
var l = ReadLineInt();
double r = (l * 1.0) / 3;
Console.WriteLine(r * r * r);
ReadLine();
}
/// <summary>
... | [["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["+", 0, 212, 0, 16, 31, 23, 0, 16, 17, 48], ["+", 0, 212, 0, 16, 31, 23, 0, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 25]] | 8 | 258 |
using System;
public class Hello {
public static void Main() {
string s = Console.ReadLine();
int L = int.Parse(s);
double x, y, z, C, V;
C = L / 3;
V = C * C * C;
Console.Write(V);
}
}
| using System;
public class Hello {
public static void Main() {
string s = Console.ReadLine();
int L = int.Parse(s);
double x, y, z, C, V;
C = L / (3.000000000);
V = C * C * C;
Console.Write(V);
}
}
| [["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 250], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 25]] | 8 | 67 |
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 l = ni();
double ans = 1.0 * Math.P... | 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 l = ni();
double ans = 1.0 * Math.P... | [["-", 12, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 12, 213, 3, 4, 0, 28, 0, 16, 12, 250]] | 8 | 1,102 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
class program {
static public int mod = 1000000007;
static void Main() {
var n = rint();
var a = inta();
var table = new int[n];
for (... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
class program {
static public int mod = 1000000007;
static void Main() {
var n = rint();
var a = inta();
var table = new int[n + 1];
f... | [["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 72], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["+", 12, 16, 31, 23, 0, 16, 31, 74, 0, 24], ["+", 12, 16, 31, 23, 0, 16, 31, 74, 39, 199], ["+", 12, 16, 31, 23, 0, 16, 31, 74, 0... | 8 | 853 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using static System.Console;
using System.Numerics;
namespace atcorder2 {
class Program {
public static long Read() { return long.Parse(Console.ReadLine()); }
public static long[] Reads() {
return Console.ReadLine().Split().Se... | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using static System.Console;
using System.Numerics;
namespace atcorder2 {
class Program {
public static long Read() { return long.Parse(Console.ReadLine()); }
public static long[] Reads() {
return Console.ReadLine().Split().Se... | [["-", 75, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 75, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 362 |
using System;
using System.Collections.Generic;
using static Assistant.Input;
using static Assistant.Debug;
using System.Linq;
using Assistant;
using System.Text;
namespace ABC159D_2 {
class Program {
static void Main(string[] args) {
var N = RInt;
var A = RInts;
int[] count = new int[N + 1];
for (i... | using System;
using System.Collections.Generic;
using static Assistant.Input;
using static Assistant.Debug;
using System.Linq;
using Assistant;
using System.Text;
namespace ABC159D_2 {
class Program {
static void Main(string[] args) {
var N = RInt;
var A = RInts;
int[] count = new int[N + 1];
for (i... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 879 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace _159b {
class Program {
static void Main(string[] args) {
long N = long.Parse(Console.ReadLine());
long[] A = Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
long[] resArray = new long[N];
long[] countArray = new l... | using System;
using System.Linq;
using System.Collections.Generic;
namespace _159b {
class Program {
static void Main(string[] args) {
long N = long.Parse(Console.ReadLine());
long[] A = Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
long[] resArray = new long[N];
long[] countArray = new l... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 204 |
using System;
using System.Collections.Generic;
using static Assistant.Input;
using static Assistant.Debug;
using System.Linq;
using Assistant;
namespace ABC159E {
class Program {
static void Main(string[] args) {
var H = RInt;
var W = RInt;
var K = RInt;
string[] map = new string[H];
for (int i... | using System;
using System.Collections.Generic;
using static Assistant.Input;
using static Assistant.Debug;
using System.Linq;
using Assistant;
namespace ABC159E {
class Program {
static void Main(string[] args) {
var H = RInt;
var W = RInt;
var K = RInt;
string[] map = new string[H];
for (int i... | [["+", 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, 199], ["+", 64, 196, 0, 1, 0, 11, 12, 214, 0, 131], ["+", 64, 196, 0, 1, 0, 11, 12, 214, 141, 22], ["+", 64, 196, 0, 57, 64, 196, 0, 1, 0, 35]] | 8 | 1,056 |
using System;
using System.Linq;
namespace atcoderTest {
public class Program {
public static void Main(string[] args) {
// 文字列の入力
string a = Console.ReadLine();
// 異なる文字列が含まれているか判定する
if (a.Distinct().Count() > 1) {
Console.Write("yes");
} else {
Console.Write("no");
}
}
}
}
| using System;
using System.Linq;
namespace atcoderTest {
public class Program {
public static void Main(string[] args) {
// 文字列の入力
string a = Console.ReadLine();
// 異なる文字列が含まれているか判定する
if (a.Distinct().Count() > 1) {
Console.Write("Yes");
} else {
Console.Write("No");
}
}
}
} | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 77 |
public class Hello {
public static void Main() {
var s = System.Console.ReadLine();
var a = false;
var b = false;
for (var i = 0; i < 3; ++i) {
if (s.Substring(i) == "A") {
a = true;
} else {
b = true;
}
}
if (a && b) {
System.Console.WriteLine("Yes");
... | public class Hello {
public static void Main() {
var s = System.Console.ReadLine();
var a = false;
var b = false;
for (var i = 0; i < 3; ++i) {
if (s.Substring(i, 1) == "A") {
a = true;
} else {
b = true;
}
}
if (a && b) {
System.Console.WriteLine("Yes"... | [["+", 0, 57, 15, 16, 31, 213, 3, 4, 0, 21], ["+", 15, 16, 31, 213, 3, 4, 0, 28, 0, 203]] | 8 | 109 |
using System;
namespace AtCoder {
class Program {
static void Main() {
var line = Console.ReadLine();
if (line == "AAA" || line == "BBB") {
Console.WriteLine("No");
}
Console.WriteLine("Yes");
}
}
}
| using System;
namespace AtCoder {
class Program {
static void Main() {
var line = Console.ReadLine();
if (line == "AAA" || line == "BBB") {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
}
}
}
| [["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 46]] | 8 | 61 |
using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
String s = ReadLine();
if (s[0] != s[1]) {
WriteLine("No");
return;
} else if (s[1] != s[2]) {
WriteLine("No");
return;
} else if (s[0] != s[2... | using System;
using static System.Console;
using System.Linq;
namespace AC {
public class shiokara {
static void Main(string[] args) {
String s = ReadLine();
if (s[0] != s[1]) {
WriteLine("Yes");
return;
} else if (s[1] != s[2]) {
WriteLine("Yes");
return;
} else if (s[0] != s... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 119 |
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 = Cin();
char k = n[0];
for (int i = 1; i < ... | 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 = Cin();
char k = n[0];
for (int i = 1; i < ... | [["-", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 15, 16, 12, 204, 206, 207, 0, 28, 0, 22]] | 8 | 1,130 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_solve {
class Program {
public const ulong mod = 1000000007;
static void Main(string[] args)
{
var s = Console.ReadLine();
var ans = "Yes";
if (s == "AAA" || s == "B... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_solve {
class Program {
public const ulong mod = 1000000007;
static void Main(string[] args)
{
var s = Console.ReadLine();
var ans = "Yes";
if (s == "AAA" || s == "B... | [["-", 0, 57, 64, 1, 0, 11, 12, 5, 0, 222], ["+", 0, 57, 64, 1, 0, 11, 12, 5, 0, 222]] | 8 | 267 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Tasks {
public class B {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Consol... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Tasks {
public class B {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Consol... | [["-", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199], ["+", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199]] | 8 | 518 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace B {
public class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Cons... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace B {
public class Program {
static void Main(string[] args) {
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Cons... | [["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46]] | 8 | 200 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
class program {
static public int mod = 1000000007;
static void Main() {
var z = longa();
long n = z[0], a = z[1], b = z[2];
long ans = n ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
class program {
static public int mod = 1000000007;
static void Main() {
var z = longa();
long n = z[0], a = z[1], b = z[2];
long ans = n ... | [["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 25], ["+", 0, 1, 0, 11, 12, 213, 3, 4, 0, 21], ["+", 0, 11, 12, 213, 3, 4, 0, 28, 0, 22]] | 8 | 775 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace atcoder {
class Program {
static void Main(string[] args) {
var nab =
Console.ReadLine().Split(' ').Select(num => long.Parse(num)).ToArray();
var n = nab[0];
var a = nab[1];
var b = nab[2];
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace atcoder {
class Program {
static void Main(string[] args) {
var nab =
Console.ReadLine().Split(' ').Select(num => long.Parse(num)).ToArray();
var n = nab[0];
var a = nab[1];
var b = nab[2];
... | [["+", 0, 200, 0, 212, 0, 16, 12, 23, 0, 24], ["+", 0, 16, 12, 23, 0, 16, 12, 23, 0, 25]] | 8 | 170 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC_158b {
class Program {
static void Main(string[] args) {
int[] input = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
int count = 0;
count += input[0] / (input[1... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC_158b {
class Program {
static void Main(string[] args) {
long[] input = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse);
long count = 0;
count += input[0] / (inpu... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 170 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
long[] NAB =
Console.ReadLine().Split(' ').Select(s => long.Parse(s)).ToArray();
long N = NAB[0];
long A = NAB[1];
long B = NAB[2];
if (A == 0) {
Console.WriteLine(0);
return;
}
long quo... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
long[] NAB =
Console.ReadLine().Split(' ').Select(s => long.Parse(s)).ToArray();
long N = NAB[0];
long A = NAB[1];
long B = NAB[2];
if (A == 0) {
Console.WriteLine(0);
return;
}
long quo... | [["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 17, 48]] | 8 | 150 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
int[] arr =
Console.ReadLine().Split(' ').Select(v => int.Parse(v)).ToArray();
long turn = arr[0] / (arr[1] + arr[2]);
long turnMod = arr[0] % (arr[1] + arr[2]);... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
long[] arr =
Console.ReadLine().Split(' ').Select(v => long.Parse(v)).ToArray();
long turn = arr[0] / (arr[1] + arr[2]);
long turnMod = arr[0] % (arr[1] + arr[2]... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199]] | 8 | 133 |
/*********************************************
* 20.05.08 AtCoder Beginner Contest 158. A, B, C
*
*
*********************************************/
/*********************************************
::test input::
*********************************************/
namespace TempName {
using System;
using System.Linq;
using... | /*********************************************
* 20.05.08 AtCoder Beginner Contest 158. A, B, C
*
*
*********************************************/
/*********************************************
::test input::
*********************************************/
namespace TempName {
using System;
using System.Linq;
using... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 867 |
using System;
using System.Collections.Generic;
using System.Linq;
class Ho {
static void Main() {
var aho = Console.ReadLine().Split();
var N = int.Parse(aho[0]);
var A = int.Parse(aho[1]);
var B = int.Parse(aho[2]);
if (N < A) {
Console.WriteLine(N);
return;
}
var goukei = A ... | using System;
using System.Collections.Generic;
using System.Linq;
class Ho {
static void Main() {
var aho = Console.ReadLine().Split();
var N = long.Parse(aho[0]);
var A = long.Parse(aho[1]);
var B = long.Parse(aho[2]);
if (N < A) {
Console.WriteLine(N);
return;
}
long goukei ... | [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 151 |
using System;
namespace B {
class Program {
static void Main(string[] args) {
string[] tmp = Console.ReadLine().Split(' ');
long n = int.Parse(tmp[0]);
long a = int.Parse(tmp[1]);
long b = int.Parse(tmp[2]);
Console.WriteLine(n / (a + b) * a + Math.Min(a, n % (a + b)));
}
}
}
| using System;
namespace B {
class Program {
static void Main(string[] args) {
string[] tmp = Console.ReadLine().Split(' ');
long n = long.Parse(tmp[0]);
long a = long.Parse(tmp[1]);
long b = long.Parse(tmp[2]);
Console.WriteLine(n / (a + b) * a + Math.Min(a, n % (a + b)));
}
}
}
| [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]] | 8 | 109 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.