buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k | change_count int64 0 100 |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoderBS {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string checkFirst = "MARCH";
int[] count = new int[5];
long pair = 0;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoderBS {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string checkFirst = "MARCH";
long[] count = new long[5];
long pair = 0;
... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199]] | 8 | 225 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AtCoder {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
var dic = new Dictionary<char, int>();
string s = string.Empty;
var march = new char[] { 'M', 'A', 'R', 'C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AtCoder {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
var dic = new Dictionary<char, int>();
string s = string.Empty;
var march = new char[] { 'M', 'A', 'R', 'C... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 290 | 4 |
using System;
using System.Linq;
class Problem_C {
public static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
int mNum = 0, aNum = 0, rNum = 0, cNum = 0, hNum = 0;
for (var i = 0; i < n; i++) {
var name = Console.ReadLine();
if (name.First() == 'M') {
mNum++;
... | using System;
using System.Linq;
class Problem_C {
public static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
long mNum = 0, aNum = 0, rNum = 0, cNum = 0, hNum = 0;
for (var i = 0; i < n; i++) {
var name = Console.ReadLine();
if (name.First() == 'M') {
mNum++;
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 267 | 2 |
using System;
using System.Linq;
namespace abc089_c {
class Program {
static void Main(string[] args) {
char[] name = new char[] { 'M', 'A', 'R', 'C', 'H' };
int[] people = new int[5];
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++) {
string s = Console.ReadLine();
if (... | using System;
using System.Linq;
namespace abc089_c {
class Program {
static void Main(string[] args) {
char[] name = new char[] { 'M', 'A', 'R', 'C', 'H' };
long[] people = new long[5];
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++) {
string s = Console.ReadLine();
if... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199]] | 8 | 219 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
public class Program {
public static void Main() {
// 終了後回答
int N = int.Parse(Console.ReadLine());
string[] names = new string[N];
for (int i = 0; i < N; i++) {
names[i] = Console.ReadLine();
}
i... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
public class Program {
public static void Main() {
// 終了後回答
int N = int.Parse(Console.ReadLine());
string[] names = new string[N];
for (int i = 0; i < N; i++) {
names[i] = Console.ReadLine();
}
l... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 3, 4, 0, 28, 0, 218, 8, 74, 0, 24], ["+", 3, 4, 0, 28, 0, 218, 8, 74, 39, 199], ["+", 3, 4, 0, 28, 0, 218, 8, 74, 0, 25], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199... | 8 | 246 | 7 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
class Program {
static void Main() {
var N = int.Parse(ReadLine());
var S = new string[N];
for (int i = 0; i < N; i++) {
S[i] = ReadLine();
}
long M = S.Count(x => x.First() == 'M');
long A ... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
class Program {
static void Main() {
var N = int.Parse(ReadLine());
var S = new string[N];
for (int i = 0; i < N; i++) {
S[i] = ReadLine();
}
long M = S.Count(x => x.First() == 'M');
long A ... | [["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 212, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 212, 0, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 212, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 17, 48], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 22]] | 8 | 240 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC089C {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
int mNum = 0;
int aNum = 0;
int rNum = 0;
int cNum = 0;
int hNum = 0... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC089C {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
long mNum = 0;
long aNum = 0;
long rNum = 0;
long cNum = 0;
long hNu... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 252 | 10 |
using System;
using System.Collections.Generic;
using System.Linq;
using static Atcoder;
using System.Threading.Tasks;
using System.ComponentModel;
public class Hello {
public static void Main() {
int N = Cin();
String[] Name = new string[N];
int M = 0;
int A = 0;
int R = 0;
int C = 0;
i... | using System;
using System.Collections.Generic;
using System.Linq;
using static Atcoder;
using System.Threading.Tasks;
using System.ComponentModel;
public class Hello {
public static void Main() {
int N = Cin();
String[] Name = new string[N];
ulong M = 0;
ulong A = 0;
ulong R = 0;
ulong C = ... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 540 | 12 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_ABC089_A {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] march = new int[5];
for (int i = 0; i < n; ++i) {
string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder_ABC089_A {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] march = new int[5];
for (int i = 0; i < n; ++i) {
string ... | [["-", 0, 7, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 232, 234, 22], ["+", 8, 196, 0, 197, 0, 198, 39, 232, 0, 131], ["+", 8, 196, 0, 197, 0, 198, 39, 232, 141, 22]] | 8 | 415 | 8 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace ABC089 {
public class Program {
void Solve(StreamScanner ss, StreamWriter sw) {
//---------------------------------
var N = ss.Next(Int);
var S = ss.Next(s => s[0], N);
var gc =
S.Where(c => c == 'M... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace ABC089 {
public class Program {
void Solve(StreamScanner ss, StreamWriter sw) {
//---------------------------------
var N = ss.Next(Int);
var S = ss.Next(s => s[0], N);
var gc =
S.Where(c => c == 'M... | [["+", 0, 11, 12, 16, 31, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 11, 12, 16, 31, 16, 31, 74, 0, 25]] | 8 | 608 | 3 |
using System;
namespace abc089_c {
class program {
static void Main(string[] args) {
ChangeLocalDebugInput();
int N = int.Parse(Console.ReadLine());
int[] march = new int[5];
for (int i = 0; i < N; i++) {
string input = Console.ReadLine();
if (input[0] == 'M') {
march[0]++;
... | using System;
namespace abc089_c {
class program {
static void Main(string[] args) {
ChangeLocalDebugInput();
int N = int.Parse(Console.ReadLine());
long[] march = new long[5];
for (int i = 0; i < N; i++) {
string input = Console.ReadLine();
if (input[0] == 'M') {
march[0]++;
... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199]] | 8 | 371 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Beginner068 {
public class ABC089C {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[] count = new int[5];
HashSet<string> names = new HashSet<string>();
for (int i =... | using System;
using System.Linq;
using System.Collections.Generic;
namespace AtCoder.Beginner068 {
public class ABC089C {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
long[] count = new long[5];
HashSet<string> names = new HashSet<string>();
for (int i... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 261 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder1_A {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string[] name = new string[n];
for (int i = 0; i < n; i++) {
name[i] ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder1_A {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string[] name = new string[n];
for (int i = 0; i < n; i++) {
name[i] ... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 281 | 10 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
long m = 0;
long a = 0;
long r = 0;
long c = 0;
long h = 0;
string s;
for (int i = 0; i < N; i++) {
s = Console.ReadLine();
if (s[0] == 'M')
m+... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine());
long m = 0;
long a = 0;
long r = 0;
long c = 0;
long h = 0;
string s;
for (int i = 0; i < N; i++) {
s = Console.ReadLine();
if (s[0] == 'M')
m+... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 212, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 212, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72]] | 8 | 228 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC089C {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
string[] names = new string[N];
for (int i = 0; i < N; i++) {
var line = C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC089C {
class Program {
static void Main(string[] args) {
var N = int.Parse(Console.ReadLine());
string[] names = new string[N];
for (int i = 0; i < N; i++) {
var line = C... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199]] | 8 | 271 | 4 |
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, D) = ReadTuple<int, int, int>();
var A = new int[H, W];
var dic = new Dictionary<int, (int y, int x)>();
for (int i = 0... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;
class MainClass : Scanner {
static void Main() {
var (H, W, D) = ReadTuple<int, int, int>();
var A = new int[H, W];
var dic = new Dictionary<int, (int y, int x)>();
for (int i = 0... | [["+", 8, 196, 0, 52, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 52, 15, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 52, 15, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 52, 15, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 98]] | 8 | 992 | 6 |
using System;
namespace AtCoder_20190705 {
class Program {
static int Solve() {
int money = int.Parse(Console.ReadLine());
int balance = money - int.Parse(Console.ReadLine());
int someCake = int.Parse(Console.ReadLine());
while (balance > someCake) {
balance -= someCake;
}
return balanc... | using System;
namespace AtCoder_20190705 {
class Program {
static int Solve() {
int money = int.Parse(Console.ReadLine());
int balance = money - int.Parse(Console.ReadLine());
int someCake = int.Parse(Console.ReadLine());
while (balance >= someCake) {
balance -= someCake;
}
return balan... | [["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 20]] | 8 | 97 | 2 |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
class Program {
static void Main() {
//入力
// int[] input = Console.ReadLine().Split().Select(i =>
// int.Parse(i)).ToArray(); string input= Console.ReadLine();
int[] input = new in... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
class Program {
static void Main() {
//入力
// int[] input = Console.ReadLine().Split().Select(i =>
// int.Parse(i)).ToArray(); string input= Console.ReadLine();
int[] input = new in... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 85], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 109]] | 8 | 113 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class ConsoleApp1 {
public static void Main() {
var x = int.Parse(Console.ReadLine());
var y = int.Parse(Console.ReadLine());
var z = int.Parse(Console.ReadLine());
x = x - y;
Console.WriteL... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class ConsoleApp1 {
public static void Main() {
var x = int.Parse(Console.ReadLine());
var y = int.Parse(Console.ReadLine());
var z = int.Parse(Console.ReadLine());
x = x - y;
Console.WriteL... | [["-", 0, 16, 12, 16, 12, 23, 0, 16, 17, 109], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 17, 85]] | 8 | 97 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
int a, b, c, d;
a = int.Parse(Console.ReadLine());
b = int.Parse(Console.ReadLine());
c = int.Parse(Console.ReadLine());
d = a - b;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program {
static void Main(string[] args) {
int a, b, c, d;
a = int.Parse(Console.ReadLine());
b = int.Parse(Console.ReadLine());
c = int.Parse(Console.ReadLine());
d = a - b;... | [["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 20]] | 8 | 126 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using System.Collections;
namespace 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, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 13,795 | 6 |
using System;
using System.IO;
class Solve {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var answer = 0;
for (int i = 0; i <= A; i++) {
for (... | using System;
using System.IO;
class Solve {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var answer = 0;
for (int i = 0; i <= A; i++) {
for (... | [["-", 15, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 12, 22], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 12, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 22]] | 8 | 191 | 6 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 203], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 203]] | 8 | 532 | 2 |
using System;
class Program {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var count = 0;
for (var i = 0; i < A; i++) {
for (var j = 0; j < B... | using System;
class Program {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var count = 0;
for (var i = 0; i <= A; i++) {
for (var j = 0; j <=... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 158 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
class Abc_087_B {
public static void Main(string[] args) {
// 整数の入力
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
class Abc_087_B {
public static void Main(string[] args) {
// 整数の入力
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 200 | 6 |
using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using static System.Console;
using static Program.Input;
using static Program.MyMath;
using static Program.Const;
namespace Program {
static class Const {
public static string alp = "abcdefghijklmnopqrstuvwxyz";
... | using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using static System.Console;
using static Program.Input;
using static Program.MyMath;
using static Program.Const;
namespace Program {
static class Const {
public static string alp = "abcdefghijklmnopqrstuvwxyz";
... | [["-", 15, 23, 0, 16, 31, 16, 31, 16, 17, 33], ["+", 15, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["-", 8, 57, 15, 23, 0, 16, 31, 16, 17, 33], ["+", 8, 57, 15, 16, 31, 23, 0, 16, 17, 72], ["+", 8, 7, 8, 57, 15, 16, 31, 23, 0, 25], ["-", 8, 7, 8, 7, 8, 57, 15, 23, 0, 25]] | 8 | 2,054 | 6 |
using System;
namespace AtCoder {
class Program {
static void Main(string[] args) {
// 整数の入力
long a = long.Parse(Console.ReadLine());
long b = long.Parse(Console.ReadLine());
long c = long.Parse(Console.ReadLine());
long x = long.Parse(Console.ReadLine());
int conbination = 0;
for (int ... | using System;
namespace AtCoder {
class Program {
static void Main(string[] args) {
// 整数の入力
long a = long.Parse(Console.ReadLine());
long b = long.Parse(Console.ReadLine());
long c = long.Parse(Console.ReadLine());
long x = long.Parse(Console.ReadLine());
int conbination = 0;
for (int i... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 173 | 6 |
using System;
namespace atcoder {
class MainClass {
public static void Main(string[] args) {
// Console.WriteLine("Hello World!");
int howmany500 = Int32.Parse(Console.ReadLine());
int howmany100 = Int32.Parse(Console.ReadLine());
int howmany50 = Int32.Parse(Console.ReadLine());
int sum = Int32.P... | using System;
namespace atcoder {
class MainClass {
public static void Main(string[] args) {
// Console.WriteLine("Hello World!");
int howmany500 = Int32.Parse(Console.ReadLine());
int howmany100 = Int32.Parse(Console.ReadLine());
int howmany50 = Int32.Parse(Console.ReadLine());
int sum = Int32.P... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 167 | 6 |
using System;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var count = 0;
for (int a = 1; a <= A; a++) {
... | using System;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
var A = int.Parse(Console.ReadLine());
var B = int.Parse(Console.ReadLine());
var C = int.Parse(Console.ReadLine());
var X = int.Parse(Console.ReadLine());
var count = 0;
for (int a = 0; a <= A; a++) {
... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 159 | 6 |
using System;
using System.Collections.Generic;
namespace atcoder {
class Program {
static void Main(string[] args) {
int A = int.Parse(Console.ReadLine()); // 500
int B = int.Parse(Console.ReadLine()); // 100
int C = int.Parse(Console.ReadLine()); // 50
int X = int.Parse(Console.ReadLine()); // sum
... | using System;
using System.Collections.Generic;
namespace atcoder {
class Program {
static void Main(string[] args) {
int A = int.Parse(Console.ReadLine()); // 500
int B = int.Parse(Console.ReadLine()); // 100
int C = int.Parse(Console.ReadLine()); // 50
int X = int.Parse(Console.ReadLine()); // sum
... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 168 | 6 |
using System;
namespace AtCoder_20190218 {
class Program {
static void Main(string[] args) {
string str_500 = Console.ReadLine();
string str_100 = Console.ReadLine();
string str_50 = Console.ReadLine();
string str_total = Console.ReadLine();
int Yen500 = int.Parse(str_500);
int Yen100 = int.... | using System;
namespace AtCoder_20190218 {
class Program {
static void Main(string[] args) {
string str_500 = Console.ReadLine();
string str_100 = Console.ReadLine();
string str_50 = Console.ReadLine();
string str_total = Console.ReadLine();
int Yen500 = int.Parse(str_500);
int Yen100 = int.... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 181 | 6 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main() {
var fiveHund = int.Parse(Console.ReadLine());
var hund = int.Parse(Console.ReadLine());
var fifty = int.Parse(Console.ReadLine());
var result = int.Parse(Console.ReadLine());
var count = 0;
... | using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main() {
var fiveHund = int.Parse(Console.ReadLine());
var hund = int.Parse(Console.ReadLine());
var fifty = int.Parse(Console.ReadLine());
var result = int.Parse(Console.ReadLine());
var count = 0;
... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 178 | 6 |
using System;
using System.Linq;
namespace AtCoder {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int x = int.Parse(Console.ReadLine());
int count = 0;
for (int i = 0; i ... | using System;
using System.Linq;
namespace AtCoder {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int x = int.Parse(Console.ReadLine());
int count = 0;
for (int i = 0; i ... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 31, 22], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 31, 22], ["-", 0, 7, 8, 196, 0, 7, 26, 223, 0, 22], ["+", 0, 7, 8, 196, 0, 7, 26, 223, 0, 22]] | 8 | 164 | 8 |
using System;
using System.IO;
using System.Linq;
using System.Runtime;
using System.Reflection;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using static System.Math;
class P {
static void Main() {
int... | using System;
using System.IO;
using System.Linq;
using System.Runtime;
using System.Reflection;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using static System.Math;
class P {
static void Main() {
int... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 206 | 2 |
using System;
namespace Sample101 {
class Program {
static void Main(string[] args) {
int A500 = int.Parse(Console.ReadLine());
int B100 = int.Parse(Console.ReadLine());
int C50 = int.Parse(Console.ReadLine());
int X = int.Parse(Console.ReadLine());
int result = 0;
for (int a = 0; a <= A500; ... | using System;
namespace Sample101 {
class Program {
static void Main(string[] args) {
int A500 = int.Parse(Console.ReadLine());
int B100 = int.Parse(Console.ReadLine());
int C50 = int.Parse(Console.ReadLine());
int X = int.Parse(Console.ReadLine());
int result = 0;
for (int a = 0; a <= A500; ... | [["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]] | 8 | 164 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace B_087 {
class Program {
static void Main(string[] args) {
int A = Convert.ToInt32(Console.ReadLine());
int B = Convert.ToInt32(Console.ReadLine());
int C = Convert.ToInt32(Console... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace B_087 {
class Program {
static void Main(string[] args) {
int A = Convert.ToInt32(Console.ReadLine());
int B = Convert.ToInt32(Console.ReadLine());
int C = Convert.ToInt32(Console... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95], ["-", 0, 7, 8, 196, 0, 57, 75, 196, 0, 45]] | 8 | 197 | 7 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Competitive {
internal class Solution {
public int A, B, C, X;
public void Run() {
A = Input.ReadInt();
B = Input.ReadInt();
C = Input.ReadInt();
X = Input.ReadInt();
int ret = 0;
for (int a = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Competitive {
internal class Solution {
public int A, B, C, X;
public void Run() {
A = Input.ReadInt();
B = Input.ReadInt();
C = Input.ReadInt();
X = Input.ReadInt();
int ret = 0;
for (int a = ... | [["-", 15, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 16, 12, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 12, 16, 12, 16, 31, 22]] | 8 | 296 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
int a = int.Parse(System.Console.ReadLine());
int b = int.Parse(System.Console.ReadLine());
int c = int.Parse(Syste... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
int a = int.Parse(System.Console.ReadLine());
int b = int.Parse(System.Console.ReadLine());
int c = int.Parse(Syste... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 191 | 6 |
using static System.Console;
class Program {
static void Main(string[] args) {
int a = int.Parse(ReadLine());
int b = int.Parse(ReadLine());
int c = int.Parse(ReadLine());
int x = int.Parse(ReadLine());
int count = 0;
for (int i = 0; i <= a; i++) {
for (int j = 0; j <= b; j++) {
... | using static System.Console;
class Program {
static void Main(string[] args) {
int a = int.Parse(ReadLine());
int b = int.Parse(ReadLine());
int c = int.Parse(ReadLine());
int x = int.Parse(ReadLine());
int count = 0;
for (int i = 0; i <= a; i++) {
for (int j = 0; j <= b; j++) {
... | [["-", 15, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 31, 203], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 31, 203], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 203]] | 8 | 146 | 6 |
using System;
namespace abc087_b {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int x = int.Parse(Console.ReadLine());
int ret = 0;
for (int i = 0; i < a; i++) {
for... | using System;
namespace abc087_b {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int x = int.Parse(Console.ReadLine());
int ret = 0;
for (int i = 0; i <= a; i++) {
fo... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 157 | 6 |
using System;
using System.Linq;
public class Hello {
public static int[] dx = { 1, 0 };
public static int[] dy = { 0, 1 };
public static int max = 0;
public static void Main() {
int N = int.Parse(Console.ReadLine());
int[,] board = new int[2, N];
for (int i = 0; i < 2; i++) {
int[] line =
... | using System;
using System.Linq;
public class Hello {
public static int[] dx = { 1, 0 };
public static int[] dy = { 0, 1 };
public static int max = 0;
public static void Main() {
int N = int.Parse(Console.ReadLine());
int[,] board = new int[2, N];
for (int i = 0; i < 2; i++) {
int[] line =
... | [["-", 0, 11, 12, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 11, 12, 204, 206, 207, 0, 28, 0, 22]] | 8 | 330 | 4 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class ConsoleApp1 {
public static void Main(string[] args) {
Console.ReadLine();
var lists = Console.ReadLine()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class ConsoleApp1 {
public static void Main(string[] args) {
Console.ReadLine();
var lists = Console.ReadLine()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
... | [["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]] | 8 | 148 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
namespace C {
class Program {
static void Main(string[] args) {
var c = new List<List<int>>();
for (int i = 0; i < 3; i++) {
c.Add(Console.ReadLine().Split().Select(int.Parse).ToList());
}
foreach (var item in c)
item.Ad... | using System;
using System.Linq;
using System.Collections.Generic;
namespace C {
class Program {
static void Main(string[] args) {
var c = new List<List<int>>();
for (int i = 0; i < 3; i++) {
c.Add(Console.ReadLine().Split().Select(int.Parse).ToList());
}
foreach (var item in c)
item.Ad... | [["-", 31, 204, 205, 204, 206, 207, 0, 28, 0, 22], ["+", 31, 204, 205, 204, 206, 207, 0, 28, 0, 203], ["-", 205, 204, 206, 207, 0, 28, 0, 16, 31, 22], ["-", 205, 204, 206, 207, 0, 28, 0, 16, 17, 72]] | 8 | 206 | 6 |
using System;
namespace atCoder {
class Program {
static void Main() {
string[] c1 = Console.ReadLine().Split(' ');
string[] c2 = Console.ReadLine().Split(' ');
string[] c3 = Console.ReadLine().Split(' ');
int[,] c = new int[3, 3];
for (int i = 0; i < 3; i++) {
c[0, i] = int.Parse(c1[i]);... | using System;
namespace atCoder {
class Program {
static void Main() {
string[] c1 = Console.ReadLine().Split(' ');
string[] c2 = Console.ReadLine().Split(' ');
string[] c3 = Console.ReadLine().Split(' ');
int[,] c = new int[3, 3];
for (int i = 0; i < 3; i++) {
c[0, i] = int.Parse(c1[i]);... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 297 | 2 |
using System;
namespace ConsoleApp5 {
class Program {
static void Main(string[] args) {
bool Ans = true;
string[] Inp1 = Console.ReadLine().Split(' ');
int A11 = int.Parse(Inp1[0]);
int A12 = int.Parse(Inp1[1]);
int A13 = int.Parse(Inp1[2]);
string[] Inp2 = Console.ReadLine().Split(' ');
... | using System;
namespace ConsoleApp5 {
class Program {
static void Main(string[] args) {
bool Ans = true;
string[] Inp1 = Console.ReadLine().Split(' ');
int A11 = int.Parse(Inp1[0]);
int A12 = int.Parse(Inp1[1]);
int A13 = int.Parse(Inp1[2]);
string[] Inp2 = Console.ReadLine().Split(' ');
... | [["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 98], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["+", 0, 57, 64, 196, 0, 57, 64, 196, 0, 46]] | 8 | 307 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC088_C {
class Program {
static void Main(string[] args) {
int[] a = new int[3];
int[] b = new int[3];
int[][] c = new int [3][];
bool p = true;
bool ans = false;
fo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC088_C {
class Program {
static void Main(string[] args) {
int[] a = new int[3];
int[] b = new int[3];
int[][] c = new int [3][];
bool p = true;
bool ans = false;
fo... | [["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 12, 211, 0, 146], ["+", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 329 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
class D {
struct P {
public int i, j;
public P(int _i, int _j) {
i = _i;
j = _j;
}
public bool IsInRange => 0 <= i && i < h && 0 <= j && j < w;
public P[] Nexts() => new[] { new P(i, j - 1), new P(i, j + 1),
... | using System;
using System.Collections.Generic;
using System.Linq;
class D {
struct P {
public int i, j;
public P(int _i, int _j) {
i = _i;
j = _j;
}
public bool IsInRange => 0 <= i && i < h && 0 <= j && j < w;
public P[] Nexts() => new[] { new P(i, j - 1), new P(i, j + 1),
... | [["-", 3, 4, 0, 28, 0, 41, 15, 16, 12, 203], ["+", 0, 28, 0, 41, 15, 16, 12, 241, 0, 33], ["+", 0, 28, 0, 41, 15, 16, 12, 241, 0, 203]] | 8 | 458 | 3 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static AtCoderTemplate.MyLibrary;
namespace AtCoderTemplate {
class Program {
static int H, W, i, j;
static char[,] maze;
static bool[,] re... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Console;
using static System.Math;
using static AtCoderTemplate.MyLibrary;
namespace AtCoderTemplate {
class Program {
static int H, W, i, j;
static char[,] maze;
static bool[,] re... | [["+", 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 | 560 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp11 {
class Class18 {
static void Main() {
var I = Console.ReadLine().Split().Select(long.Parse).ToArray();
long x = I[0];
long y = I[1];
long ans = -1;
if (x % y... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp11 {
class Class18 {
static void Main() {
var I = Console.ReadLine().Split().Select(long.Parse).ToArray();
long x = I[0];
long y = I[1];
long ans = -1;
if (x % y... | [["+", 0, 7, 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, 93, 0, 94], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46]] | 8 | 137 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) { A(); }
static void A() {
var XY = ReadSplitInt();
var lcm = Lcm(XY[0], XY[1]);
if (XY[0] * 2 >= lcm)
Println(-1);
else
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) { A(); }
static void A() {
var XY = ReadSplitLong();
var lcm = Lcm(XY[0], XY[1]);
if (XY[0] >= lcm)
Println(-1);
else
Pri... | [["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 48], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 858 | 6 |
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() {
long x = GetLong();
long y = GetLong();
Console.WriteLine((x != y) ? x : -1);
}
}
public static class MyIO {
private static ... | 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() {
long x = GetLong();
long y = GetLong();
Console.WriteLine((x % y != 0) ? x : -1);
}
}
public static class MyIO {
private sta... | [["-", 0, 28, 0, 41, 15, 23, 0, 16, 17, 79], ["+", 0, 41, 15, 23, 0, 16, 31, 16, 17, 109], ["+", 0, 28, 0, 41, 15, 23, 0, 16, 17, 79], ["+", 0, 28, 0, 41, 15, 23, 0, 16, 12, 203]] | 8 | 218 | 4 |
using System;
using System.Linq;
class Program {
static void Main() {
var arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
int x = arr[0];
int y = arr[1];
Console.WriteLine(y % x == 0 ? -1 : x);
}
} | using System;
using System.Linq;
class Program {
static void Main() {
var arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
int x = arr[0];
int y = arr[1];
Console.WriteLine(x % y == 0 ? -1 : x);
}
} | [["-", 0, 28, 0, 41, 15, 16, 31, 16, 31, 22], ["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 109], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 109], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 12, 22]] | 8 | 75 | 4 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Solve {
public Solve() {}
StringBuilder sb;
ReadData re;
public static int Main() {
new Solve().Run();
return 0;
}
void Run() {
sb = new StringBuilder();
re = new ReadData();
Calc();
Console.W... | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
class Solve {
public Solve() {}
StringBuilder sb;
ReadData re;
public static int Main() {
new Solve().Run();
return 0;
}
void Run() {
sb = new StringBuilder();
re = new ReadData();
Calc();
Console.W... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 79]] | 8 | 1,717 | 2 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using static System.Math;
using System.Linq;
using static System.Array;
namespace ConsoleApp2 {
class Program {
static int N;
static long mod = 1000000007;
static char[] az =
Enumerable.Range('a', 'z' - 'a' + 1).Se... | using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using static System.Math;
using System.Linq;
using static System.Array;
namespace ConsoleApp2 {
class Program {
static int N;
static long mod = 1000000007;
static char[] az =
Enumerable.Range('a', 'z' - 'a' + 1).Se... | [["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 64, 196, 0, 1, 0, 11, 12, 23, 0, 24], ["+", 0, 11, 12, 23, 0, 41, 15, 23, 0, 24], ["+", 0, 11, 12, 23, 0, 41, 15, 23, 0, 25], ["+", 64, 196, 0, 1, 0, 11, 12, 23, 0, 25]] | 8 | 367 | 6 |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program {
const string Yes = "Yes";
const string No = "No";
const char White = '.';
const char Black = '#';
const long Mod = 1000000007;... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program {
const string Yes = "Yes";
const string No = "No";
const char White = '.';
const char Black = '#';
const long Mod = 1000000007;... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47]] | 8 | 344 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
var sol = new Solve();
sol.Exec();
}
}
class Solve {
public void Exec() {
var N = int.Parse(Console.ReadLine());
var a = Console.ReadLine().Split().Select(long.Parse).ToArray();
... | using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
var sol = new Solve();
sol.Exec();
}
}
class Solve {
public void Exec() {
var N = int.Parse(Console.ReadLine());
var a = Console.ReadLine().Split().Select(long.Parse).ToArray();
... | [["-", 75, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 75, 196, 0, 57, 15, 16, 31, 16, 31, 22]] | 8 | 223 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
namespace AtCoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
namespace AtCoder {
class Program {
private static string Read() { return Console.ReadLine(); }
private static int ReadInt() { return int.Parse(Read()); }
private static long ReadLong(... | [["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 203]] | 8 | 363 | 2 |
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, 57, 15, 16, 31, 16, 31, 23, 0, 24], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 25]] | 8 | 2,012 | 4 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
partial class Program {
static long mod = 1000000007;
static void Swap<T>(ref T a, ref T b) {
T temp = a;
a = b;
b = temp;
}
... | [["-", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22]] | 8 | 1,837 | 2 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
namespace Equeue {
class Equeue {
static Node[] Nodes;
static void Main(string[] args) {
var NM = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
var N = NM[0];
var M = N... | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
namespace Equeue {
class Equeue {
static Node[] Nodes;
static void Main(string[] args) {
var NM = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
var N = NM[0];
var M = N... | [["-", 0, 57, 15, 16, 12, 16, 12, 241, 0, 33], ["-", 0, 57, 15, 16, 12, 16, 12, 241, 0, 203], ["+", 0, 57, 15, 16, 12, 16, 12, 214, 205, 199], ["+", 0, 57, 15, 16, 12, 16, 12, 214, 0, 131], ["+", 0, 57, 15, 16, 12, 16, 12, 214, 141, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 241, 0, 33], ["-", 0, 57, 15, 16, 31, 16, 12, 241... | 8 | 1,025 | 10 |
using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static void Main() {
long n = long.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。
long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse);
long[] numsUnder =
Array.ConvertAll(Console.R... | using System;
using System.Linq; //リストの使用
using System.Collections.Generic;
class Program {
static void Main() {
long n = long.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。
long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse);
long[] numsUnder =
Array.ConvertAll(Console.R... | [["-", 0, 7, 8, 1, 0, 11, 12, 204, 205, 22], ["+", 0, 7, 8, 1, 0, 11, 12, 204, 205, 22]] | 8 | 187 | 2 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using static System.Console;
using static System.Math;
//using CS_Contest.Graph;
using CS_Contest.Loop;
using CS_Contest.Utils;
using static Na... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using static System.Console;
using static System.Math;
//using CS_Contest.Graph;
using CS_Contest.Loop;
using CS_Contest.Utils;
using static Na... | [["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]] | 8 | 2,166 | 4 |
using System;
using System.Linq;
namespace Sample {
class Sample {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
long A = long.Parse(str[0]);
long B = long.Parse(str[1]);
if ((A * B / 2) == 0) {
Console.WriteLine("Even");
} else {
Console.WriteLine("Od... | using System;
using System.Linq;
namespace Sample {
class Sample {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
long A = long.Parse(str[0]);
long B = long.Parse(str[1]);
if ((A * B % 2) == 0) {
Console.WriteLine("Even");
} else {
Console.WriteLine("Od... | [["-", 0, 57, 15, 16, 31, 23, 0, 16, 17, 85], ["+", 0, 57, 15, 16, 31, 23, 0, 16, 17, 109]] | 8 | 106 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
class Program {
static void Main() {
Solve();
Console.ReadKey();
}
static void Solve() {
var s = GetIntArray();
var ans = s[0] * s[1] % 2 == 0 ? "Odd" : "Even... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder {
class Program {
static void Main() {
Solve();
Console.ReadKey();
}
static void Solve() {
var s = GetIntArray();
var ans = s[0] * s[1] % 2 != 0 ? "Odd" : "Even... | [["-", 0, 200, 0, 212, 0, 41, 15, 16, 17, 60], ["+", 0, 200, 0, 212, 0, 41, 15, 16, 17, 79]] | 8 | 633 | 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) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22]] | 8 | 482 | 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) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 212, 0, 41, 15, 16, 31, 16, 17, 85], ["+", 0, 212, 0, 41, 15, 16, 31, 16, 17, 109]] | 8 | 454 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
class QuestionD {
public static void Main(string[] args) {
var sw = new System.IO.StreamWriter(
Console.OpenStandardOutput()) { AutoFlush = false };
Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc {
class QuestionD {
public static void Main(string[] args) {
var sw = new System.IO.StreamWriter(
Console.OpenStandardOutput()) { AutoFlush = false };
Co... | [["-", 15, 16, 31, 16, 31, 23, 0, 16, 17, 72], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 48]] | 8 | 169 | 2 |
using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A_project {
class Program {
static void Main(string[] args) {
string input = ReadLine();
string[] array = input.Split(' ');
int[] figure = new int[arr... | using System;
using static System.Console;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A_project {
class Program {
static void Main(string[] args) {
string input = ReadLine();
string[] array = input.Split(' ');
int[] figure = new int[arr... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 163 | 4 |
using System;
class Hello {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if ((a * b) % 2 == 0) {
Console.WriteLine("even");
} else {
Console.WriteLine("odd");
}
}
}
| using System;
class Hello {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if ((a * b) % 2 == 0) {
Console.WriteLine("Even");
} else {
Console.WriteLine("Odd");
}
}
}
| [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 97 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
Console.Wr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
Console.Wr... | [["-", 15, 16, 31, 16, 31, 23, 0, 16, 17, 72], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 48]] | 8 | 113 | 2 |
using System;
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a % 2 == 0 || b % 2 == 0) {
Console.WriteLine("Evan");
} else {
Console.WriteLine("Odd");
}
}
} | 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]);
if (a % 2 == 0 || b % 2 == 0) {
Console.WriteLine("Even");
} else {
Console.WriteLine("Odd");
}
}
} | [["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 204, 205, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 204, 205, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 99 | 8 |
using System;
namespace test {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var b = int.Parse(input[0]);
var c = int.Parse(input[1]);
var a = b * c;
if (a % 2 == 0)
Console.WriteLine("Even");
Console.WriteLine("Odd");
// string s = Con... | using System;
namespace test {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var b = int.Parse(input[0]);
var c = int.Parse(input[1]);
var a = b * c;
if (a % 2 == 0) {
Console.WriteLine("Even");
return;
}
Console.WriteLine("Odd");... | [["+", 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 | 98 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC086A {
class Program {
static void Main(string[] args) {
string[] n = Console.ReadLine().Split(' ');
int a = int.Parse(n[0]);
int b = int.Parse(n[1]);
if (a % b == 0)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC086A {
class Program {
static void Main(string[] args) {
string[] n = Console.ReadLine().Split(' ');
int a = int.Parse(n[0]);
int b = int.Parse(n[1]);
if ((a * b) % 2 == 0... | [["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 24], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 48], ["+", 0, 57, 15, 16, 31, 16, 31, 23, 0, 25], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]] | 8 | 123 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] a = Console.ReadLine().Split(' ');
if (int.Parse(a[0]) % 2 == 0 || int.Parse(a[1]) % 2 == 0) {
C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] a = Console.ReadLine().Split(' ');
if (int.Parse(a[0]) % 2 == 0 || int.Parse(a[1]) % 2 == 0) {
C... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 118 | 4 |
using System;
class program {
static void Main(string[] args) {
var read = Console.ReadLine();
var datas = read.Split(new char[] { ' ' });
int a = Convert.ToInt32(datas[0]);
int b = Convert.ToInt32(datas[1]);
int c = a * b;
if (c % 2 == 0) {
Console.WriteLine("even");
} else {
... | using System;
class program {
static void Main(string[] args) {
var read = Console.ReadLine();
var datas = read.Split(new char[] { ' ' });
int a = Convert.ToInt32(datas[0]);
int b = Convert.ToInt32(datas[1]);
int c = a * b;
if (c % 2 == 0) {
Console.WriteLine("Even");
} else {
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 109 | 4 |
using System;
using System.Linq;
namespace CSharp {
class Program {
static void Main(string[] args) {
var ans = Console.ReadLine().Split().Select(s => int.Parse(s)).ToArray();
Console.WriteLine((ans[0] * ans[1]) % 2 == 0 ? "even" : "odd");
}
}
} | using System;
using System.Linq;
namespace CSharp {
class Program {
static void Main(string[] args) {
var ans = Console.ReadLine().Split().Select(s => int.Parse(s)).ToArray();
Console.WriteLine((ans[0] * ans[1]) % 2 == 0 ? "Even" : "Odd");
}
}
} | [["-", 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 | 85 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC086A_Product {
class Program {
static void Main(string[] args) {
int[] input =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int a = input[0];
int ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC086A_Product {
class Program {
static void Main(string[] args) {
int[] input =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int a = input[0];
int ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 129 | 4 |
using System;
using System.Linq;
namespace myapp2 {
class Program {
static void Main(string[] args) {
var input =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToList();
int a = input[0];
int b = input[1];
string result = a / b == 0 ? "Even" : "Odd";
Console.WriteLine(result);
... | using System;
using System.Linq;
namespace myapp2 {
class Program {
static void Main(string[] args) {
var input =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToList();
int a = input[0];
int b = input[1];
string result = (a * b) % 2 == 0 ? "Even" : "Odd";
Console.WriteLine(resu... | [["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 24], ["-", 0, 212, 0, 41, 15, 16, 31, 16, 17, 85], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 48], ["+", 0, 41, 15, 16, 31, 16, 31, 23, 0, 25], ["+", 0, 212, 0, 41, 15, 16, 31, 16, 17, 109], ["+", 0, 212, 0, 41, 15, 16, 31, 16, 12, 203]] | 8 | 108 | 6 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]] | 8 | 458 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) { A(); }
static void A() {
var ab = ReadSplitInt();
Println(ab[0] * ab[1] == 0 ? "Even" : "Odd");
}
static List<long> ReadLines(long n) ... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Math;
namespace ConsoleApp1 {
class Program {
static void Main(string[] args) { A(); }
static void A() {
var ab = ReadSplitInt();
Println(ab[0] * ab[1] % 2 == 0 ? "Even" : "Odd");
}
static List<long> ReadLines(long... | [["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 109], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 12, 203]] | 8 | 661 | 2 |
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
Console.WriteLine(a % 2 == 0 && b % 2 == 0 ? "Even" : "Odd");
}
}
| using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
Console.WriteLine(a * b % 2 == 0 ? "Even" : "Odd");
}
}
| [["-", 0, 41, 15, 16, 31, 16, 31, 16, 17, 109], ["-", 0, 41, 15, 16, 31, 16, 31, 16, 12, 203], ["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 60], ["-", 0, 28, 0, 41, 15, 16, 31, 16, 12, 203], ["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 98], ["+", 0, 41, 15, 16, 31, 16, 31, 16, 17, 48]] | 8 | 99 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ziyuutyou {
class Program {
static void Main(string[] args) {
var str = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
if ((str[0] * str[1]) % 2 == 0) {
Console.WriteLine("Odd");
} else {
Console.WriteL... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ziyuutyou {
class Program {
static void Main(string[] args) {
var str = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
if ((str[0] * str[1]) % 2 == 0) {
Console.WriteLine("Even");
} else {
Console.Write... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 100 | 4 |
using System;
class Program {
static int minNum = 1;
static int maxNum = 10000;
static void Main(string[] args) {
// スペース区切りの整数の入力
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if (!chectNum(a) && !chectNum(b)) {
Console.WriteL... | using System;
class Program {
static int minNum = 1;
static int maxNum = 10000;
static void Main(string[] args) {
// スペース区切りの整数の入力
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if (!chectNum(a) && !chectNum(b)) {
Console.WriteL... | [["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106]] | 8 | 152 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
class aaaa {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if ((a * b)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atcoder {
class aaaa {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
if ((a * b)... | [["-", 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;
class Program {
static void Main(string[] args) {
// スペース区切りの整数の入力
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
//出力
Console.WriteLine(a * b % 2 == 0 ? "even" : "odd");
}
} | 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]);
//出力
Console.WriteLine(a * b % 2 == 0 ? "Even" : "Odd");
}
} | [["-", 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 | 85 | 4 |
using System;
class Program {
static void Main(String[] arg) {
//出力用の文字列
String ret;
// 整数の取得
String[] nums = Console.ReadLine().Split(' ');
int a = int.Parse(nums[0]);
int b = int.Parse(nums[1]);
// 積の演算
int product = a * b;
if (product % 2 == 0) {
ret = "even";
} el... | using System;
class Program {
static void Main(String[] arg) {
//出力用の文字列
String ret;
// 整数の取得
String[] nums = Console.ReadLine().Split(' ');
int a = int.Parse(nums[0]);
int b = int.Parse(nums[1]);
// 積の演算
int product = a * b;
if (product % 2 == 0) {
ret = "Even";
} el... | [["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222]] | 8 | 107 | 4 |
using System;
// using System.Linq;
class Program {
static void Main() {
string[] s_data = Console.ReadLine().Split(' ');
if ((int.Parse(s_data[0]) * int.Parse(s_data[1])) % 2 == 0)
Console.WriteLine("even");
else
Console.WriteLine("odd");
}
} | using System;
// using System.Linq;
class Program {
static void Main() {
string[] s_data = Console.ReadLine().Split(' ');
if ((int.Parse(s_data[0]) * int.Parse(s_data[1])) % 2 == 0)
Console.WriteLine("Even");
else
Console.WriteLine("Odd");
}
} | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 80 | 4 |
public static class Program {
public static void Main(string[] args) {
string[] input = System.Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
string answer = ((a % 2 == 0) && (b % 2 == 0)) ? "Even" : "Odd";
System.Console.WriteLine(answer);
}
}
| public static class Program {
public static void Main(string[] args) {
string[] input = System.Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
string answer = ((a % 2 == 0) || (b % 2 == 0)) ? "Even" : "Odd";
System.Console.WriteLine(answer);
}
}
| [["-", 0, 212, 0, 41, 15, 23, 0, 16, 17, 98], ["+", 0, 212, 0, 41, 15, 23, 0, 16, 17, 106]] | 8 | 102 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abc086A {
class Program {
static void Main(string[] args) {
var a_b = Console.ReadLine().Split().ToList().ConvertAll(int.Parse);
Console.WriteLine(a_b[0] * a_b[1] % 2 == 0 ? "Odd" : "... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abc086A {
class Program {
static void Main(string[] args) {
var a_b = Console.ReadLine().Split().ToList().ConvertAll(int.Parse);
Console.WriteLine(a_b[0] * a_b[1] % 2 == 0 ? "Even" : ... | [["-", 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 | 97 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderB {
static void Main() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
int num = int.Parse(a.ToString() + b.ToString());
bool ok = false;
for (int i = 1; i * i <=... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AtCoderB {
static void Main() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
int num = int.Parse(a.ToString() + b.ToString());
bool ok = false;
for (int i = 1; i * i <=... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 48], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22]] | 8 | 431 | 6 |
using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 16, 12, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 16, 12, 213, 3, 4, 0, 28, 0, 203]] | 8 | 448 | 2 |
using System;
using System.Linq;
class Program {
static void Main() {
// int[] input = Console.ReadLine().Split().Select(i =>
// int.Parse(i)).ToArray(); int a=int.Parse(Console.ReadLine());
string a = Console.ReadLine();
Console.WriteLine("2018" + a.Substring(4, a.Length));
Console.ReadLine();
... | using System;
using System.Linq;
class Program {
static void Main() {
// int[] input = Console.ReadLine().Split().Select(i =>
// int.Parse(i)).ToArray(); int a=int.Parse(Console.ReadLine());
string a = Console.ReadLine();
Console.WriteLine("2018" + a.Substring(4, a.Length - 4));
Console.ReadLine(... | [["+", 12, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 12, 213, 3, 4, 0, 28, 0, 16, 12, 203]] | 8 | 56 | 2 |
using System;
class Program {
static void Main() {
string s = Console.ReadLine();
char[] c = s.ToCharArray();
c[3] = '0';
Console.WriteLine(c); // WriteLineをWriteとすると、改行なしで出力。
}
}
| using System;
class Program {
static void Main() {
string s = Console.ReadLine();
char[] c = s.ToCharArray();
c[3] = '8';
Console.WriteLine(c); // WriteLineをWriteとすると、改行なしで出力。
}
}
| [["-", 8, 196, 0, 1, 0, 11, 12, 252, 0, 253], ["+", 8, 196, 0, 1, 0, 11, 12, 252, 0, 253]] | 8 | 51 | 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) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22]] | 8 | 493 | 2 |
using System;
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。
int[] nums = new int[n];
for (int i = 0; i < n; i++) {
nums[i] = int.Parse(Console.ReadLine());
}
Array.Sort(nums); //小さい順に並び替え
int cal = 0; //求める個数
for (int i = 0; ... | using System;
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。
int[] nums = new int[n];
for (int i = 0; i < n; i++) {
nums[i] = int.Parse(Console.ReadLine());
}
Array.Sort(nums); //小さい順に並び替え
int cal = 1; //求める個数
for (int i = 0; ... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 130 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC085B {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine()); // 2つ以上のスペース区切り入力の取得
int[] mochi = new int[N];
for (int i = 1; i < N; i++) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC085B {
class Program {
static void Main(string[] args) {
int N = int.Parse(Console.ReadLine()); // 2つ以上のスペース区切り入力の取得
int[] mochi = new int[N];
for (int i = 0; i < N; i++) {
... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]] | 8 | 133 | 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) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
namespace AtCoder {
public class Program {
public static void Main(string[] args) {
new Program().Solve(new ConsoleInput(Console.In, ' '));
}
... | [["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33]] | 8 | 549 | 2 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCorder {
public class Program {
static void Main(string[] args) {
var ny = Console.ReadLine().Split(' ').Select(int.Par... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace AtCorder {
public class Program {
static void Main(string[] args) {
var ny = Console.ReadLine().Split(' ').Select(int.Par... | [["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 31, 203], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 17, 48], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 12, 22]] | 8 | 225 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace c {
class Program {
static void Main(string[] args) {
var vals = IOUtils.ReadInts();
var totalCount = vals[0];
var totalPrice = vals[1];
for (int x = 0; x < totalCount; x++) {
var xval = x * 10000;
if (totalPric... | using System;
using System.Collections.Generic;
using System.Linq;
namespace c {
class Program {
static void Main(string[] args) {
var vals = IOUtils.ReadInts();
var totalCount = vals[0];
var totalPrice = vals[1];
for (int x = 0; x <= totalCount; x++) {
var xval = x * 10000;
if (totalPri... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 373 | 4 |
using System;
class Program {
static void Main(string[] args) {
// 整数の入力
//// スペース区切りの整数の入力
string[] input = Console.ReadLine().Split(' ');
int N = int.Parse(input[0]);
int Y = int.Parse(input[1]);
//出力
Console.WriteLine(NewMethod(N, Y).ToString());
}
private static string NewMethod... | using System;
class Program {
static void Main(string[] args) {
// 整数の入力
//// スペース区切りの整数の入力
string[] input = Console.ReadLine().Split(' ');
int N = int.Parse(input[0]);
int Y = int.Parse(input[1]);
//出力
Console.WriteLine(NewMethod(N, Y).ToString());
}
private static string NewMethod... | [["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203]] | 8 | 203 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.