buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k | change_count int64 0 100 |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
var S = sc.ReadStr();
var len = S.Length;
var dis = S.Distinct().Count();
if (len == dis)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
static int INF... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
var S = sc.ReadStr();
var len = S.Length;
var dis = S.Distinct().Count();
if (len == dis)
Console.WriteLine("yes");
else
Console.WriteLine("no");
}
static int INF... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 1,615 | 4 |
using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var s = ReadLine();
var h = new HashSet<char>();
bool isYes = true;
for (int i = 0; i < s.Length; i++) {
if (!h.Add(s[i])) {
... | using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var s = ReadLine();
var h = new HashSet<char>();
bool isYes = true;
for (int i = 0; i < s.Length; i++) {
if (!h.Add(s[i])) {
... | [["-", 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 | 163 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
// int[] N = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = int.Parse(Console.ReadLine());
int[] N = new int [n].Select(x => int.Parse(Console.ReadLine())).ToArray();
int pos = 1;
in... | using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
// int[] N = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = int.Parse(Console.ReadLine());
int[] N = new int [n].Select(x => int.Parse(Console.ReadLine())).ToArray();
int pos = 1;
in... | [["-", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 52, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 12, 22]] | 8 | 146 | 7 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC {
class ProgramC {
static void Main(string[] args) {
var inputs = Console.ReadLine().Split(" ");
var n = long.Parse(inputs[0]);
var m = long.Parse(inputs[1]);
if (Math.Abs(n - m) > 1) {
Console.WriteLine(0);
... | using System;
using System.Linq;
using System.Collections.Generic;
namespace ABC {
class ProgramC {
static void Main(string[] args) {
var inputs = Console.ReadLine().Split(" ");
var n = long.Parse(inputs[0]);
var m = long.Parse(inputs[1]);
if (Math.Abs(n - m) > 1) {
Console.WriteLine(0);
... | [["-", 3, 4, 0, 28, 0, 16, 31, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 12, 22]] | 8 | 217 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
class Program {
public static void Main() {
const long MOD = 1000000007;
var input = Console.ReadLine().Split();
int n = int.Parse(input[0]);
int m = int.Parse(input[1]);
if (n - m > 1 || m - n > 1) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
class Program {
public static void Main() {
const long MOD = 1000000007;
var input = Console.ReadLine().Split();
int n = int.Parse(input[0]);
int m = int.Parse(input[1]);
if (n - m > 1 || m - n > 1) {
... | [["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22]] | 8 | 204 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace program {
class Program {
static void Main() {
int[] input =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int N = input[0];
int M = input[1];
if (Math.Abs(M - N) > 1) {
Console.WriteLine(-... | using System;
using System.Collections.Generic;
using System.Linq;
namespace program {
class Program {
static void Main() {
int[] input =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int N = input[0];
int M = input[1];
if (Math.Abs(M - N) > 1) {
Console.WriteLine(0... | [["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]] | 8 | 198 | 3 |
using System;
using System.Linq;
using System.Collections.Generic;
public class Hello {
public static void Main() {
var input = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var a = input[0];
var b = input[1];
var ans = 0L;
if (a == b) {
ans = 2 * f(a) * f(b);
} else if (Ma... | using System;
using System.Linq;
using System.Collections.Generic;
public class Hello {
public static void Main() {
var input = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var a = input[0];
var b = input[1];
var ans = 0L;
if (a == b) {
ans = 2 * f(a) * f(b);
} else if (Ma... | [["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 132], ["+", 0, 7, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 172 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp {
class Program {
static void Main(string[] args) {
var csl = Console.ReadLine();
var N = ulong.Parse(csl.Split(' ')[0]);
var M = ulong.Parse(csl.Split(' ')[1]);
long ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp {
class Program {
static void Main(string[] args) {
var csl = Console.ReadLine();
var N = ulong.Parse(csl.Split(' ')[0]);
var M = ulong.Parse(csl.Split(' ')[1]);
long ... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 110], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 132]] | 8 | 382 | 12 |
using System;
using System.Collections.Generic;
using System.Linq;
#if !DEBUG
using System.IO;
#endif
public class Program {
public static void Main() {
#region SetAutoFlushIsFalse
#if !DEBUG
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
#endif
#en... | using System;
using System.Collections.Generic;
using System.Linq;
#if !DEBUG
using System.IO;
#endif
public class Program {
public static void Main() {
#region SetAutoFlushIsFalse
#if !DEBUG
var sw =
new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
#endif
#en... | [["+", 0, 1, 0, 11, 12, 74, 51, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 74, 51, 23, 0, 25]] | 8 | 1,774 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
static class Program {
const int mod = 1000000007;
static void Main() {
Sc sc = new Sc();
int[] s = sc.Ia;
int[][] a = new int[s[2]][];
List<int[]> li = new List<int[]>();
string ans = "YES";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
static class Program {
const int mod = 1000000007;
static void Main() {
Sc sc = new Sc();
int[] s = sc.Ia;
int[][] a = new int[s[2]][];
List<int[]> li = new List<int[]>();
string ans = "YES";
... | [["-", 0, 28, 0, 227, 0, 229, 0, 16, 17, 72], ["-", 0, 28, 0, 227, 0, 229, 0, 16, 12, 203]] | 8 | 1,823 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace arc076_c {
class Program {
static int[] x;
static bool onedge(int a, int b) {
if (a == 0 || a == x[0])
return true;
if (b == 0 || b == x[1])
return true;
return false;
}
static int howlong(int a, int b) {
i... | using System;
using System.Collections.Generic;
using System.Linq;
namespace arc076_c {
class Program {
static int[] x;
static bool onedge(int a, int b) {
if (a == 0 || a == x[0])
return true;
if (b == 0 || b == x[1])
return true;
return false;
}
static int howlong(int a, int b) {
i... | [["-", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22]] | 8 | 485 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using static MyIO;
public class A {
public static void Main() {
string s = GetString();
var set = new HashSet<char>();
for (int i = 0; i < s.Length; i++)
set.Add(s[i]);
if (set.Count ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using static MyIO;
public class A {
public static void Main() {
string s = GetString();
var set = new HashSet<char>();
for (int i = 0; i < s.Length; i++)
set.Add(s[i]);
if (set.Count ... | [["+", 0, 7, 15, 16, 12, 16, 31, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33]] | 8 | 431 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
string a = Console.ReadLine();
int[] alpha = new int[26];
for (int j = 0; j < 'z' - 'a'; j++) {
int i = j + 'a';
int maxvalue = 0, KOushin = 0;
for (int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
string a = Console.ReadLine();
int[] ret = new int[26];
for (int j = 0; j <= 'z' - 'a'; j++) {
int i = j + 'a';
int maxvalue = 0, KOushin = 0;
for (int ... | [["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["+", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ... | 8 | 506 | 10 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
namespace AtTest.Virtual {
class AGC016_B {
static void Main(string[] args) {
Method(args);
ReadLine();
}
static void Method(string[] args) {
int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
namespace AtTest.Virtual {
class AGC016_B {
static void Main(string[] args) {
Method(args);
ReadLine();
}
static void Method(string[] args) {
int... | [["-", 0, 57, 15, 16, 12, 16, 12, 16, 17, 72], ["+", 0, 57, 15, 16, 12, 16, 12, 16, 17, 33]] | 8 | 414 | 2 |
using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static void Main() {
long n = long.Parse(Console.ReadLine());
long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse);
long maxNum = nums.Max();
long minNum = nums.Min();
long minCount = 0... | using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static void Main() {
long n = long.Parse(Console.ReadLine());
long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse);
long maxNum = nums.Max();
long minNum = nums.Min();
long minCount = 0... | [["-", 64, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203]] | 8 | 254 | 6 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Grand016 {
public class AGC016B_ColorfulHats {
public static void Main(string[] args) {
// 整数の入力
int catNum = int.Parse(Console.ReadLine());
// スペース区切りの整数の入力
string[] hatNumText = Console.ReadLine().Spl... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Grand016 {
public class AGC016B_ColorfulHats {
public static void Main(string[] args) {
// 整数の入力
int catNum = int.Parse(Console.ReadLine());
// スペース区切りの整数の入力
string[] hatNumText = Console.ReadLine().Spl... | [["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 79], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 33], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 98], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 31, 22]] | 8 | 270 | 6 |
using System;
using System.Linq;
class Solution {
static void Main() {
var n = int.Parse(Console.ReadLine());
var cat = Console.ReadLine().Split().Select(int.Parse).ToArray();
var max = cat.Max();
var maxCount = cat.Count(c => c == max);
var min = cat.Min();
var minCount = cat.Count(c => c =... | using System;
using System.Linq;
class Solution {
static void Main() {
var n = int.Parse(Console.ReadLine());
var cat = Console.ReadLine().Split().Select(int.Parse).ToArray();
var max = cat.Max();
var maxCount = cat.Count(c => c == max);
var min = cat.Min();
var minCount = cat.Count(c => c =... | [["+", 64, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 19], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["+", 75, 57, 64, 196, 0, 57, 15, 16, 17, 98]] | 8 | 184 | 4 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
// using System.Numerics; //comment out if AOJ
using System.Text;
using Problem = Tmp.Problem;
using MyIO;
#pragma warning disable // for AOJ
namespace Tmp {
class Problem : IDispo... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
// using System.Numerics; //comment out if AOJ
using System.Text;
using Problem = Tmp.Problem;
using MyIO;
#pragma warning disable // for AOJ
namespace Tmp {
class Problem : IDispo... | [["-", 75, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["-", 75, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 17, 18]] | 8 | 1,377 | 4 |
using System;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using MethodImplOptions = System.Runtime.CompilerServices.Me... | using System;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using MethodImplOptions = System.Runtime.CompilerServices.Me... | [["+", 12, 23, 0, 41, 15, 16, 31, 16, 31, 22], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 17, 79], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 12, 22], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 98]] | 8 | 742 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using System.Collections;
namespace CompetitiveProgramming {
public class CPair<T, U> : IComparable
where T : IComparable<T> {
public readonly T Item1;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using System.Collections;
namespace CompetitiveProgramming {
public class CPair<T, U> : IComparable
where T : IComparable<T> {
public readonly T Item1;
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 13,695 | 4 |
using System;
using System.IO.Pipes;
using System.Runtime.InteropServices.ComTypes;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var rgb = input.Split(' ');
var i = int.Parse(String.Join("", rgb));
if (i % 4 == 0) {
Console.WriteLine(... | using System;
using System.IO.Pipes;
using System.Runtime.InteropServices.ComTypes;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var rgb = input.Split(' ');
var i = int.Parse(String.Join("", rgb));
if (i % 4 == 0) {
Console.WriteLine(... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 108 | 4 |
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 total = (a * 100) + (b * 10) + c;
if (total % 4 != 0) {
Console.WriteLine("YES");
... | 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 total = (a * 100) + (b * 10) + c;
if (total % 4 == 0) {
Console.WriteLine("YES");
... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 79], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60]] | 8 | 123 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
// https://atcoder.jp/contests/abc064/tasks/abc064_a
public class Q064A {
public static void Main(string[] args) {
var sw = new System.IO.StreamWriter(
Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
// https://atcoder.jp/contests/abc064/tasks/abc064_a
public class Q064A {
public static void Main(string[] args) {
var sw = new System.IO.StreamWriter(
Con... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109]] | 8 | 155 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
public class QuestionA {
public static void Main(string[] args) {
// 文字列配列の入力
string[] inputStrArray = Console.ReadLine().Split(' ');
var number = inputSt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
public class QuestionA {
public static void Main(string[] args) {
// 文字列配列の入力
string[] inputStrArray = Console.ReadLine().Split(' ');
var number = inputSt... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 125 | 4 |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace cswork {
class Program {
public Program() {}
Scanner cin;
const int MAXIN = 1024;
bool[] used = new bool[MAXIN];
int[] perm = new int[MAXIN];
List<int[]> permList = new List<int[]>();
void Omame() {
cin = new Sca... | using System;
using System.Collections.Generic;
using System.Globalization;
namespace cswork {
class Program {
public Program() {}
Scanner cin;
const int MAXIN = 1024;
bool[] used = new bool[MAXIN];
int[] perm = new int[MAXIN];
List<int[]> permList = new List<int[]>();
void Omame() {
cin = new Sca... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 444 | 4 |
using System;
class Test {
static void Main(string[] args) {
string[] tmp = Console.ReadLine().Split(' ');
int r = int.Parse(tmp[0]);
int g = int.Parse(tmp[1]);
int b = int.Parse(tmp[2]);
int calc = 100 * r + 10 * g + b;
if (calc % 4 == 0) {
Console.WriteLine("YES");
} else {
... | using System;
class Test {
static void Main(string[] args) {
string[] tmp = Console.ReadLine().Split(' ');
int r = int.Parse(tmp[0]);
int g = int.Parse(tmp[1]);
int b = int.Parse(tmp[2]);
int calc = 100 * r + 10 * g + b;
if (calc % 4 == 0) {
Console.WriteLine("YES");
} else {
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 119 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC064A {
class Program {
static void Main(string[] args) {
int a, b, c, d;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC064A {
class Program {
static void Main(string[] args) {
int a, b, c, d;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c =... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 152 | 4 |
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 r = cin.nextInt();
var g = cin.nextInt();
var... | 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 r = cin.nextInt();
var g = cin.nextInt();
var... | [["-", 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 | 2,173 | 4 |
using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int r = int.Parse(input[0]);
int g = int.Parse(input[1]);
int b = int.Parse(input[2]);
if ((100 * r + 10 * g + b % 4) == 0) {
Console.WriteLine("YES");
} else {
Consol... | using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int r = int.Parse(input[0]);
int g = int.Parse(input[1]);
int b = int.Parse(input[2]);
if ((100 * r + 10 * g + b) % 4 == 0) {
Console.WriteLine("YES");
} else {
Consol... | [["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 25], ["-", 8, 196, 0, 57, 15, 16, 31, 23, 0, 25]] | 8 | 116 | 2 |
using System;
using System.Linq;
public class s {
public static void Main() {
int[] rgb = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
string ans = "NO";
if ((rgb[1] + rgb[2]) % 4 == 0)
ans = "YES";
Console.WriteLine(ans);
}
} | using System;
using System.Linq;
public class s {
public static void Main() {
int[] rgb = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
string ans = "NO";
if ((rgb[1] * 10 + rgb[2]) % 4 == 0)
ans = "YES";
Console.WriteLine(ans);
}
} | [["+", 31, 16, 31, 23, 0, 16, 31, 16, 17, 48], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 12, 203]] | 8 | 88 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong() { return lo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong() { return lo... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 293 | 4 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
internal class Program {
static void Main() => CustomMain();
static void Solve() {
int a, b, c;
ReadMulti(out a, out b, out c);
var ans = a * 100 + b * 10 + c % 4 == 0 ? "YES" : "NO";
Writ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
internal class Program {
static void Main() => CustomMain();
static void Solve() {
int a, b, c;
ReadMulti(out a, out b, out c);
var ans = (a * 100 + b * 10 + c) % 4 == 0 ? "YES" : "NO";
Wr... | [["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 25]] | 8 | 789 | 2 |
using System;
class AtCoder {
static void Main(string[] args) {
string input = Console.ReadLine().Replace(" ", "");
var s = int.Parse(input) % 4 == 0 ? "Yes" : "No";
Console.WriteLine(s);
}
} | using System;
class AtCoder {
static void Main(string[] args) {
string input = Console.ReadLine().Replace(" ", "");
var s = int.Parse(input) % 4 == 0 ? "YES" : "NO";
Console.WriteLine(s);
}
} | [["-", 0, 200, 0, 212, 0, 41, 64, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 41, 64, 5, 0, 222], ["-", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 41, 75, 5, 0, 222]] | 8 | 66 | 4 |
using System;
class Program {
static void Main() {
string[] input =
Console.ReadLine().Split(' '); // Splitで空白で区切って2つ受け取る。
int g = int.Parse(input[1]);
int b = int.Parse(input[2]);
if (g * 10 + b % 4 == 0)
Console.WriteLine("YES"); // WriteLineをWriteとすると、改行なしで出力。
else
Console.W... | using System;
class Program {
static void Main() {
string[] input =
Console.ReadLine().Split(' '); // Splitで空白で区切って2つ受け取る。
int g = int.Parse(input[1]);
int b = int.Parse(input[2]);
if ((g * 10 + b) % 4 == 0)
Console.WriteLine("YES"); // WriteLineをWriteとすると、改行なしで出力。
else
Console... | [["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 25]] | 8 | 91 | 2 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
var sw = new System.IO.StreamWriter(
Console.OpenStand... | 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) {
var sw = new System.IO.StreamWriter(
Console.OpenStand... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 516 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
public class Hello {
public static void Main() {
string s = Console.ReadLine().Replace(" ", "");
string ans = "No";
int num = int.Parse(s);
if (num % 4 == 0)
ans = "Yes";
Console.WriteLine(ans);
}
} | using System;
using System.Linq;
using System.Collections.Generic;
public class Hello {
public static void Main() {
string s = Console.ReadLine().Replace(" ", "");
string ans = "NO";
int num = int.Parse(s);
if (num % 4 == 0)
ans = "YES";
Console.WriteLine(ans);
}
} | [["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 0, 57, 64, 1, 0, 11, 12, 5, 0, 222], ["+", 0, 57, 64, 1, 0, 11, 12, 5, 0, 222]] | 8 | 85 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
string Solve(int R, int G, int B) {
return (R * 100 + G * 10 + B) % 4 == 0 ? "YES" : "No";
}
static void Main() {
var NX = Console.ReadLine().Split(' ').Select(int.Parse).T... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
string Solve(int R, int G, int B) {
return (R * 100 + G * 10 + B) % 4 == 0 ? "YES" : "NO";
}
static void Main() {
var NX = Console.ReadLine().Split(' ').Select(int.Parse).T... | [["-", 8, 196, 0, 37, 0, 41, 75, 5, 0, 222], ["+", 8, 196, 0, 37, 0, 41, 75, 5, 0, 222]] | 8 | 132 | 2 |
namespace ConsoleApplication {
class Program {
public static void Main(string[] args) {
var parms = System.Console.ReadLine().Split();
System.Console.WriteLine(
int.Parse(parms[1]) * 10 + int.Parse(parms[2]) % 4 == 0 ? "YES" : "NO");
}
}
}
| using System;
class Program {
public static void Main(string[] args) {
var parms = System.Console.ReadLine().Split();
System.Console.WriteLine(
(int.Parse(parms[1]) * 10 + int.Parse(parms[2])) % 4 == 0 ? "YES"
: "NO");
}
}
| [["-", 36, 36, 36, 36, 0, 208, 0, 209, 0, 256], ["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 36, 36, 0, 208, 0, 209, 8, 201, 0, 45], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, ... | 8 | 76 | 5 |
namespace ConsoleApplication {
class Program {
public static void Main(string[] args) {
var parms = System.Console.ReadLine().Split();
System.Console.WriteLine(
int.Parse(parms[1]) * 10 + int.Parse(parms[2]) % 4 == 0 ? "YES" : "NO");
}
}
}
| using System;
namespace ConsoleApplication {
class Program {
public static void Main(string[] args) {
var parms = System.Console.ReadLine().Split();
System.Console.WriteLine(
(int.Parse(parms[1]) * 10 + int.Parse(parms[2])) % 4 == 0 ? "YES"
... | [["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 213, 3, 4, 0, 25]] | 8 | 76 | 5 |
using System;
class Answer {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
int c = int.Parse(str[2]);
int num = a * 100 + b * 10 + c;
if (num % 4 == 0) {
Console.Write("Yes");
} else {
Console.Write("... | using System;
class Answer {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
int c = int.Parse(str[2]);
int num = a * 100 + b * 10 + c;
if (num % 4 == 0) {
Console.Write("YES");
} else {
Console.Write("... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 115 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Hello {
static void Main() {
var n = Console.ReadLine().Split(); //.Where(e => e != ' ').ToArray();
int a = int.Parse(string.Join("", n));
string str = "";
if (a % 4 == 0) {
str = "YES";
} else {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Hello {
static void Main() {
var n = Console.ReadLine().Split();
int a = int.Parse(string.Join("", n));
string str = "";
if (a % 4 == 0) {
str = "YES";
} else {
str = "NO";
}
Console.... | [["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222]] | 8 | 101 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace abc64 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int r = int.Parse(str[0]);
int g = int.Parse(str[1]);
int b = int.Parse... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace abc64 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int r = int.Parse(str[0]);
int g = int.Parse(str[1]);
int b = int.Parse... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 147 | 2 |
using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int x = int.Parse(input[0]);
int y = int.Parse(input[1]);
if (x == 4 || x == 6 || x == 9 || x == 11)
x = 1;
else if (x == 2)
x = 2;
else
x = 3;
if (y == 4 ||... | using System;
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int x = int.Parse(input[0]);
int y = int.Parse(input[1]);
if (x == 4 || x == 6 || x == 9 || x == 11)
x = 1;
else if (x == 2)
x = 2;
else
x = 3;
if (y == 4 ||... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 163 | 2 |
using System;
using System.Collections.Generic;
public class Hello {
public static void Main() {
string[] s = Console.ReadLine().Split(' ');
int x = int.Parse(s[0]);
int y = int.Parse(s[1]);
var a = new List<int>() { 1, 3, 5, 7, 8, 10, 12 };
var b = new List<int>() { 4, 6, 9, 11 };
if (x == y)... | using System;
using System.Collections.Generic;
public class Hello {
public static void Main() {
string[] s = Console.ReadLine().Split(' ');
int x = int.Parse(s[0]);
int y = int.Parse(s[1]);
var a = new List<int>() { 1, 3, 5, 7, 8, 10, 12 };
var b = new List<int>() { 4, 6, 9, 11 };
if (x == y)... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 198 | 8 |
using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
int[][] a = { new int[] { 1, 3, 5, 6, 8, 10, 12 },
new int[] { 4, 6, 9, 11 }, new int[] { 2 } };
int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray();
for (int i = 0; i < 3; i++... | using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
int[][] a = { new int[] { 1, 3, 5, 7, 8, 10, 12 },
new int[] { 4, 6, 9, 11 }, new int[] { 2 } };
int[] s = Console.ReadLine().Split().Select(int.Parse).ToArray();
for (int i = 0; i < 3; i++... | [["-", 0, 212, 0, 229, 0, 227, 0, 229, 0, 203], ["+", 0, 212, 0, 229, 0, 227, 0, 229, 0, 203]] | 8 | 169 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
public class Program {
public static void Main() {
Reader reader = new Reader(Console.In);
int x = reader.RInt();
int y = reader.Int();
var g1 = new List<int> { 1, 3, 5, 7, 8, 10, 12 };
var g2 = new List<int> { 4... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
public class Program {
public static void Main() {
Reader reader = new Reader(Console.In);
int x = reader.RInt();
int y = reader.Int();
var g1 = new List<int> { 1, 3, 5, 7, 8, 10, 12 };
var g2 = new List<int> { 4... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 415 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Hello {
public static Hello hello;
public static void Main() {
hello = new Hello();
hello.Run();
}
private string[] ReadInputs() {
var line = System.Console.ReadLine();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Hello {
public static Hello hello;
public static void Main() {
hello = new Hello();
hello.Run();
}
private string[] ReadInputs() {
var line = System.Console.ReadLine();
... | [["-", 0, 200, 0, 212, 0, 230, 10, 229, 0, 203], ["+", 0, 200, 0, 212, 0, 230, 10, 229, 0, 203]] | 8 | 281 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass : Scanner {
static void Main() {
var (H, W) = ReadStream<int, int>();
string frame = "";
for (int i = 0; i < W; i++) {
frame += "#";
}
WriteLine(frame);
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass : Scanner {
static void Main() {
var (H, W) = ReadStream<int, int>();
string frame = "";
for (int i = 0; i < W + 2; i++) {
frame += "#";
}
WriteLine(fram... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 1,189 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Linq.Expressions;
static class Program {
static void Main() { new Magatro().Solve(); }
}
class Magatro {
int H, W;
public void Solve() {
var line = Console.ReadLine().Split(' ');
H = int.Parse(line... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Linq.Expressions;
static class Program {
static void Main() { new Magatro().Solve(); }
}
class Magatro {
int H, W;
public void Solve() {
var line = Console.ReadLine().Split(' ');
H = int.Parse(line... | [["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22]] | 8 | 189 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public const long Giri = 1000000007;
public const long DpInf = 99999999999999;
public static void Main(string[] args) {
var p = Input().ToInt();
var h = p[0];
var w = p[1];
for (int i = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public const long Giri = 1000000007;
public const long DpInf = 99999999999999;
public static void Main(string[] args) {
var p = Input().ToInt();
var h = p[0];
var w = p[1];
for (int i = ... | [["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]] | 8 | 364 | 6 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Numerics;
using System.IO;
using System.Runtime.InteropServices;
using static System.Math;
using stat... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Numerics;
using System.IO;
using System.Runtime.InteropServices;
using static System.Math;
using stat... | [["-", 0, 213, 3, 4, 0, 28, 0, 252, 0, 104], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 44]] | 8 | 991 | 5 |
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 r = ReadIntArray();
var H = r[0];
var W = r[1];
List<string> row = new List<string... | 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 r = ReadIntArray();
var H = r[0];
var W = r[1];
List<string> row = new List<string... | [["-", 205, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 205, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 372 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using System.Runtime.CompilerServices;
using static MyUtil;
class MyUtil {
public static int[] ReadIntArray() {
return ReadLine().Split().Select(x => int.Parse(x)).ToArray();
}
}
class Program {
public static voi... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using System.Runtime.CompilerServices;
using static MyUtil;
class MyUtil {
public static int[] ReadIntArray() {
return ReadLine().Split().Select(x => int.Parse(x)).ToArray();
}
}
class Program {
public static voi... | [["+", 0, 230, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 230, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 165 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practice {
class Program {
static void Main(string[] args) {
SolveA();
// SolveB();
// SolveC();
// SolveD();
}
private const long MOD = 1000000007;
static void SolveA() {
var o = ReadAndParseIn... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practice {
class Program {
static void Main(string[] args) {
SolveA();
// SolveB();
// SolveC();
// SolveD();
}
private const long MOD = 1000000007;
static void SolveA() {
var o = ReadAndParseIn... | [["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]] | 8 | 586 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
var temp = (Console.ReadLine().Split(' '));
var height = int.Parse(temp[0]);
var width = int.Parse(temp[1]);
va... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
var temp = (Console.ReadLine().Split(' '));
var height = int.Parse(temp[0]);
var width = int.Parse(temp[1]);
va... | [["-", 0, 213, 3, 4, 0, 28, 0, 252, 0, 253], ["+", 0, 213, 3, 4, 0, 28, 0, 252, 0, 253], ["-", 0, 28, 0, 16, 31, 16, 31, 5, 0, 222], ["+", 0, 28, 0, 16, 31, 16, 31, 5, 0, 222], ["-", 3, 4, 0, 28, 0, 16, 12, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 16, 12, 5, 0, 222]] | 8 | 220 | 8 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoderTest {
public class Program {
public static void Main(string[] args) {
string[] s = Console.ReadLine().Split();
int h = int.Parse(s[0]);
int w = int.Parse(s[1]);
strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoderTest {
public class Program {
public static void Main(string[] args) {
string[] s = Console.ReadLine().Split();
int h = int.Parse(s[0]);
int w = int.Parse(s[1]);
strin... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 162 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
using System.Numerics;
namespace AtCoder {
class Program {
static public long[] Sarray() {
return ReadLine().Split().Select(long.Parse).ToArray();
}
st... | using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
using System.Numerics;
namespace AtCoder {
class Program {
static public long[] Sarray() {
return ReadLine().Split().Select(long.Parse).ToArray();
}
st... | [["-", 8, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 31, 22]] | 8 | 409 | 2 |
using System;
using System.Linq;
using static System.Math;
class C {
static void Main() {
var a = Console.ReadLine().Split().Select(long.Parse).ToArray();
long h = a[0], w = a[1];
if (h % 3 == 0 || w % 3 == 0) {
Console.WriteLine(0);
return;
}
var m = Min(h > 3 ? w : long.MaxValue, w... | using System;
using System.Linq;
using static System.Math;
class C {
static void Main() {
var a = Console.ReadLine().Split().Select(long.Parse).ToArray();
long h = a[0], w = a[1];
if (h % 3 == 0 || w % 3 == 0) {
Console.WriteLine(0);
return;
}
var m = Min(h > 3 ? w : long.MaxValue, w... | [["+", 0, 229, 0, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 229, 0, 16, 31, 23, 0, 16, 17, 33], ["-", 0, 229, 0, 16, 31, 23, 0, 16, 17, 72], ["-", 0, 229, 0, 16, 31, 23, 0, 16, 12, 203]] | 8 | 258 | 4 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCorder {
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 AtCorder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199]] | 8 | 1,008 | 12 |
using System.Linq;
using System;
public class Hello {
public static void Main() {
string[] line = Console.ReadLine().Trim().Split(' ');
var h = long.Parse(line[0]);
var w = long.Parse(line[1]);
if (h % 3 == 0 | w % 3 == 0) {
Console.WriteLine(0);
goto end;
}
var r1 = Math.Min(getD... | using System.Linq;
using System;
public class Hello {
public static void Main() {
string[] line = Console.ReadLine().Trim().Split(' ');
var h = long.Parse(line[0]);
var w = long.Parse(line[1]);
if (h % 3 == 0 | w % 3 == 0) {
Console.WriteLine(0);
goto end;
}
var r1 = Math.Min(getD... | [["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33]] | 8 | 385 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder {
class MainClass {
public static void Main(string[] args) {
var x = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var ans = Ans(x);
x = new[] { x[1], x[0] };
ans = Math.Min(ans, Ans(x));
Console.Wr... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder {
class MainClass {
public static void Main(string[] args) {
var x = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
var ans = Ans(x);
x = new[] { x[1], x[0] };
ans = Math.Min(ans, Ans(x));
Console.Wr... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 25]] | 8 | 453 | 7 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace test {
class Program {
static void Main(string[] args) {
var N = ReadInt();
var a = ReadArrayInt();
var aSum = new long[a.Length + 1];
for (int i = 1; i < aSum.Length; i++)
aSum[i] = aSum[i - 1] + a[i - 1];
var min... | using System;
using System.Collections.Generic;
using System.Linq;
namespace test {
class Program {
static void Main(string[] args) {
var N = ReadInt();
var a = ReadArrayInt();
var aSum = new long[a.Length + 1];
for (int i = 1; i < aSum.Length; i++)
aSum[i] = aSum[i - 1] + a[i - 1];
var min... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 823 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
checked {
var H = sc.ReadLong();
var W = sc.ReadLong();
if (W % 3 == 0 || H % 3 == 0) {
Console.WriteLine(0);
return;
}
var ans = lo... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Program {
static void Main(string[] args) {
checked {
var H = sc.ReadLong();
var W = sc.ReadLong();
if (W % 3 == 0 || H % 3 == 0) {
Console.WriteLine(0);
return;
}
var ans = lo... | [["+", 0, 287, 0, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 287, 0, 196, 0, 7, 8, 196, 0, 46]] | 8 | 1,305 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.IO;
#region code challenges entry point
#if !SOLVER_ATWORKSPACE
class Program {
static void Main(string[] args) {
using (
var output = new CC.BP.FormattedStreamWriter(
Console
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.IO;
#region code challenges entry point
#if !SOLVER_ATWORKSPACE
class Program {
static void Main(string[] args) {
using (
var output = new CC.BP.FormattedStreamWriter(
Console
... | [["-", 12, 23, 0, 16, 31, 23, 0, 16, 12, 203], ["+", 12, 23, 0, 16, 31, 23, 0, 16, 12, 203]] | 8 | 1,463 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ACB61A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int.... | [["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 144 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Lesson06 {
public static void Main() {
string num = Console.ReadLine();
string[] nums = num.Split(' ');
int A = int.Parse(nums[0]);
int B = int.Parse(nums[1]);
int C ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Lesson06 {
public static void Main() {
string num = Console.ReadLine();
string[] nums = num.Split(' ');
int A = int.Parse(nums[0]);
int B = int.Parse(nums[1]);
int C ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 135 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 140 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = in... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 106], ["+", 0, 57, 15, 16, 31, 16, 31, 16, 17, 98], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 149 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC_061A {
class Program {
static void Main(string[] args) {
int A, B, C;
var word = Console.ReadLine().Split(' ');
A = int.Parse(word[0]);
B = int.Parse(word[1]);
C = i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC_061A {
class Program {
static void Main(string[] args) {
int A, B, C;
var word = Console.ReadLine().Split(' ');
A = int.Parse(word[0]);
B = int.Parse(word[1]);
C = i... | [["-", 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, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20]] | 8 | 140 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c, d, f;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A {
class Program {
static void Main(string[] args) {
int a, b, c, d, f;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c ... | [["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 57, 0, 121], ["-", 0, 195, 8, 196, 0, 57, 64, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 148 | 4 |
using System;
namespace ConsoleApp21 {
class Program {
static void Main(string[] args) {
string[] line = Console.ReadLine().Split(' ');
int A = int.Parse(line[0]);
int B = int.Parse(line[1]);
int C = int.Parse(line[2]);
string rtn = "No";
if (A < C && C < B) {
rtn = "Yes";
}
C... | using System;
namespace ConsoleApp21 {
class Program {
static void Main(string[] args) {
string[] line = Console.ReadLine().Split(' ');
int A = int.Parse(line[0]);
int B = int.Parse(line[1]);
int C = int.Parse(line[2]);
string rtn = "No";
if (A <= C && C <= B) {
rtn = "Yes";
}
... | [["-", 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 | 111 | 4 |
using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var a = InputNumList();
WriteLine(a[0] < a[2] && a[2] < a[1] ? "Yes" : "No");
}
static int InputNum() { return int.Parse(ReadLine()); }
... | using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
namespace Atcoder {
class Program {
static void Main(string[] args) {
var a = InputNumList();
WriteLine(a[0] <= a[2] && a[2] <= a[1] ? "Yes" : "No");
}
static int InputNum() { return int.Parse(ReadLine()); }... | [["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 18], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 19], ["-", 0, 28, 0, 41, 15, 16, 12, 16, 17, 18], ["+", 0, 28, 0, 41, 15, 16, 12, 16, 17, 19]] | 8 | 128 | 4 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCorder {
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 AtCorder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 628 | 4 |
using System;
namespace ABC061A_BetweenTwoIntegers {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int min = int.Parse(input[0]);
int max = int.Parse(input[1]);
int target = int.Parse(input[2]);
bool result = false;
if (min <= target && m... | using System;
namespace ABC061A_BetweenTwoIntegers {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int min = int.Parse(input[0]);
int max = int.Parse(input[1]);
int target = int.Parse(input[2]);
bool result = false;
if (min <= target && m... | [["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]] | 8 | 126 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace program {
class Program {
static void Main() {
int[] S = Input.ScanIntArray();
Console.WriteLine((S[0] <= S[1]) && (S[1] <= S[2]) ? "Yes" : "No");
}
}
static class Input {
static public int ScanInt() { return int.Parse(Console.... | using System;
using System.Linq;
using System.Collections.Generic;
namespace program {
class Program {
static void Main() {
int[] S = Input.ScanIntArray();
Console.WriteLine((S[0] <= S[2]) && (S[2] <= S[1]) ? "Yes" : "No");
}
}
static class Input {
static public int ScanInt() { return int.Parse(Console.... | [["-", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 16, 31, 204, 206, 207, 0, 28, 0, 203]] | 8 | 549 | 6 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using static MyIO;
public class A {
public static void Main() {
int A = GetInt();
int B = GetInt();
int C = GetInt();
Console.WriteLine(((C >= A) && (C <= B)) ? "YES" : "NO");
}
}
public static class MyIO ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using static MyIO;
public class A {
public static void Main() {
int A = GetInt();
int B = GetInt();
int C = GetInt();
Console.WriteLine(((C >= A) && (C <= B)) ? "Yes" : "No");
}
}
public static class MyIO ... | [["-", 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 | 231 | 4 |
using System;
namespace ConsoleApp1 {
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[1]);
if (C >= A) {
if (B >= C) {
Console.WriteLine("Yes");
... | using System;
namespace ConsoleApp1 {
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]);
if (C >= A) {
if (B >= C) {
Console.WriteLine("Yes");
... | [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]] | 8 | 128 | 2 |
using System;
public class Hello {
static void Main() {
char[] words = Console.ReadLine().ToCharArray();
bool result = true;
for (int i = 0; i < words.Length - 1; i++) {
for (int j = i + 1; j < words.Length; j++) {
if (words[i] == words[j]) {
result = false;
break;
... | using System;
public class Hello {
static void Main() {
char[] words = Console.ReadLine().ToCharArray();
bool result = true;
for (int i = 0; i < words.Length - 1; i++) {
for (int j = i + 1; j < words.Length; j++) {
// Console.WriteLine("{0}, {1}", words[i], words[j]);
//同じ文字があったら、ル... | [["-", 8, 196, 0, 57, 15, 16, 12, 211, 0, 147], ["+", 8, 196, 0, 57, 15, 16, 12, 211, 0, 146]] | 8 | 134 | 2 |
using System;
using System.Linq;
namespace practice {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var isDuplicated = input.Distinct().Count() == input.Length;
if (isDuplicated) {
Console.WriteLine("no");
} else {
Console.WriteLine("yes");
}
}
}... | using System;
using System.Linq;
namespace practice {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var isDuplicated = input.Distinct().Count() == input.Length;
if (isDuplicated) {
Console.WriteLine("yes");
} else {
Console.WriteLine("no");
}
}
}... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 80 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _075c {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
int[] s = new int[N];
for (int i = 0; i < N; i++) {
s[i] = int.Parse(Console.ReadLine());
}
int ans = 0;
Array.S... | using System;
using System.Collections.Generic;
using System.Linq;
namespace _075c {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
int[] s = new int[N];
for (int i = 0; i < N; i++) {
s[i] = int.Parse(Console.ReadLine());
}
int ans = 0;
Array.S... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 79]] | 8 | 186 | 2 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCorder {
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 AtCorder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 57, 15, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 16, 12, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 16, 12, 16, 31, 16, 12, 203], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]] | 8 | 524 | 6 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Remoting.Messaging;
using System.Security.Principal;
using System.Text;
class Simple {
private long N, A, B;
private long[] h;
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Remoting.Messaging;
using System.Security.Principal;
using System.Text;
class Simple {
private long N, A, B;
private long[] h;
... | [["-", 0, 200, 0, 212, 0, 11, 0, 202, 0, 32], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217]] | 8 | 565 | 4 |
using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static string[] input = Console.ReadLine().Split(
' '); // Splitで区切り文字を指定して複数個受け取る。
static long n = long.Parse(input[0]);
static long a = long.Parse(input[1]);
static long b = long.Parse(input[2]);
static long[] ... | using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static string[] input = Console.ReadLine().Split(
' '); // Splitで区切り文字を指定して複数個受け取る。
static long n = long.Parse(input[0]);
static long a = long.Parse(input[1]);
static long b = long.Parse(input[2]);
static long[] ... | [["-", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 28, 0, 213, 3, 4, 0, 28, 0, 203], ["-", 8, 196, 0, 57, 75, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 57, 75, 1, 0, 11, 31, 22]] | 8 | 341 | 4 |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
public class Program {
public void Proc() {
long[] inpt =
Reader.ReadLine().Split(' ').Select(a => long.Parse(a)).ToArray();
int mamonoCount = (int)inpt[0];
this.BigDamage = inpt[1];
this.SmallDamage = inpt[... | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
public class Program {
public void Proc() {
long[] inpt =
Reader.ReadLine().Split(' ').Select(a => long.Parse(a)).ToArray();
int mamonoCount = (int)inpt[0];
this.BigDamage = inpt[1];
this.SmallDamage = inpt[... | [["+", 0, 16, 31, 23, 0, 16, 31, 74, 0, 24], ["+", 0, 16, 31, 23, 0, 16, 12, 23, 0, 25], ["-", 0, 124, 0, 198, 0, 200, 0, 212, 0, 258], ["+", 0, 124, 0, 198, 0, 200, 0, 212, 0, 258]] | 8 | 518 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Convert;
using static System.Math;
// using Debug;
// using static System.Globalization.CultureInfo;
// using Edge = Pair<long, int>;
using System.Text;
class Program {
static void Main... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Convert;
using static System.Math;
// using Debug;
// using static System.Globalization.CultureInfo;
// using Edge = Pair<long, int>;
using System.Text;
class Program {
static void Main... | [["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199]] | 8 | 1,810 | 2 |
using System;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using MethodImplOptions = System.Runtime.CompilerServices.Me... | using System;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using MethodImplOptions = System.Runtime.CompilerServices.Me... | [["-", 8, 201, 0, 195, 8, 196, 0, 293, 0, 294], ["-", 0, 195, 8, 196, 0, 293, 0, 230, 0, 228], ["-", 0, 195, 8, 196, 0, 293, 0, 230, 39, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22]] | 8 | 771 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mirrored {
class Program {
static void Main(string[] args) {
decimal ans = 0;
decimal D = decimal.Parse(Console.ReadLine());
if (D % 9 != 0) {
Console.WriteLine(0);
Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mirrored {
class Program {
static void Main(string[] args) {
decimal ans = 0;
decimal D = decimal.Parse(Console.ReadLine());
if (D % 9 != 0) {
Console.WriteLine(0);
Co... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["-", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 8 | 412 | 4 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using E = System.Linq.Enumerable;
class Program {
static char[] abc = "abcdefghijklmnopqrstuvwxyz".ToCharArray();
static long mod = 1000000007;
static void Main(string[] args) {
var NM = Console.Re... | using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using E = System.Linq.Enumerable;
class Program {
static char[] abc = "abcdefghijklmnopqrstuvwxyz".ToCharArray();
static long mod = 1000000007;
static void Main(string[] args) {
var NM = Console.Re... | [["-", 15, 16, 12, 23, 0, 16, 31, 16, 17, 60], ["+", 15, 16, 12, 23, 0, 16, 31, 16, 17, 79]] | 8 | 172 | 2 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using static System.Console;
using static System.Math;
namespace Atcoder {
class Program {
static StreamWriter sw =
new StreamWriter(OpenStandardOutput()) { AutoFlush = ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using static System.Console;
using static System.Math;
namespace Atcoder {
class Program {
static StreamWriter sw =
new StreamWriter(OpenStandardOutput()) { AutoFlush = ... | [["-", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22]] | 8 | 577 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp11 {
class Class62 {
static void Main() {
var I = Console.ReadLine().Split().Select(int.Parse).ToArray();
var N = I[0];
var A = I[1];
var B = I[2];
long ans = (N... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp11 {
class Class62 {
static void Main() {
var I = Console.ReadLine().Split().Select(long.Parse).ToArray();
var N = I[0];
var A = I[1];
var B = I[2];
long ans = (... | [["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]] | 8 | 143 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P {
public static void Ma... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P {
public static void Ma... | [["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]] | 8 | 189 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
int[] NAB = Console.ReadLine().Split().Select(int.Parse).ToArray();
int maxsum = NAB[2] * (NAB[0] - 1) + NAB[1];
int minsum = NAB[1] * (NAB[0] - 1) + NAB[2];
if (NAB[0] == 1) {
if (NAB[1] == NAB[2]... | using System;
using System.Linq;
using System.Collections.Generic;
class P {
static void Main() {
long[] NAB = Console.ReadLine().Split().Select(long.Parse).ToArray();
long maxsum = NAB[2] * (NAB[0] - 1) + NAB[1];
long minsum = NAB[1] * (NAB[0] - 1) + NAB[2];
if (NAB[0] == 1) {
if (NAB[1] == NA... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 172 | 8 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
public class Hello {
static public int mod = 1000000007;
public static void Main() {
// 方針
//
int[] num = inta();
if (num[0] == 1) {
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;
using static System.Math;
public class Hello {
static public int mod = 1000000007;
public static void Main() {
// 方針
//
long[] num = longa();
if (num[0] == 1) {... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22]] | 8 | 967 | 4 |
using System;
using System.Linq;
namespace AGC015 {
class A {
static void Main(string[] args) {
int[] input = Console.ReadLine().Split().Select(int.Parse).ToArray();
int N = input[0];
int A = input[1];
int B = input[2];
if (N == 1) {
if (A == B) {
Console.WriteLine(1);
ret... | using System;
using System.Linq;
namespace AGC015 {
class A {
static void Main(string[] args) {
long[] input = Console.ReadLine().Split().Select(long.Parse).ToArray();
long N = input[0];
long A = input[1];
long B = input[2];
if (N == 1) {
if (A == B) {
Console.WriteLine(1);
... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 154 | 10 |
using System;
using System.Linq;
class A {
static void Main() {
var h = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = h[0], a = h[1], b = h[2];
Console.WriteLine(Math.Max((n - 2) * (b - a) + 1, 0));
}
}
| using System;
using System.Linq;
class A {
static void Main() {
var h = Console.ReadLine().Split().Select(long.Parse).ToArray();
long n = h[0], a = h[1], b = h[2];
Console.WriteLine(Math.Max((n - 2) * (b - a) + 1, 0));
}
}
| [["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 91 | 4 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
namespace AGC015A {
class Program {
static void Solve(Input input) {
var n = input.NextInt();
var a = input.NextInt();
var b = input.NextInt();
C... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
namespace AGC015A {
class Program {
static void Solve(Input input) {
var n = input.NextInt();
var a = input.NextInt();
var b = input.NextInt();
C... | [["-", 8, 201, 0, 195, 54, 55, 0, 220, 39, 199], ["+", 8, 201, 0, 195, 54, 55, 0, 220, 39, 199]] | 8 | 907 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Convert;
using static System.Math;
class Program {
static void Main(string[] args) {
var nab = Array.ConvertAll(ReadLine().Split(' '), int.Parse);
if (nab[1] > nab[2]) {
WriteLine(0);
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Convert;
using static System.Math;
class Program {
static void Main(string[] args) {
var nab = Array.ConvertAll(ReadLine().Split(' '), int.Parse);
if (nab[1] > nab[2]) {
WriteLine(0);
... | [["-", 51, 23, 0, 16, 31, 16, 31, 23, 0, 24], ["-", 3, 4, 0, 28, 0, 74, 51, 23, 0, 25]] | 8 | 170 | 2 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace AtCoder {
class Practice {
static void Main() => CustomMain();
static void Solve() {
long n, a, b;
ReadMulti(out n, out a, out b);
if (b < a) {
WriteAnswer(0);
return;
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace AtCoder {
class Practice {
static void Main() => CustomMain();
static void Solve() {
long n, a, b;
ReadMulti(out n, out a, out b);
if (b < a) {
WriteAnswer(0);
return;
... | [["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 72], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72]] | 8 | 774 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Practice {
class Program {
static void Main(string[] args) { Solve(); }
private const int MOD = 1000000007;
static void Solve() {
var nab = ReadAndParseIntArr();
long n = nab[0];
long a = nab[1];
long b = nab[2];
if ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Practice {
class Program {
static void Main(string[] args) { Solve(); }
private const int MOD = 1000000007;
static void Solve() {
var nab = ReadAndParseIntArr();
long n = nab[0];
long a = nab[1];
long b = nab[2];
if ... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47]] | 8 | 783 | 2 |
using System;
using System.Collections.Generic;
using static System.Console;
class Program {
static void Main() {
var n = NextInt();
var a = NextInt();
var b = NextInt();
WriteLine(Math.Max(0, (b - a) * (n - 2) + 1));
}
static int NextInt() { return int.Parse(NextString()); }
static string Ne... | using System;
using System.Collections.Generic;
using static System.Console;
class Program {
static void Main() {
var n = NextInt();
var a = NextInt();
var b = NextInt();
WriteLine(Math.Max(0, (long)(b - a) * (n - 2) + 1));
}
static int NextInt() { return int.Parse(NextString()); }
static str... | [["+", 0, 28, 0, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 0, 25], ["+", 0, 16, 31, 16, 31, 74, 51, 23, 0, 24]] | 8 | 175 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.