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 practice1 { class Program { static void Main(string[] args) { int[] buff = MYCP.ReadNumbers(5); int a, b, c, x, y; a = buff[0]; b = buff[1]; c = buff[2]; x = buff[3]; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace practice1 { class Program { static void Main(string[] args) { int[] buff = MYCP.ReadNumbers(5); int a, b, c, x, y; a = buff[0]; b = buff[1]; c = buff[2]; x = buff[3]; ...
[["-", 0, 1, 0, 11, 12, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 33]]
8
921
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { var sc = new Scanner(); int n = sc.NextInt(); long c = sc.NextLong(); long[] x = new long[n + 2]; int[] v = new int[n + 2]; for...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { var sc = new Scanner(); int n = sc.NextInt(); long c = sc.NextLong(); long[] x = new long[n + 2]; int[] v = new int[n + 2]; for...
[["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 72], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203]]
8
580
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC096_C { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); //それぞれのピザの金額 int B = int.Parse(input[1])...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC096_C { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); //それぞれのピザの金額 int B = int.Parse(input[1])...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
273
8
using System; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using static System.Math; class P { static void Main() { //反対に回る例もある // long[] nc = Console.ReadLine().Split().Select(long.Parse).ToArray(); // xメートル(時計)、vカロリー //時計回りで与えられる Sushi[] sushis = En...
using System; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using static System.Math; class P { static void Main() { //反対に回る例もある // long[] nc = Console.ReadLine().Split().Select(long.Parse).ToArray(); // xメートル(時計)、vカロリー //時計回りで与えられる Sushi[] sushis = En...
[["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 24], ["+", 3, 4, 0, 28, 0, 16, 12, 23, 0, 25]]
8
642
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atc_0042 { class Program { static void Main(string[] args) { var S = Console.ReadLine(); var A = int.Parse(S.Split(' ')[0]); var B = int.Parse(S.Split(' ')[1]); var C = int.Pa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atc_0042 { class Program { static void Main(string[] args) { var S = Console.ReadLine(); var A = int.Parse(S.Split(' ')[0]); var B = int.Parse(S.Split(' ')[1]); var C = int.Pa...
[["-", 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 static System.Console; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = ReadLine().Split(); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (a + b >= x) { Wri...
using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = ReadLine().Split(); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (a + b >= x && a <= x) {...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
115
4
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { var (a, b, x) = cin.ReadValue<int, int, int>(); YesNo(a <= x && x <= a + b); } public stati...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { var (a, b, x) = cin.ReadValue<int, int, int>(); YESNO(a <= x && x <= a + b); } public stati...
[["-", 0, 195, 8, 196, 0, 1, 0, 213, 63, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 213, 63, 22]]
8
2,653
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC094A_CatsandDog { class Program { static void Main(string[] args) { string[] word = Console.ReadLine().Split(' '); int a = int.Parse(word[0]); int b = int.Parse(word[1]); i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC094A_CatsandDog { class Program { static void Main(string[] args) { string[] word = Console.ReadLine().Split(' '); int a = int.Parse(word[0]); int b = int.Parse(word[1]); i...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
130
4
using System; namespace a { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = int.Parse(_[0]); var b = int.Parse(_[1]); var x = int.Parse(_[2]); if (a > x) { Console.WriteLine("No"); } else { x -= a; if (x <= b) { Console....
using System; namespace a { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = int.Parse(_[0]); var b = int.Parse(_[1]); var x = int.Parse(_[2]); if (a > x) { Console.WriteLine("NO"); } else { x -= a; if (x <= b) { Console....
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
127
6
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 a = cin.nextInt(); var b = 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 a = cin.nextInt(); var b = cin.nextInt(); var...
[["+", 15, 23, 0, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 23, 0, 16, 12, 16, 12, 16, 17, 72]]
8
589
2
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
[["-", 0, 195, 8, 196, 0, 37, 0, 41, 64, 22], ["+", 8, 196, 0, 37, 0, 41, 64, 5, 0, 62], ["+", 8, 196, 0, 37, 0, 41, 64, 5, 0, 222], ["-", 0, 195, 8, 196, 0, 37, 0, 41, 75, 22], ["+", 8, 196, 0, 37, 0, 41, 75, 5, 0, 62], ["+", 8, 196, 0, 37, 0, 41, 75, 5, 0, 222]]
8
261
8
using System; using static System.Console; using System.Linq; namespace Main { class Program { static void Main(string[] args) { int[] tmp = ReadLine().Split(' ').Select(int.Parse).ToArray(); WriteLine(tmp[0] <= tmp[2] && tmp[0] + tmp[1] <= tmp[2] ? "YES" : "NO"); } } }
using System; using static System.Console; using System.Linq; namespace Main { class Program { static void Main(string[] args) { int[] tmp = ReadLine().Split(' ').Select(int.Parse).ToArray(); WriteLine(tmp[0] <= tmp[2] && tmp[0] + tmp[1] >= tmp[2] ? "YES" : "NO"); } } }
[["-", 0, 28, 0, 41, 15, 16, 12, 16, 17, 19], ["+", 0, 28, 0, 41, 15, 16, 12, 16, 17, 20]]
8
96
2
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static Libraries.Input; namespace Libraries { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static Libraries.Input; namespace Libraries { static class Input { private static Func<string, T[]> Cast<T>() => _ => _.Split(' ').Select(Convert<T>()).ToArray(); private static Func<string, T> Convert<T>() { Type t = ...
[["-", 0, 28, 0, 41, 15, 16, 12, 16, 17, 47], ["+", 0, 28, 0, 41, 15, 16, 12, 16, 17, 18]]
8
1,415
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 str = IO.GetIntList(); var ans = str[0] < str[2] && str[2] <= str[...
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 str = IO.GetIntList(); var ans = str[0] <= str[2] && str[2] <= str...
[["-", 0, 212, 0, 41, 15, 16, 31, 16, 17, 18], ["+", 0, 212, 0, 41, 15, 16, 31, 16, 17, 19]]
8
344
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC94A { class Program { static void Main(string[] args) { int A, B, X; String[] str = Console.ReadLine().Split(' '); A = int.Parse(str[0]); B = int.Parse(str[1]); X = int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC94A { class Program { static void Main(string[] args) { int A, B, X; String[] str = Console.ReadLine().Split(' '); A = int.Parse(str[0]); B = int.Parse(str[1]); X = int...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
146
4
using System; using System.Linq; using System.Collections.Generic; namespace Algorithm { class Program { static void Main(string[] args) { var l = Console.ReadLine().Split().Select(int.Parse).ToArray(); int A = l[0], B = l[1], X = l[2]; if (A + B < X || X < A) Console.WriteLine("No"); else ...
using System; using System.Linq; using System.Collections.Generic; namespace Algorithm { class Program { static void Main(string[] args) { var l = Console.ReadLine().Split().Select(int.Parse).ToArray(); int A = l[0], B = l[1], X = l[2]; if (A + B < X || X < A) Console.WriteLine("NO"); else ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
111
4
using System; namespace abc94_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int cat = int.Parse(array[0]); int index = int.Parse(array[2]); int catdog = int.Parse(array[1]); if (cat > index) { Console.WriteLine("No"); } else if (ca...
using System; namespace abc94_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int cat = int.Parse(array[0]); int index = int.Parse(array[2]); int catdog = int.Parse(array[1]); if (cat > index) { Console.WriteLine("NO"); } else if (ca...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
128
6
using System; using System.Collections; using System.Collections.Generic; using System.Text; public class A { public static void Main() { string[] args = Console.ReadLine().Split(' '); int A = Int32.Parse(args[0]); int B = Int32.Parse(args[1]); int X = Int32.Parse(args[2]); Console.WriteLine(((A...
using System; using System.Collections; using System.Collections.Generic; using System.Text; public class A { public static void Main() { string[] args = Console.ReadLine().Split(' '); int A = Int32.Parse(args[0]); int B = Int32.Parse(args[1]); int X = Int32.Parse(args[2]); Console.WriteLine(((A...
[["-", 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
119
4
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; namespace AtCoder { class Practice { static void Main() => CustomMain(); static void Solve() { var a = ReadIntArray(); if (a[2] <= a[0] + a[1] && a[0] < a[2]) { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; namespace AtCoder { class Practice { static void Main() => CustomMain(); static void Solve() { var a = ReadIntArray(); if (a[2] <= a[0] + a[1] && a[0] <= a[2]) { ...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
8
748
2
using System; using System.Linq; namespace A.Cats_and_Dogs { class Program { static void Main(string[] args) { var ABX = Console.ReadLine().Split().Select(int.Parse).ToArray(); var A = ABX[0]; var B = ABX[1]; var X = ABX[2]; bool flg1 = X > A; bool flg2 = X <= A + B; C...
using System; using System.Linq; namespace A.Cats_and_Dogs { class Program { static void Main(string[] args) { var ABX = Console.ReadLine().Split().Select(int.Parse).ToArray(); var A = ABX[0]; var B = ABX[1]; var X = ABX[2]; bool flg1 = X >= A; bool flg2 = X <= A + B; ...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 47], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 20]]
8
110
2
using System; using System.Collections; using System.Collections.Generic; using System.Linq; public class Test { public static void Main() { int[] n = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); if (n[0] > n[2]) Console.WriteLine("No"); else if (n[0] + n[1] < n[2]) Con...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; public class Test { public static void Main() { int[] n = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); if (n[0] > n[2]) Console.WriteLine("NO"); else if (n[0] + n[1] < n[2]) Con...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
125
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { class Atcoderrrrrrr { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); int B = int.Parse(input[1]); in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { class Atcoderrrrrrr { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int A = int.Parse(input[0]); int B = int.Parse(input[1]); in...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 20]]
8
156
4
using System; namespace ABC094_A_Cats_and_Dogs { internal class Program { public static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (x - a <= b) { Console.WriteLine("Yes...
using System; namespace ABC094_A_Cats_and_Dogs { internal class Program { public static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (x - a <= b && a <= x) { Console.Writ...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
112
8
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { private static int ReadAndParseInt() { return int.Parse(Console.ReadLine()); } private static int[] ReadAndParseIntArr() { return Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { private static int ReadAndParseInt() { return int.Parse(Console.ReadLine()); } private static int[] ReadAndParseIntArr() { return Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse)...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
234
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 atPra { class Class1 { static void Main() { string[] str = Console.ReadLine().Split(' '); int A = int.Parse(str[0]); int B = int...
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; using static System.Math; namespace atPra { class Class1 { static void Main() { string[] str = Console.ReadLine().Split(' '); int A = int.Parse(str[0]); int B = int...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
166
4
using System; namespace atcoder_BegginerContest94_Question1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = Int32.Parse(input[0]); int b = Int32.Parse(input[1]); int x = Int32.Parse(input[2]); if (a < x) { if (a + b > x) { ...
using System; namespace atcoder_BegginerContest94_Question1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = Int32.Parse(input[0]); int b = Int32.Parse(input[1]); int x = Int32.Parse(input[2]); if (a <= x) { if (a + b >= x) { ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 20]]
8
130
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC094A { class Program { static void Main(string[] args) { var line1 = Console.ReadLine().Split().Select(int.Parse).ToArray(); int A = line1[0]; int B = line1[1]; int X = lin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC094A { class Program { static void Main(string[] args) { var line1 = Console.ReadLine().Split().Select(int.Parse).ToArray(); int A = line1[0]; int B = line1[1]; int X = lin...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20]]
8
133
2
using System; class Program { static void Main() { int[] a = new int[3]; String[] input = Console.ReadLine().Split(' '); a[0] = Int32.Parse(input[0]); a[1] = Int32.Parse(input[1]); a[2] = Int32.Parse(input[2]); if (a[0] <= a[2] & a[0] + a[1] >= a[2]) { Console.Write("Yes"); } else { ...
using System; class Program { static void Main() { int[] a = new int[3]; String[] input = Console.ReadLine().Split(' '); a[0] = Int32.Parse(input[0]); a[1] = Int32.Parse(input[1]); a[2] = Int32.Parse(input[2]); if (a[0] <= a[2] & a[0] + a[1] >= a[2]) { Console.Write("YES"); } else { ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
138
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProgrammingContest { class Writer : IDisposable { private System.IO.TextWriter writer; private StringBuilder sb; private bool isReactive; public Writer(string path) : this(new System.IO.StreamWriter(path)) {} publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProgrammingContest { class Writer : IDisposable { private System.IO.TextWriter writer; private StringBuilder sb; private bool isReactive; public Writer(string path) : this(new System.IO.StreamWriter(path)) {} publ...
[["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 20], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 98], ["+", 0, 41, 15, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 41, 15, 16, 12, 16, 31, 16, 17, 33], ["+", 0, 41, 15, 16, 12, 16, 31, 16, 12, 22]]
8
1,259
6
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 = SpRead(' ').Select(a => int.Parse(a)).ToArray(); if (n[0] < n[2] && (n[0] + n[1]) >= n[2]) Cons...
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 = SpRead(' ').Select(a => int.Parse(a)).ToArray(); if (n[0] <= n[2] && (n[0] + n[1]) >= n[2]) Co...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 19]]
8
364
2
using System; public class Hello { public static void Main() { // Your code here! string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (x > a + b || x < a) { Console.WriteLine("No"); } else { ...
using System; public class Hello { public static void Main() { // Your code here! string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int x = int.Parse(input[2]); if (x > a + b || x < a) { Console.WriteLine("NO"); } 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.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_ABC089_A { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int x ...
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) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int x ...
[["-", 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
128
4
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var a = new List<string>(Console.ReadLine().Split(' ')) .Select(x => int.Parse(x)) .ToList(); if (a[0] <= a[2] && a[2] <= a[0] + a[1]) { Console.WriteLine(...
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var a = new List<string>(Console.ReadLine().Split(' ')) .Select(x => int.Parse(x)) .ToList(); if (a[0] <= a[2] && a[2] <= a[0] + a[1]) { Console.WriteLine(...
[["-", 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 ConsoleApp1 { class Program { static void Main(string[] args) { int a, b, c, d; // a = int.Parse(Console.ReadLine()); //標準入力 string[] str = Console.ReadLine().Split(' '); ...
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, b, c, d; // a = int.Parse(Console.ReadLine()); //標準入力 string[] str = Console.ReadLine().Split(' '); ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
153
2
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { const string Yes = "Yes"; const string No = "No"; const long Mod = 1000000007; static void Main(string[] args) { #if DEBUG ...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22]]
8
307
2
using System; using System.Linq; namespace abc094_b { class Program { static void Main(string[] args) { int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray(); int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); int b = 0; int c = 0; for (int i = 0; i < x[2]; i++) { ...
using System; using System.Linq; namespace abc094_b { class Program { static void Main(string[] args) { int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray(); int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); int b = 0; int c = 0; for (int i = 0; i < x[1]; i++) { ...
[["-", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203]]
8
141
4
using System; using System.Linq; using System.Collections.Generic; namespace Atcoder { class MainClass { public static void Main(string[] args) { var inputs = Enumerable.Range(0, 2).Select(_ => Console.ReadLine()).ToArray(); var memberCount = int.Parse(inputs[0]); var hoge = inputs[1].Split(' '...
using System; using System.Linq; using System.Collections.Generic; namespace Atcoder { class MainClass { public static void Main(string[] args) { var inputs = Enumerable.Range(0, 2).Select(_ => Console.ReadLine()).ToArray(); var memberCount = int.Parse(inputs[0]); var hoge = inputs[1].Split(' '...
[["-", 0, 7, 8, 196, 0, 52, 15, 16, 17, 19], ["+", 0, 7, 8, 196, 0, 52, 15, 16, 17, 18]]
8
214
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, 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, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
525
4
using System; using System.Linq; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var d = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var a = new int[n]; int count = 0; for (int i = 0; i < n; i++) { a[i] = int.Parse(Console.ReadLin...
using System; using System.Linq; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var d = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var a = new int[n]; int count = 0; for (int i = 0; i < n; i++) { a[i] = int.Parse(Console.ReadLin...
[["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 3, 4, 0, 28, 0, 16, 12, 204, 205, 22], ["+", 0, 28, 0, 16, 12, 204, 206, 207, 0, 70], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 16, 12, 204, 206, 207, 0, 73]]
8
145
5
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { int n = cin.ReadInt(); var a = cin.ReadIntArray(n); var...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; namespace FertiLib.Contest.A { static class Program { public static void Solve(Scanner cin) { int n = cin.ReadInt(); var a = cin.ReadIntArray(n); var...
[["+", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203]]
8
3,010
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split().Select(int.Parse).ToArray(); int total = A[0]; for (i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split().Select(int.Parse).ToArray(); int total = Math.Abs(A[0]); ...
[["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25]]
8
309
5
using System; using System.Linq; using System.Collections.Generic; 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 ((a + b) > c) { Console.WriteLine("Yes"...
using System; using System.Linq; using System.Collections.Generic; 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 ((a + b) >= c) { Console.WriteLine("Yes...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]]
8
117
2
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Security.Cryptography; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Sca...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Security.Cryptography; using System.Text; namespace cswork { class Program { class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Sca...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203]]
8
636
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC091A { 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 ABC091A { 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, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18]]
8
142
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC091A { class Program { static void Main(string[] args) { string[] n = Console.ReadLine().Split(' '); int a = int.Parse(n[0]); int b = int.Parse(n[1]); int c = int.Parse(n[2...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC091A { class Program { static void Main(string[] args) { string[] n = Console.ReadLine().Split(' '); int a = int.Parse(n[0]); int b = int.Parse(n[1]); int c = int.Parse(n[2...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
138
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC091A { 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 ABC091A { 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...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]]
8
138
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC091A { 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 ABC091A { 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...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
138
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp36 { class Program { static void Main(string[] args) { var st = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int A = st[0]; int B = st[1]; int C = st[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp36 { class Program { static void Main(string[] args) { var st = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int A = st[0]; int B = st[1]; int C = st[...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203]]
8
130
2
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using static System.Math; using System.Text; namespace Program { public static class ABC091A { static public void Solve() { var A = NN; var B = NN; var C = NN; if (C <= 2 * A + 2...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using static System.Math; using System.Text; namespace Program { public static class ABC091A { static public void Solve() { var A = NN; var B = NN; var C = NN; if (C <= A + B) { ...
[["-", 0, 57, 15, 16, 12, 16, 31, 16, 31, 203], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 17, 48], ["-", 0, 57, 15, 16, 12, 16, 12, 16, 31, 203], ["-", 0, 57, 15, 16, 12, 16, 12, 16, 17, 48]]
8
6,928
4
using System; namespace abc91_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int[] inputs = new int[array.Length]; for (int i = 0; i < array.Length; i++) { inputs[i] = int.Parse(array[i]); } if (inputs[0] + (2 * inputs[1]) >= inputs[2])...
using System; namespace abc91_a { class Program { static void Main(string[] args) { string[] array = Console.ReadLine().Split(' '); int[] inputs = new int[array.Length]; for (int i = 0; i < array.Length; i++) { inputs[i] = int.Parse(array[i]); } if (inputs[0] + inputs[1] >= inputs[2]) { ...
[["-", 0, 57, 15, 16, 31, 16, 12, 23, 0, 24], ["-", 15, 16, 31, 16, 12, 23, 0, 16, 31, 203], ["-", 15, 16, 31, 16, 12, 23, 0, 16, 17, 48], ["-", 0, 57, 15, 16, 31, 16, 12, 23, 0, 25]]
8
130
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Collections; static class Extensions { public static int ToInt(this string s) => int.Parse(s); public static long ToLong(this string s) => long.Pars...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Collections; static class Extensions { public static int ToInt(this string s) => int.Parse(s); public static long ToLong(this string s) => long.Pars...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203]]
8
319
2
using System; using System.Collections; using System.Text; class Program { static void Main(string[] args) { #if LOCAL_ENVIRONMENT var stdin = new System.IO.StreamReader("stdin.txt"); System.Console.SetIn(stdin); #endif SimpleScanner sc = new SimpleScanner(); int A = sc.NextInt(), B = sc.NextInt(), C ...
using System; using System.Collections; using System.Text; class Program { static void Main(string[] args) { #if LOCAL_ENVIRONMENT var stdin = new System.IO.StreamReader("stdin.txt"); System.Console.SetIn(stdin); #endif SimpleScanner sc = new SimpleScanner(); int A = sc.NextInt(), B = sc.NextInt(), C ...
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 20]]
8
727
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace At { class Program { static void Main(string[] args) { var input = ReadInts(); if (input[2] < input[0] + input[1]) WriteLine("Yes"); else Writ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace At { class Program { static void Main(string[] args) { var input = ReadInts(); if (input[2] <= input[0] + input[1]) WriteLine("Yes"); else Wri...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
262
2
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) { var imp = Console.ReadLine().Split(' '); if (int.Parse(imp[0]) + int.Parse(imp[1]) > int.Parse(imp[2])) { Console...
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) { var imp = Console.ReadLine().Split(' '); if (int.Parse(imp[0]) + int.Parse(imp[1]) >= int.Parse(imp[2])) { Consol...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]]
8
118
2
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; class Program { static void Main() { //入力 // int n = 100; /* long n = long.Parse(Console.ReadLine()); long[] input = new long[5]; for(int a = 0; a < 5; a++) { i...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; class Program { static void Main() { //入力 // int n = 100; /* long n = long.Parse(Console.ReadLine()); long[] input = new long[5]; for(int a = 0; a < 5; a++) { i...
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 20], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19]]
8
108
2
using System; class Program { static void Main(string[] args) { var s = Console.ReadLine().Split(' '); var a = int.Parse(s[0]); var b = int.Parse(s[1]); var c = int.Parse(s[2]); if (a + b <= c) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }
using System; class Program { static void Main(string[] args) { var s = Console.ReadLine().Split(' '); var a = int.Parse(s[0]); var b = int.Parse(s[1]); var c = int.Parse(s[2]); if (c <= a + b) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22]]
8
104
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const long MOD = 1000000007; static void Solve() { var o = ReadAndParseIntArr(); int a = o[0]; int b = o[1]; int c = o[2]...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const long MOD = 1000000007; static void Solve() { var o = ReadAndParseIntArr(); int a = o[0]; int b = o[1]; int c = o[2]...
[["+", 0, 212, 0, 41, 15, 16, 31, 23, 0, 24], ["-", 0, 41, 15, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 41, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 212, 0, 41, 15, 16, 31, 23, 0, 25]]
8
415
4
using System; using System.Collections; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection.Emit; using System.Runtime.Remoting.Proxies; using System.Text; using static System.Console; using static System.Math; using static E...
using System; using System.Collections; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection.Emit; using System.Runtime.Remoting.Proxies; using System.Text; using static System.Console; using static System.Math; using static E...
[["-", 0, 28, 0, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 28, 0, 16, 31, 16, 12, 16, 12, 203]]
8
2,444
2
using System; using System.Linq; namespace ABC091_A { class Program { static void Main(string[] args) { var n = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(n[0] + n[1] > n[2] ? "Yes" : "No"); } } }
using System; using System.Linq; namespace ABC091_A { class Program { static void Main(string[] args) { var n = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(n[0] + n[1] >= n[2] ? "Yes" : "No"); } } }
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 20]]
8
79
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace VirtualAtCorder { class Program { static void Main(string[] args) { string[] inputs = Console.ReadLine().Split(' '); int aCoin = 0, bCoin = 0, price = 0; aCoin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace VirtualAtCorder { class Program { static void Main(string[] args) { string[] inputs = Console.ReadLine().Split(' '); int aCoin = 0, bCoin = 0, price = 0; aCoin...
[["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]]
8
150
4
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace ConsoleApp6 { class Program { stat...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace ConsoleApp6 { class Program { stat...
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 20]]
8
136
2
using System; class Program { static void Main(string[] args) { // 整数の入力 string[] input = Console.ReadLine().Split(' '); int b = int.Parse(input[0]); int c = int.Parse(input[1]); int a = int.Parse(input[2]); //出力 Console.WriteLine((b + c < a ? "No" : "yes")); Console.ReadLine(); } }
using System; class Program { static void Main(string[] args) { // 整数の入力 string[] input = Console.ReadLine().Split(' '); int b = int.Parse(input[0]); int c = int.Parse(input[1]); int a = int.Parse(input[2]); //出力 Console.WriteLine((b + c < a ? "No" : "Yes")); Console.ReadLine(); } }
[["-", 0, 28, 0, 23, 0, 41, 75, 5, 0, 222], ["+", 0, 28, 0, 23, 0, 41, 75, 5, 0, 222]]
8
104
2
using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; class Program { static void Main(string[] args) { var a = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); Console.WriteLine(a[0] + a[1] <= a[2] ? "Yes" : "No"); } }
using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; class Program { static void Main(string[] args) { var a = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); Console.WriteLine(a[0] + a[1] >= a[2] ? "Yes" : "No"); } }
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 20]]
8
97
2
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.B { static class Program { public static void Solve(Scanner cin) { var n = cin.ReadInt(); var s = cin.ReadStringArray(n); var m = cin.ReadInt(); var t = ci...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace FertiLib.Contest.B { static class Program { public static void Solve(Scanner cin) { var n = cin.ReadInt(); var s = cin.ReadStringArray(n); var m = cin.ReadInt(); var t = ci...
[["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 22], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 22]]
8
2,729
2
using System; using System.Collections.Generic; using static System.Console; class Program { static void Main() { var dic = new Dictionary<string, int>(); var N = NextInt(); for (var i = 0; i < N; i++) { var s = ReadLine(); if (dic.ContainsKey(s)) { dic[s]++; } else { d...
using System; using System.Collections.Generic; using static System.Console; class Program { static void Main() { var dic = new Dictionary<string, int>(); var N = NextInt(); for (var i = 0; i < N; i++) { var s = ReadLine(); if (dic.ContainsKey(s)) { dic[s]++; } else { d...
[["-", 0, 57, 64, 196, 0, 1, 0, 223, 0, 29], ["+", 0, 57, 64, 196, 0, 1, 0, 223, 0, 68]]
8
193
2
using System; class Program { static void Main() { int a = int.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。 string[] stringPlus = new string[a]; for (int i = 0; i < a; i++) stringPlus[i] = Console.ReadLine(); // Splitで区切り文字を指定して複数個受け取る。 int b = int.Parse(Console.ReadLine()); // i...
using System; class Program { static void Main() { int a = int.Parse(Console.ReadLine()); // int.Parseは文字列を整数に変換。 string[] stringPlus = new string[a]; for (int i = 0; i < a; i++) stringPlus[i] = Console.ReadLine(); // Splitで区切り文字を指定して複数個受け取る。 int b = int.Parse(Console.ReadLine()); // i...
[["-", 0, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["-", 0, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 8, 196, 0, 1, 0, 11, 12, 241, 0, 33], ["-", 8, 196, 0, 1, 0, 11, 12, 241, 0, 203], ["+", 0, 7, 8, 196, 0, 1, 0, 11, 12, 203]]
8
230
6
// Solve C using System; using System.Linq; using System.Collections.Generic; public class Class { static void Main() { int N = Convert.ToInt32(Console.ReadLine()); string[] S = new string[N]; int i = 0; while (i < N) { S[i] = Console.ReadLine(); i++; } int M = Convert.ToInt32(C...
// Solve C using System; using System.Linq; using System.Collections.Generic; public class Class { static void Main() { int N = Convert.ToInt32(Console.ReadLine()); string[] S = new string[N]; int i = 0; while (i < N) { S[i] = Console.ReadLine(); i++; } int M = Convert.ToInt32(C...
[["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
210
4
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AtCoder { public class QuestionA { public static void Main(string[] args) { // 文字列の入...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AtCoder { public class QuestionA { public static void Main(string[] args) { // 文字列の入...
[["-", 3, 4, 0, 28, 0, 213, 63, 214, 205, 199], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 199]]
8
210
2
using System; using System.Linq; using System.Collections.Generic; using System.IO; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArray(); } public static lon...
using System; using System.Linq; using System.Collections.Generic; using System.IO; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArray(); } public static lon...
[["-", 51, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["+", 51, 213, 3, 4, 0, 28, 0, 16, 31, 22]]
8
322
4
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class Program { static void Main() { var N = ReadLine(); var f = true; if (N.Length == 1) { WriteLine(int.Parse(N)); } for (int i = 1; i < N.Length; i++) { if (N[i...
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class Program { static void Main() { var N = ReadLine(); var f = true; if (N.Length == 1) { WriteLine(int.Parse(N)); return; } for (int i = 1; i < N.Length; i++) {...
[["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]]
8
153
2
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; using static MyIO; public class A { public static readonly int FALSE = 0; public static readonly int TRUE = 1; public static void Main() { long N = GetLong(); List<int> digits = new List<int>(...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; using static MyIO; public class A { public static readonly int FALSE = 0; public static readonly int TRUE = 1; public static void Main() { long N = GetLong(); List<int> digits = new List<int>(...
[["-", 0, 195, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 8, 196, 0, 1, 0, 11, 12, 204, 205, 22], ["+", 0, 1, 0, 11, 12, 204, 206, 207, 0, 70], ["+", 0, 11, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 12, 204, 206, 207, 0, 73]]
8
437
5
using System; using System.Collections.Generic; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const int MOD = 1000000007; static void Solve() { var n = Console.ReadLine(); long longN = long.Parse(n); if (1 <= longN && longN <= 9) { Console.WriteLine(lo...
using System; using System.Collections.Generic; namespace Practice { class Program { static void Main(string[] args) { Solve(); } private const int MOD = 1000000007; static void Solve() { var n = Console.ReadLine(); long longN = long.Parse(n); if (1 <= longN && longN <= 9) { Console.WriteLine(lo...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
847
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, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
318
2
using System; using System.Threading; namespace ABC088 { /// <summary> /// A - Infinite Coins /// </summary> class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); float rslt = N % 500; if (rslt - A < 0) { Console.WriteL...
using System; using System.Threading; namespace ABC088 { /// <summary> /// A - Infinite Coins /// </summary> class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); float rslt = N % 500; if (rslt - A <= 0) { Console.Write...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
96
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Hello { public static void Main() { // Your code here! int X = int.Parse(Console.ReadLine()); int N = int.Parse(Console.ReadLine()); int a = X / 500; if (a <= N) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Hello { public static void Main() { // Your code here! int X = int.Parse(Console.ReadLine()); int N = int.Parse(Console.ReadLine()); int a = X % 500; if (a <= N) { ...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 85], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 109]]
8
109
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class Q088A { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Consol...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class Q088A { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Consol...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
8
155
6
using System; namespace ABC_088_A_Csharp_ver { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); if (500 % N <= A) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } Console.ReadKey(); } }...
using System; namespace ABC_088_A_Csharp_ver { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); if (N % 500 <= A) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } Console.ReadKey(); } }...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 203], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]]
8
87
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088A { class Program { static void Main(string[] args) { int a, b; a = int.Parse(Console.ReadLine()); b = int.Parse(Console.ReadLine()); if ((a % 500) < b) Console.Wr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088A { class Program { static void Main(string[] args) { int a, b; a = int.Parse(Console.ReadLine()); b = int.Parse(Console.ReadLine()); if ((a % 500) <= b) Console.W...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
112
2
using System; using System.Linq; using System.Collections.Generic; namespace A { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var a = int.Parse(Console.ReadLine()); bool ans = n % a <= a; Console.WriteLine(ans ? "Yes" : "No"); } } }
using System; using System.Linq; using System.Collections.Generic; namespace A { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var a = int.Parse(Console.ReadLine()); bool ans = n % 500 <= a; Console.WriteLine(ans ? "Yes" : "No"); } } }
[["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203]]
8
86
2
using System; class Program { static void Main(string[] args) { // 支払総額N円 string input = Console.ReadLine(); int payTotal = int.Parse(input); // 1円硬貨枚数A input = Console.ReadLine(); int one = int.Parse(input); // 支払総額を500円で割った余りを計算 int surplus = payTotal % 500; if (surplus <= on...
using System; class Program { static void Main(string[] args) { // 支払総額N円 string input = Console.ReadLine(); int payTotal = int.Parse(input); // 1円硬貨枚数A input = Console.ReadLine(); int one = int.Parse(input); // 支払総額を500円で割った余りを計算 int surplus = payTotal % 500; if (surplus <= on...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
94
4
using System; namespace AtCoder.BeginnersSelections { class Test { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); int amari = N % 500; if (amari < A) Console.WriteLine("Yes"); else Console.WriteLine("N...
using System; namespace AtCoder.BeginnersSelections { class Test { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); int amari = N % 500; if (amari <= A) Console.WriteLine("Yes"); else Console.WriteLine("N...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
84
2
using System; using System.Linq; public class c { public static void Main() { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); string Ans = "No"; if (N % 500 >= A) Ans = "Yes"; Console.WriteLine(Ans); } }
using System; using System.Linq; public class c { public static void Main() { int N = int.Parse(Console.ReadLine()); int A = int.Parse(Console.ReadLine()); string Ans = "No"; if (N % 500 <= A) Ans = "Yes"; Console.WriteLine(Ans); } }
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
77
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088 { class ABC088_A { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N / 500 <= A ? "Yes" : ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088 { class ABC088_A { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N % 500 <= A ? "Yes" : ...
[["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 85], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 109]]
8
93
2
using System; using System.Collections.Generic; using System.Linq; namespace ziyuutyou { class Program { static void Main(string[] args) { var cash = int.Parse(Console.ReadLine()); var yen = int.Parse(Console.ReadLine()); var money = cash % 500; if (money < yen) { Console.WriteLine("Yes"); ...
using System; using System.Collections.Generic; using System.Linq; namespace ziyuutyou { class Program { static void Main(string[] args) { var cash = int.Parse(Console.ReadLine()); var yen = int.Parse(Console.ReadLine()); var money = cash % 500; if (money <= yen) { Console.WriteLine("Yes"); ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
98
2
using System; using System.Collections; using System.Collections.Generic; using System.Text; public class A { public static void Main() { int N = Int32.Parse(Console.ReadLine()); int A = Int32.Parse(Console.ReadLine()); Console.WriteLine(((N % 500) < A) ? "Yes" : "No"); } }
using System; using System.Collections; using System.Collections.Generic; using System.Text; public class A { public static void Main() { int N = Int32.Parse(Console.ReadLine()); int A = Int32.Parse(Console.ReadLine()); Console.WriteLine(((N % 500) <= A) ? "Yes" : "No"); } }
[["-", 0, 28, 0, 41, 15, 23, 0, 16, 17, 18], ["+", 0, 28, 0, 41, 15, 23, 0, 16, 17, 19]]
8
84
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace At { class Program { static void Main(string[] args) { var n = ReadInt(); var a = ReadInt(); var x = n % 500; if (a > x) { WriteLine("Yes"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace At { class Program { static void Main(string[] args) { var n = ReadInt(); var a = ReadInt(); var x = n % 500; if (a >= x) { WriteLine("Yes"); ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]]
8
269
2
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N % 50 <= A ? "Yes" : "No"); } } }
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N % 500 <= A ? "Yes" : "No"); } } }
[["-", 0, 28, 0, 41, 15, 16, 31, 16, 12, 203], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 12, 203]]
8
81
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...
[["-", 31, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 31, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["-", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 15, 16, 12, 204, 206, 207, 0, 28, 0, 203]]
8
116
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Solve(); } static void Solve() { Scan sc = new Scan(); var p1 = sc.longarr; long n = p1[0]; var p2 = sc.longarr; long k = p2[0...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Solve(); } static void Solve() { Scan sc = new Scan(); var p1 = sc.longarr; long n = p1[0]; var p2 = sc.longarr; long k = p2[0...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
170
2
using System; using System.Linq; class prog { static void Main() { int n = int.Parse(Console.ReadLine()); int a = int.Parse(Console.ReadLine()); Console.WriteLine(a >= n % 100 ? "Yes" : "No"); } }
using System; using System.Linq; class prog { static void Main() { int n = int.Parse(Console.ReadLine()); int a = int.Parse(Console.ReadLine()); Console.WriteLine(a >= n % 500 ? "Yes" : "No"); } }
[["-", 0, 28, 0, 41, 15, 16, 12, 16, 12, 203], ["+", 0, 28, 0, 41, 15, 16, 12, 16, 12, 203]]
8
66
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int a = int.Parse(Console.ReadLine()); int remain = n % 100; if...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int a = int.Parse(Console.ReadLine()); int remain = n % 500; if...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]]
8
110
2
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp3 { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); var amari = N % 500; var str = "NO"; if (A >= amari) str = "YES"; ...
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp3 { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); var amari = N % 500; var str = "No"; if (A >= amari) str = "Yes"; ...
[["-", 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
95
4
using System; namespace Sample101 { class Program { static void Main(string[] args) { int daikin = int.Parse(Console.ReadLine()); int ichien = int.Parse(Console.ReadLine()); if (daikin % 500 < ichien) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
using System; namespace Sample101 { class Program { static void Main(string[] args) { int daikin = int.Parse(Console.ReadLine()); int ichien = int.Parse(Console.ReadLine()); if (daikin % 500 <= ichien) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
81
2
using System; namespace ABC088_A { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N % 500 < A ? "Yes" : "No"); } } }
using System; namespace ABC088_A { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = int.Parse(Console.ReadLine()); Console.WriteLine(N % 500 <= A ? "Yes" : "No"); } } }
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19]]
8
69
2
using static System.Console; namespace For_Atcoder { class Program { static void Main(string[] args) { int N = int.Parse(ReadLine()); int A = int.Parse(ReadLine()); WriteLine((N % 500) < A ? "Yes" : "No"); } } }
using static System.Console; namespace For_Atcoder { class Program { static void Main(string[] args) { int N = int.Parse(ReadLine()); int A = int.Parse(ReadLine()); WriteLine((N % 500) <= A ? "Yes" : "No"); } } }
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19]]
8
68
2
using System; using System.Collections.Generic; using System.Linq; namespace Competitive { internal class Solution { public void Run() { int N = Input.ReadInt(); int A = Input.ReadInt(); Console.WriteLine(N / 500 <= A ? "Yes" : "No"); } } internal static class Input { public static int ReadInt() { ...
using System; using System.Collections.Generic; using System.Linq; namespace Competitive { internal class Solution { public void Run() { int N = Input.ReadInt(); int A = Input.ReadInt(); Console.WriteLine(N % 500 <= A ? "Yes" : "No"); } } internal static class Input { public static int ReadInt() { ...
[["-", 0, 28, 0, 41, 15, 16, 31, 16, 17, 85], ["+", 0, 28, 0, 41, 15, 16, 31, 16, 17, 109]]
8
130
2
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using static System.Console; using static System.Math; using System.Numerics; //using CS_Contest.Graph; using CS_Contest.Loop; using CS_Contest.Utils; using static Nakov.IO.Cin; using static C...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using static System.Console; using static System.Math; using System.Numerics; //using CS_Contest.Graph; using CS_Contest.Loop; using CS_Contest.Utils; using static Nakov.IO.Cin; using static C...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
2,426
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class Question6 { 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 Question6 { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 7, 15, 16, 31, 16, 17, 72], ["-", 8, 196, 0, 7, 15, 16, 31, 16, 12, 203], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 17, 72], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203]]
8
227
6
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] s = Console.ReadLine().Split(' '); int[] n = new int[50]; for (int i = 0; i < N; i++) { n[i] = int.Parse(s[i]); } int sum1 = 0; int sum2 = 0; Array.Sort(n); Array...
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] s = Console.ReadLine().Split(' '); int[] n = new int[N]; for (int i = 0; i < N; i++) { n[i] = int.Parse(s[i]); } int sum1 = 0; int sum2 = 0; Array.Sort(n); Array....
[["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22]]
8
164
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088B { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(' '); int[] an = new int[n]; for (in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC088B { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(' '); int[] an = new int[n]; for (in...
[["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["-", 64, 196, 0, 1, 0, 11, 12, 241, 0, 72], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["-", 75, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["-", 75, 196, 0, 1, 0, 11, 12, 241, 0, 72], ["+", 75, 196, 0, 1, 0, 11, 0, 202, 0, 107]]
8
202
6