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 AtCoder176 { class Program { static void Main(string[] args) { QB(); } static void QA() { string line = Console.ReadLine(); string[] splited = line.Split(' '); int N = int.Pars...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder176 { class Program { static void Main(string[] args) { QB(); } static void QA() { string line = Console.ReadLine(); string[] splited = line.Split(' '); int N = int.Pars...
[["-", 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
202
4
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; namespace B_ABC176 { class MainClass { // static int[] s; public static void Main(string[] args) { // s = ReadLine(); var sstr = ReadLine(); var ans = 0; for (int i = 0; i < ...
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; namespace B_ABC176 { class MainClass { // static int[] s; public static void Main(string[] args) { // s = ReadLine(); var sstr = ReadLine(); var ans = 0; for (int i = 0; i < ...
[["+", 75, 196, 0, 1, 0, 11, 12, 16, 17, 33], ["+", 0, 1, 0, 11, 12, 16, 12, 252, 0, 104], ["+", 0, 1, 0, 11, 12, 16, 12, 252, 0, 253]]
8
419
4
using System; using System.ComponentModel; namespace Constest { class Program { static void Main(string[] args) { string cnt = Console.ReadLine(); string line = Console.ReadLine(); string[] stArrayData = line.Split(' '); int inc = 0; int max = 0; int sum = 0; foreach (string s in stArrayD...
using System; using System.ComponentModel; namespace Constest { class Program { static void Main(string[] args) { string cnt = Console.ReadLine(); string line = Console.ReadLine(); string[] stArrayData = line.Split(' '); long inc = 0; long max = 0; long sum = 0; foreach (string s in stArr...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
138
6
using System; using System.Linq; namespace abc176.c { class Program { static void Main(string[] args) { int num = getIntParam(); int[] paramArray = getIntParams(); int adjust = 0; int level = paramArray[0]; for (int c = 1; c < num; c++) { if (paramArray[c] < level) { ...
using System; using System.Linq; namespace abc176.c { class Program { static void Main(string[] args) { int num = getIntParam(); long[] paramArray = getLongParams(); long adjust = 0; long level = paramArray[0]; for (int c = 1; c < num; c++) { if (paramArray[c] < level) { ...
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
276
8
using System; class Program { static void Main() { string N = Console.ReadLine(); string A = Console.ReadLine(); string[] a = (A.Split(' ')); int[] an = new int[Convert.ToInt32(N)]; int count = 0; for (int i = 0; i < Convert.ToInt32(N); i++) { an[i] = Convert.ToInt32(a[i]); } ...
using System; class Program { static void Main() { string N = Console.ReadLine(); string A = Console.ReadLine(); string[] a = (A.Split(' ')); double[] an = new double[Convert.ToInt32(N)]; double count = 0; for (int i = 0; i < Convert.ToDouble(N); i++) { an[i] = Convert.ToInt32(a[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], ["-", 0, 7, 15, 16, 12, 213...
8
177
10
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.IO.Compression; using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using Console ...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.IO.Compression; using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using Console ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
206
2
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Net.WebSockets; class Test { // Driver code public static void Main() { /// var t = int.Parse(Console.ReadLine()); // while (t > 0) { // t--; var ii = Console.ReadLine...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Net.WebSockets; class Test { // Driver code public static void Main() { /// var t = int.Parse(Console.ReadLine()); // while (t > 0) { // t--; var ii = Console.ReadLine...
[["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 196, 0, 197, 0, 198, 39, 199]]
8
237
4
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 = Console.ReadLine().Split().Select(int.Parse).ToArray(); var height = A[0]; var ans = 0; foreach (var i in A)...
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 = Console.ReadLine().Split().Select(double.Parse).ToArray(); var height = A[0]; var ans = 0.0; foreach (var i ...
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250]]
8
125
4
using System; using System.IO; class Program { static void Main(string[] args) { var scan = new Scanner(); var writer = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(writer); Console.WriteLine(Solve(scan)); Console.Out.Flush(); } static int Solve...
using System; using System.IO; class Program { static void Main(string[] args) { var scan = new Scanner(); var writer = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(writer); Console.WriteLine(Solve(scan)); Console.Out.Flush(); } static long Solv...
[["-", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
347
4
using System; using System.Linq; class Solution { static int almostSorted(int[] arr) { var minHeigth = 0; var prevH = arr[0]; for (var i = 1; i < arr.Length; i++) { if (arr[i] < prevH) { minHeigth += prevH - arr[i]; } else { prevH = arr[i]; } } return minHeigth; ...
using System; using System.Linq; class Solution { static long almostSorted(int[] arr) { var minHeigth = 0l; var prevH = arr[0]; for (var i = 1; i < arr.Length; i++) { if (arr[i] < prevH) { minHeigth += prevH - arr[i]; } else { prevH = arr[i]; } } return minHeigth...
[["-", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
155
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace atcoder { public class Program { public static void Main(string[] args) { var buffer = Console.ReadLine().Split(); var N = int.Parse(buffer[0]); var ans = 0; var before = -1; foreach (var v in ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace atcoder { public class Program { public static void Main(string[] args) { var buffer = Console.ReadLine().Split(); var N = int.Parse(buffer[0]); long ans = 0; long before = -1; foreach (var v i...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 210, 8, 196, 0, 19...
8
157
10
using System; using System.Linq; namespace AtCoder.Contests.Abc176 { public class Step { public static void Main() { Console.ReadLine(); string input2 = Console.ReadLine(); if (String.IsNullOrEmpty(input2)) { return; } var items = input2.Split(' ').Select(x => Int32.Parse(...
using System; using System.Linq; namespace AtCoder.Contests.Abc176 { public class Step { public static void Main() { Console.ReadLine(); string input2 = Console.ReadLine(); if (String.IsNullOrEmpty(input2)) { return; } var items = input2.Split(' ').Select(x => Int32.Parse(...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
128
2
using System; using System.Linq; using System.Collections.Generic; using System.Numerics; namespace Sample { class Sample { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(' '); int[] height = str.Select(int.Parse).ToArray(); // step.Co...
using System; using System.Linq; using System.Collections.Generic; using System.Numerics; namespace Sample { class Sample { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(' '); long[] height = str.Select(long.Parse).ToArray(); // step....
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
161
6
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] A = new int[N]; int step = 0; for (int i = 0; i < N; i++) { A[i] = int.Parse(input[i]); if (i > 0) { if (A[i] < A[i - 1]...
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] A = new int[N]; long step = 0; for (int i = 0; i < N; i++) { A[i] = int.Parse(input[i]); if (i > 0) { if (A[i] < A[i - 1...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
164
2
using System; using System.Linq; namespace aaaaaaaaaaaa { class Program { static void Main(string[] args) { Console.ReadLine(); var a = Console.ReadLine().Trim().Split(' ').Select(int.Parse).ToArray(); var mae = 0; var fumidai = 0; for (int i = 0; i < a.Length; i++) { if (a[i] < mae) { ...
using System; using System.Linq; namespace aaaaaaaaaaaa { class Program { static void Main(string[] args) { Console.ReadLine(); var a = Console.ReadLine().Trim().Split(' ').Select(int.Parse).ToArray(); var mae = 0; var fumidai = 0l; for (int i = 0; i < a.Length; i++) { if (a[i] < mae) { ...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
137
2
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] hight = new int[N];...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] hight = new int[N]...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
181
2
using System; class Program { static void Main(string[] args) {   int N = int.Parse(Console.ReadLine()); //標準入力 string dd = Console.ReadLine(); string[] A = dd.Split(' '); int[] Ai = new int[A.Length]; int maxshincho = 0; int dai = 0; for (int i = 0; i < A.Length; i++) { Ai[i] = i...
using System; class Program { static void Main(string[] args) {   int N = int.Parse(Console.ReadLine()); //標準入力 string dd = Console.ReadLine(); string[] A = dd.Split(' '); int[] Ai = new int[A.Length]; int maxshincho = 0; decimal dai = 0; for (int i = 0; i < A.Length; i++) { Ai[i]...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 39, 199], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 25], ["+", 0, 11, 12, 16, 12, 74, 51, 23, 0, 24], ["+", 0, 11, 12, 16, 12, 74, 51, 23, 0, 25]]
8
188
7
using System; using System.Collections.Generic; using System.Linq; namespace ABC086A { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(' '); var step = 0; for (int i = 1; i < N; i++) { if (int.Parse(A[i]) < int.Parse(A[i...
using System; using System.Collections.Generic; using System.Linq; namespace ABC086A { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(' '); long step = 0; for (int i = 1; i < N; i++) { if (int.Parse(A[i]) < int.Parse(A[...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 64, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 57, 64, 196, 0, 197, 0, 198, 39, 199]]
8
172
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class ABC168C { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = new int[n]; string[] str = Console.ReadLine().Split(' '); for (int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder { class ABC168C { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = new int[n]; string[] str = Console.ReadLine().Split(' '); for (int...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
190
2
using System; namespace AtCoderSnippet { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(" "); var x = 0; for (int i = 0; i < N - 1; i++) { var ax = int.Parse(A[i]); var ay = int.Parse(A[i + 1]); if (ax > ay)...
using System; namespace AtCoderSnippet { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var A = Console.ReadLine().Split(" "); long x = 0; for (int i = 0; i < N - 1; i++) { var ax = long.Parse(A[i]); var ay = long.Parse(A[i + 1]); if (ax >...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
146
8
using System; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = InputIntArray(); int count = 0; for (int i = 1; i < a.Length; i++) { if (a[i - 1] > a[i]) { int c = a[i - 1] - a[i]; a[i] += c; count += c; } } ...
using System; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = InputIntArray(); ulong count = 0; for (int i = 1; i < a.Length; i++) { if (a[i - 1] > a[i]) { int c = a[i - 1] - a[i]; a[i] += c; count += (ulong)c; } ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 64, 196, 0, 1, 0, 11, 12, 74, 0, 24], ["+", 64, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["+", 64, 196, 0, 1, 0, 11, 12, 74, 0, 25]]
8
190
5
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = int.Parse(input[i]); } int r = 0; int ...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string[] input = Console.ReadLine().Split(' '); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = int.Parse(input[i]); } long r = 0; lon...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
162
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static AtCoderTemplate.MyLibrary; namespace AtCoderTemplate { class Program { static void Main(string[] args) { string[] str; str = Cons...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static AtCoderTemplate.MyLibrary; namespace AtCoderTemplate { class Program { static void Main(string[] args) { string[] str; str = Cons...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
260
2
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace abc176 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exists("in...
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace abc176 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exists("in...
[["-", 8, 196, 0, 57, 15, 16, 12, 204, 205, 22], ["-", 0, 57, 15, 16, 12, 204, 206, 207, 0, 70], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 31, 22], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["-", 0, 57, 15, 16, 12, 204, 206, 207, 0, 73], ["+", 0, 7, 8, 196, 0, 57, 15,...
8
369
7
using System; using System.Linq; class P { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int c = 0; int m = 0; foreach (int i in a) { if (i > m) m = i; else if (i < m) { c +=...
using System; using System.Linq; class P { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] a = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); long c = 0; long m = 0; foreach (int i in a) { if (i > m) m = i; else if (i < m) { c ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
117
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_20190707_1 { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int[] A = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_20190707_1 { class Program { static void Main(string[] args) { long N = int.Parse(Console.ReadLine()); long[] A = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]]
8
157
10
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AC { public static int[] ReadArray() { return Array.ConvertAll(Console.ReadLine().Split(' '), m => Convert.ToInt32(m)); } public static int ReadInt() { return Convert.ToInt32(Conso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AC { public static int[] ReadArray() { return Array.ConvertAll(Console.ReadLine().Split(' '), m => Convert.ToInt32(m)); } public static int ReadInt() { return Convert.ToInt32(Conso...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
247
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static System.Array; class Program { public static void Main() { var n = int.Parse(ReadLine()); var a = ReadLine().Split().Select(int.Parse).ToArray(); var su...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static System.Array; class Program { public static void Main() { var n = int.Parse(ReadLine()); var a = ReadLine().Split().Select(long.Parse).ToArray(); var s...
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
152
4
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace AtCoder.C { public class Program { public static void Main() { var r = GetResult(); Debug.WriteLine(r); Console.Write(r); } private static object GetResult() { var N = ReadLong(...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace AtCoder.C { public class Program { public static void Main() { var r = GetResult(); Debug.WriteLine(r); Console.Write(r); } private static object GetResult() { var N = ReadLong(...
[["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203]]
8
420
4
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System; namespace AtCoder { class Program { private static long mod = 1000000007; static void Main(string[] args) { var n = int.Parse(ReadLine()); var line = ReadLine...
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System; namespace AtCoder { class Program { private static long mod = 1000000007; static void Main(string[] args) { var n = int.Parse(ReadLine()); var line = ReadLine...
[["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
145
6
using System; namespace C { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); var max = 0; var result = 0; foreach (int a in A) { if (max < a) max = a; else resu...
using System; namespace C { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var A = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); var max = 0L; var result = 0L; foreach (int a in A) { if (max < a) max = a; else re...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
104
4
using System; using System.Collections.Generic; using System.Linq; public struct Point { public int X; public int Y; public Point(Point p) { X = p.X; Y = p.Y; } public Point(int x, int y) { X = x; Y = y; } public static bool operator ==(Point a, Point b) { return (a.X == b.X && a.Y...
using System; using System.Collections.Generic; using System.Linq; public struct Point { public int X; public int Y; public Point(Point p) { X = p.X; Y = p.Y; } public Point(int x, int y) { X = x; Y = y; } public static bool operator ==(Point a, Point b) { return (a.X == b.X && a.Y...
[["-", 0, 28, 0, 230, 3, 4, 0, 28, 0, 22], ["-", 3, 4, 0, 28, 0, 230, 3, 4, 0, 21], ["+", 3, 4, 0, 28, 0, 230, 3, 4, 0, 21], ["+", 0, 28, 0, 230, 3, 4, 0, 28, 0, 22]]
8
758
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Pair = System.Tuple<int, int>; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { void ChMax(ref int x, int v) { x = Math.Max(x, v); } int score(in...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Pair = System.Tuple<int, int>; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { void ChMax(ref int x, int v) { x = Math.Max(x, v); } int score(in...
[["-", 31, 204, 205, 204, 206, 207, 0, 28, 0, 22], ["+", 31, 204, 205, 204, 206, 207, 0, 28, 0, 22], ["-", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 22]]
8
2,190
4
using System.Linq; using System.Text; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Diagnostics; using System.Reflection.Metadata; using System.Threading; using System.Runtime.CompilerServices; namespace AtCoder { class Program { ...
using System.Linq; using System.Text; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Diagnostics; using System.Reflection.Metadata; using System.Threading; using System.Runtime.CompilerServices; namespace AtCoder { class Program { ...
[["-", 0, 57, 15, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 57, 15, 204, 206, 207, 0, 28, 0, 203]]
8
253
2
namespace AtCoder { using System; using System.Linq; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; class Program { static void Main() { var input = System.Console.ReadLine().ToArray(); var a = input[0]; var b = input[1]; var c = input[2];...
namespace AtCoder { using System; using System.Linq; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; class Program { static void Main() { var input = System.Console.ReadLine().ToArray(); var a = input[0]; var b = input[1]; var c = input[2];...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22]]
8
552
2
using System; using static System.Console; using static System.Math; using System.Numerics; using System.Collections.Generic; using System.Linq; namespace AtCoder { public class Program { public static void Main(string[] args) { var s = myRead.reatStr(); int ans = 0; int num = 0; for (int i = 0; i < ...
using System; using static System.Console; using static System.Math; using System.Numerics; using System.Collections.Generic; using System.Linq; namespace AtCoder { public class Program { public static void Main(string[] args) { var s = myRead.reatStr(); int ans = 0; int num = 0; for (int i = 0; i < ...
[["-", 0, 7, 8, 196, 0, 57, 75, 260, 0, 35]]
8
489
1
using System; namespace q1 { class q2 { static void Main() { string n = Console.ReadLine(); if (n == "RRR") { Console.WriteLine(3); } if (n == "RRS" || n == "SRR") { Console.WriteLine(2); } if (n == "SSS") { Console.WriteLine(0); } else { Console.WriteLine(1); }...
using System; namespace q1 { class q2 { static void Main() { string n = Console.ReadLine(); if (n == "RRR") { Console.WriteLine(3); } else if (n == "RRS" || n == "SRR") { Console.WriteLine(2); } else if (n == "SSS") { Console.WriteLine(0); } else { Console.WriteLine(1); ...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 0, 195, 8, 196, 0, 57, 75, 57, 0, 95]]
8
94
2
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { string a = Console.ReadLine(); bool flg = false; int cnt = 0; for (int i = 0; i < 3; i++) { if (flg || a.Substring(i, 1) == "S") { break; } if (a.Substring(i, 1) == "R") { flg = t...
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { string a = Console.ReadLine(); bool flg = false; int cnt = 0; for (int i = 0; i < 3; i++) { if (flg && a.Substring(i, 1) == "S") { break; } if (a.Substring(i, 1) == "R") { flg = t...
[["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 98]]
8
109
2
using System; using System.Linq; using System.Security.Cryptography.X509Certificates; namespace _0815 { class Program { private static string s; static void Main(string[] args) { s = Console.ReadLine(); long result = Solution(); Console.WriteLine(result); } static long Solution() { long res =...
using System; using System.Linq; using System.Security.Cryptography.X509Certificates; namespace _0815 { class Program { private static string s; static void Main(string[] args) { s = Console.ReadLine(); long result = Solution(); Console.WriteLine(result); } static long Solution() { long res =...
[["+", 8, 196, 0, 57, 75, 196, 0, 57, 0, 95]]
8
192
1
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main(string[] args) { var S = Console.ReadLine().ToCharArray(); int count = 0; var isRBefore = true; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AtCoder { class Program { static void Main(string[] args) { var S = Console.ReadLine().ToCharArray(); int count = 0; var isRBefore = false; ...
[["-", 0, 198, 0, 200, 0, 212, 0, 211, 0, 146], ["+", 0, 198, 0, 200, 0, 212, 0, 211, 0, 147], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 106], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
8
122
6
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace atcoder { class Program { static void Main(string[] args) { var f = Console.ReadLine().ToArray(); var result = 0; var tmp = 0; for (var i = 0; i < 3; i++) { if (f[i] == 'S') { if (tmp > r...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace atcoder { class Program { static void Main(string[] args) { var f = Console.ReadLine().ToArray(); var result = 0; var tmp = 0; for (var i = 0; i < 3; i++) { if (f[i] == 'S') { if (tmp > r...
[["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 101], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 64, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 102], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 75, 22]]
8
118
6
using System; class Program { static void Main(string[] args) { string input = Console.ReadLine(); int rainCount = 0; for (int i = 0; i < input.Length; i++) { if (input[i] == 'R') { rainCount++; } } if (input[1] == 'S') { rainCount = 1; } Console.Write(rainCount...
using System; class Program { static void Main(string[] args) { string input = Console.ReadLine(); int rainCount = 0; for (int i = 0; i < input.Length; i++) { if (input[i] == 'R') { rainCount++; } } if (input[1] == 'S' && rainCount > 0) { rainCount = 1; } Consol...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
8
90
4
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; class Program { static long count = 0; static void Main(string[] args) { string s = Console.ReadLine(); int count = 0; int maxCount = 0; for (var i = 0; i < 3; i++) { if (s[i] == 'R') { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; class Program { static long count = 0; static void Main(string[] args) { string s = Console.ReadLine(); int count = 0; int maxCount = 0; for (var i = 0; i < 3; i++) { if (s[i] == 'R') { ...
[["-", 0, 57, 75, 196, 0, 1, 0, 223, 0, 68], ["+", 75, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 57, 75, 196, 0, 1, 0, 11, 12, 203]]
8
117
3
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 long mod = 1000000007; // static char[] az = Enumerable.Range('a', 'z' - 'a' + 1).Select(i => // ...
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 long mod = 1000000007; // static char[] az = Enumerable.Range('a', 'z' - 'a' + 1).Select(i => // ...
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
8
179
2
using System; using System.Linq; namespace Csharp { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int[] L = Console.ReadLine().Split(" ").Select(s => int.Parse(s)).ToArray(); int ans = 0; Array.Sort(L); for (int i = 0; i < N - 2; i++) { for (int j...
using System; using System.Linq; namespace Csharp { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int[] L = Console.ReadLine().Split(" ").Select(s => int.Parse(s)).ToArray(); int ans = 0; Array.Sort(L); for (int i = 0; i < N - 2; i++) { for (int j...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47]]
8
209
2
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B { class Program { static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); line = Console.ReadLine(); string[...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace B { class Program { static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); line = Console.ReadLine(); string[...
[["-", 0, 57, 15, 16, 31, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 16, 31, 16, 31, 16, 17, 47], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47]]
8
288
6
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { string a = Console.ReadLine(); int n = int.Parse(a); string b = Console.ReadLine(); string[] vs = b.Split(' '); long[] c = new long[n]; for (int i = 0; i < n; i++) { c[i] = int.Parse(vs[i]); } ...
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { string a = Console.ReadLine(); int n = int.Parse(a); string b = Console.ReadLine(); string[] vs = b.Split(' '); long[] c = new long[n]; for (int i = 0; i < n; i++) { c[i] = int.Parse(vs[i]); } ...
[["-", 0, 57, 64, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 57, 64, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 25]]
8
258
5
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace abc175_c { class Program { static void Main(string[] args) { var X = CIn.ReadLong(); var K = CIn.ReadLong(); var D = CIn.ReadLong(); var x = Math.Abs(X); if (x >= K * D) {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace abc175_c { class Program { static void Main(string[] args) { var X = CIn.ReadLong(); var K = CIn.ReadLong(); var D = CIn.ReadLong(); var x = Math.Abs(X); if (x / D >= K) {...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 48], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
468
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CS { public class Class1 { static void Main() { long[] l = Console.ReadLine().Split(' ').Select((s) => long.Parse(s)).ToArray(); long X = l[0]; long K = l[1]; long...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CS { public class Class1 { static void Main() { long[] l = Console.ReadLine().Split(' ').Select((s) => long.Parse(s)).ToArray(); long X = l[0]; long K = l[1]; long...
[["-", 0, 212, 0, 41, 15, 16, 12, 16, 31, 22], ["+", 0, 212, 0, 41, 15, 16, 12, 16, 31, 22], ["-", 0, 200, 0, 212, 0, 41, 75, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 41, 75, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+...
8
178
10
using System; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace AtCoder { public class TestCode { static void Main(string[] args) { var (X, K, D) = ReadValue<long, long, long>(); long ans = 0; var tmp = Math.Abs(X) / D; if (tmp < K) ans = Math.Abs(X) - ...
using System; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace AtCoder { public class TestCode { static void Main(string[] args) { var (X, K, D) = ReadValue<long, long, long>(); long ans = 0; var tmp = Math.Abs(X) / D; if (tmp > K) ans = Math.Abs(X) - ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47]]
8
886
2
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System; using System.Collections; class Program { #region Reader static string ReadStr => Console.ReadLine(); static string[] ReadStrs => Console.ReadLine().Split(' '); static int ReadInt => Convert....
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System; using System.Collections; class Program { #region Reader static string ReadStr => Console.ReadLine(); static string[] ReadStrs => Console.ReadLine().Split(' '); static int ReadInt => Convert....
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 48], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 4...
8
359
8
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC175C { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); long X = long.Parse(input[0]); long K = long.Parse(input[1]); long ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC175C { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); long X = long.Parse(input[0]); long K = long.Parse(input[1]); long ...
[["-", 0, 57, 75, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 57, 75, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 57, 75, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 57, 75, 196, 0, 57, 15, 16, 17, 19], ["-", 75, 196, 0, 57, 15, 16, 12, 16, 12, 22], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
249
6
using System; using System.Linq; using System.Security.Cryptography.X509Certificates; namespace _0815 { class Program { static long x, k, d; static void Main(string[] args) { var xkd = Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray(); x = xkd[0]; k = xkd[1]; d = xkd[2]; ...
using System; using System.Linq; using System.Security.Cryptography.X509Certificates; namespace _0815 { class Program { static long x, k, d; static void Main(string[] args) { var xkd = Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray(); x = xkd[0]; k = xkd[1]; d = xkd[2]; ...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 48], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22]]
8
196
6
using System; using static System.Console; using static System.Math; using System.Numerics; using System.Collections.Generic; using System.Linq; namespace AtCoder { public class Program { public static void Main(string[] args) { var s = myRead.readLongArray(); long a = Abs(s[0]) / s[2]; long b = Abs(s[0]...
using System; using static System.Console; using static System.Math; using System.Numerics; using System.Collections.Generic; using System.Linq; namespace AtCoder { public class Program { public static void Main(string[] args) { var s = myRead.readLongArray(); long a = Abs(s[0]) / s[2]; long b = Abs(s[0]...
[["+", 0, 213, 3, 4, 0, 28, 0, 213, 63, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]]
8
570
3
using System; using System.Linq; namespace ConsoleApp3 { internal class Program { private static void Main(string[] args) { var input = Console.ReadLine().Split(" ").Select(decimal.Parse).ToArray(); var x = input[0]; var k = input[1]; var d = input[2]; var minX = x % d; var count = Math.Floo...
using System; using System.Linq; namespace ConsoleApp3 { internal class Program { private static void Main(string[] args) { var input = Console.ReadLine().Split(" ").Select(decimal.Parse).ToArray(); var x = input[0]; var k = input[1]; var d = input[2]; var minX = x % d; var count = Math.Floo...
[["+", 0, 28, 0, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 16, 31, 213, 63, 214, 0, 131], ["+", 0, 28, 0, 16, 31, 213, 63, 214, 141, 22], ["+", 0, 28, 0, 16, 31, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 16, 31, 213, 3, 4, 0, 25]]
8
193
5
using System; namespace ABC178C { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var mod = 1000000007L; var all = 1L; var except0and9 = 1L; var except0 = 1L; var except9 = 1L; for (var i = 0; i < n; i++) { all = (all * 10) % mod; exce...
using System; namespace ABC178C { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var mod = 1000000007L; var all = 1L; var except0and9 = 1L; var except0 = 1L; var except9 = 1L; for (var i = 0; i < n; i++) { all = (all * 10) % mod; exce...
[["+", 0, 212, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 31, 22], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 12, 203]]
8
139
4
using System; using System.Numerics; namespace ConsoleApp2 { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); Console.WriteLine(Resolve(n)); } private static long Resolve(long n) { long A = 1; long B = 1; long C1 = 1; long C2 = 1; long mod = 1...
using System; using System.Numerics; namespace ConsoleApp2 { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); Console.WriteLine(Resolve(n)); } private static long Resolve(long n) { long A = 1; long B = 1; long C1 = 1; long C2 = 1; long mod = 1...
[["+", 0, 37, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 37, 0, 16, 31, 23, 0, 16, 12, 22]]
8
165
2
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
[["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 33], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 17, 72], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22]]
8
1,158
6
using System; using System.Linq; namespace AtCoderBeginnerContest178 { class Program { static readonly int DIV = (int)Math.Pow(10, 9) + 7; static void Main(string[] args) { var input = long.Parse(Console.ReadLine()); if (input == 1) { Console.WriteLine(0); return; } else if (input == 2) {...
using System; using System.Linq; namespace AtCoderBeginnerContest178 { class Program { static readonly int DIV = (int)Math.Pow(10, 9) + 7; static void Main(string[] args) { var input = long.Parse(Console.ReadLine()); if (input == 1) { Console.WriteLine(0); return; } else if (input == 2) {...
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]]
8
229
2
using System; namespace C { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); long MOD = 1000000007; long a10 = 1; long a9 = 1; long a8 = 1; for (int i = 0; i < N; i++) { a10 *= 10; a10 %= MOD; a9 *= 9; a9 %= MOD; a8 *= 8...
using System; namespace C { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); long MOD = 1000000007; long a10 = 1; long a9 = 1; long a8 = 1; for (int i = 0; i < N; i++) { a10 *= 10; a10 %= MOD; a9 *= 9; a9 %= MOD; a8 *= 8...
[["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 132], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
124
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace D { class Program { const long r = 1000000007; static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); long[] A = new long[N + 1]; A[1] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace D { class Program { const long r = 1000000007; static void Main(string[] args) { string line = Console.ReadLine(); int N = int.Parse(line); long[] A = new long[N < 6 ? 6 : N + 1...
[["+", 39, 224, 225, 226, 0, 41, 15, 16, 17, 18], ["+", 39, 224, 225, 226, 0, 41, 15, 16, 12, 203], ["+", 0, 227, 39, 224, 225, 226, 0, 41, 0, 101], ["+", 0, 227, 39, 224, 225, 226, 0, 41, 64, 203], ["+", 0, 227, 39, 224, 225, 226, 0, 41, 0, 102], ["+", 39, 224, 225, 226, 0, 41, 75, 16, 31, 22]]
8
171
6
using System; using static System.Console; namespace abc178 { class Program { static int keyNum = (int)1e9 + 7; static void Main() { var s = int.Parse(ReadLine()); WriteLine(Redistribution(s)); } static int Redistribution(int s) { int[] facts = null; int[] revFacts = null; var total = 0L; ...
using System; using static System.Console; namespace abc178 { class Program { static int keyNum = (int)1e9 + 7; static void Main() { var s = int.Parse(ReadLine()); WriteLine(Redistribution(s)); } static int Redistribution(int s) { int[] facts = null; int[] revFacts = null; var total = 0L; ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
506
2
using System; using static System.Math; using System.Linq; using System.Text; using System.Collections; using System.Collections.Generic; namespace AtCoder { class Program { static void Main(string[] args) { var N = ReadLineInt(); var pmax = long.MinValue; var pmin = long.MaxValue; var mmax = long.Mi...
using System; using static System.Math; using System.Linq; using System.Text; using System.Collections; using System.Collections.Generic; namespace AtCoder { class Program { static void Main(string[] args) { var N = ReadLineInt(); var pmax = long.MinValue; var pmin = long.MaxValue; var mmax = long.Mi...
[["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]]
8
451
2
using System; using System.Collections; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Threading.Tasks; class Program { // Main static void Main(string[] args) { //読み込む int N = int.Parse(Console.ReadLine()); l...
using System; using System.Collections; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Threading.Tasks; class Program { // Main static void Main(string[] args) { //読み込む int N = int.Parse(Console.ReadLine()); l...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["+", 0, 198, 0, 200, 0, 212, 0, 241, 0, 22]]
8
249
6
using System; using System.Linq; namespace AtCoderBeginnerContest178 { class Program { static void Main(string[] args) { var input = int.Parse(Console.ReadLine()); var dist = new int[input]; var rDist = new int[input]; var max = (int)Math.Pow(10, 9); for (var i = 0; i < input; i++) { var ...
using System; using System.Linq; namespace AtCoderBeginnerContest178 { class Program { static void Main(string[] args) { var input = int.Parse(Console.ReadLine()); var dist = new int[input]; var rDist = new int[input]; var max = (int)Math.Pow(10, 9); for (var i = 0; i < input; i++) { var ...
[["-", 0, 11, 12, 16, 31, 16, 31, 16, 31, 22], ["-", 0, 11, 12, 16, 31, 16, 31, 16, 17, 33]]
8
182
2
using System; using System.Collections; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); long[] xdash = new long[N]; long[] ydash = new long[N]; long[] x = new long[N]; long[] y = new long[N]; long[]...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); long[] xdash = new long[N]; long[] ydash = new long[N]; long[] x = new long[N]; long[] y = new long[N]; long[]...
[["-", 0, 200, 0, 212, 0, 16, 12, 204, 205, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 204, 205, 22]]
8
730
2
using System; using System.Collections.Generic; namespace ConsoleApp1 { class ABC178F { // https://atcoder.jp/contests/abc178/tasks/abc178_f const long m = 1000000007; static int[] A = new int[200001]; static int[] B = new int[200001]; static int[] CA = new int[200001]; static int[] CB = new int[200001];...
using System; using System.Collections.Generic; namespace ConsoleApp1 { class ABC178F { // https://atcoder.jp/contests/abc178/tasks/abc178_f const long m = 1000000007; static int[] A = new int[200001]; static int[] B = new int[200001]; static int[] CA = new int[200001]; static int[] CB = new int[200001];...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
8
378
4
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading; internal partial class Solver { public void Run() { var n = ni(); var m = ni(); var adj = Enumerab...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading; internal partial class Solver { public void Run() { var n = ni(); var m = ni(); var adj = Enumerab...
[["+", 0, 218, 8, 230, 3, 4, 0, 28, 0, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 38], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 35]]
8
2,462
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static System.Math; using System.Text; using System.Threading; using System.Globalization; using System.Runtime.CompilerServices; using Library; namespace Program { public static class ProblemD { static bool SAIKI = false; st...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using static System.Math; using System.Text; using System.Threading; using System.Globalization; using System.Runtime.CompilerServices; using Library; namespace Program { public static class ProblemD { static bool SAIKI = false; st...
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
4,097
2
using System; namespace AtCoderProblems { class MainClass { public static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int d = int.Parse(str[0]); int t = int.Parse(str[1]); int s = int.Parse(str[2]); if (d / s > t) { Console.WriteLine("No"); } else { C...
using System; namespace AtCoderProblems { class MainClass { public static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); var d = double.Parse(str[0]); var t = double.Parse(str[1]); var s = double.Parse(str[2]); if (d / s > t) { Console.WriteLine("No"); } else ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
111
12
using System; using System.Linq; namespace DontbeLate { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' ').Select(int.Parse).ToList(); var D = input[0]; var T = input[1]; var S = input[2]; if ((D / S) <= T) { Console.WriteLine("Yes"); } else { ...
using System; using System.Linq; namespace DontbeLate { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' ').Select(double.Parse).ToList(); var D = input[0]; var T = input[1]; var S = input[2]; if (Math.Ceiling(D / S) <= T) { Console.WriteLine("Yes");...
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 0, 131], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 141, 22]]
8
111
5
using System; namespace QuestionA { class Program { static void Main(string[] args) { var inputs = Console.ReadLine().Split(); var kyori = int.Parse(inputs[0]); var time = int.Parse(inputs[1]); var speed = int.Parse(inputs[2]); if (kyori / speed <= time) { Console.WriteLine("Yes"); } e...
using System; namespace QuestionA { class Program { static void Main(string[] args) { var inputs = Console.ReadLine().Split(); var kyori = double.Parse(inputs[0]); var time = double.Parse(inputs[1]); var speed = double.Parse(inputs[2]); if (kyori / speed <= time) { Console.WriteLine("Yes")...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
105
6
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp2 { class Program { static void Main(string[] args) { var input = Input( Console.ReadLine().Split(' ').Select(n => int.Parse(n)).ToArray()); Console.WriteLine((input.d <= input.t * input.s) ? "Yes" : "no"); } ...
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp2 { class Program { static void Main(string[] args) { var input = Input( Console.ReadLine().Split(' ').Select(n => int.Parse(n)).ToArray()); Console.WriteLine((input.d <= input.t * input.s) ? "Yes" : "No"); } ...
[["-", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]]
8
134
2
using System; namespace Example03 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int d = int.Parse(input[0]); int t = int.Parse(input[1]); int s = int.Parse(input[2]); if ((d / s) <= t) Console.WriteLine("Yes"); else Console.Wr...
using System; namespace Example03 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); float d = int.Parse(input[0]); float t = int.Parse(input[1]); float s = int.Parse(input[2]); if ((d / s) <= t) Console.WriteLine("Yes"); else Cons...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
108
6
using System; namespace ConsoleApp1 { class ABC117A { static void Main(string[] args) { var DTS = Console.ReadLine().Split(); int D = Int32.Parse(DTS[0]); int T = Int32.Parse(DTS[1]); int S = Int32.Parse(DTS[2]); // Dメートル、T分後、分速Sメートル if (D <= T * S * 60) { Console.WriteLine("Yes"); ...
using System; namespace ConsoleApp1 { class ABC117A { static void Main(string[] args) { var DTS = Console.ReadLine().Split(); int D = Int32.Parse(DTS[0]); int T = Int32.Parse(DTS[1]); int S = Int32.Parse(DTS[2]); // Dメートル、T分後、分速Sメートル if (D <= T * S) { Console.WriteLine("Yes"); } el...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 48], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
8
108
2
using System; using System.Linq; class Program { static void Main() { int[] input = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(input[0] < input[1] * input[2] ? "Yes" : "No"); } }
using System; using System.Linq; class Program { static void Main() { int[] input = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(input[0] <= input[1] * input[2] ? "Yes" : "No"); } }
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19]]
8
73
2
using System; using static System.Console; class A { static void Main() { var a = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); if (a[0] > a[1] * a[2]) { WriteLine("No"); } else { WriteLine("No"); } } }
using System; using static System.Console; class A { static void Main() { var a = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); if (a[0] > a[1] * a[2]) { WriteLine("No"); } else { WriteLine("Yes"); } } }
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
78
2
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(" "); var D = int.Parse(input[0]); var T = int.Parse(input[1]); var S = int.Parse(inp...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(" "); var D = int.Parse(input[0]); var T = int.Parse(input[1]); var S = int.Parse(inp...
[["-", 0, 57, 15, 16, 31, 213, 63, 214, 205, 22], ["-", 0, 57, 15, 16, 31, 213, 63, 214, 0, 131], ["-", 0, 57, 15, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 57, 15, 16, 31, 213, 3, 4, 0, 24], ["-", 0, 57, 15, 16, 31, 213, 3, 4, 0, 25]]
8
140
5
using System; namespace Test { class Program { static void Main(string[] args) { string[] n = Console.ReadLine().Split(' '); int d = int.Parse(n[0]); int t = int.Parse(n[1]); int s = int.Parse(n[2]); float inTime = d / s; Console.WriteLine(inTime <= t ? "Yes" : "No"); } } }
using System; namespace Test { class Program { static void Main(string[] args) { string[] n = Console.ReadLine().Split(' '); float d = float.Parse(n[0]); float t = float.Parse(n[1]); float s = float.Parse(n[2]); float inTime = d / s; Console.WriteLine(inTime <= t ? "Yes" : "No"); } } }
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
103
12
using System; namespace late { class Program { static void Main(string[] args) { int D, T, S; string inD0 = Console.ReadLine(); string[] cngD0 = inD0.Split(' '); D = int.Parse(cngD0[0]); T = int.Parse(cngD0[1]); S = int.Parse(cngD0[2]); float Proc = D / S; if (Proc <= T) { Co...
using System; namespace late { class Program { static void Main(string[] args) { int D, T; string inD0 = Console.ReadLine(); string[] cngD0 = inD0.Split(' '); D = int.Parse(cngD0[0]); T = int.Parse(cngD0[1]); float S = int.Parse(cngD0[2]); float Proc = D / S; if (Proc <= T) { ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 0, 21], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
124
3
using System; class Program { static void Main(string[] args) { string[] sp = Console.ReadLine().Split(' '); int d = int.Parse(sp[0]); int t = int.Parse(sp[1]); int s = int.Parse(sp[2]); if (d / s <= t) Console.WriteLine("Yes"); else Console.WriteLine("No"); } }
using System; class Program { static void Main(string[] args) { string[] sp = Console.ReadLine().Split(' '); float d = int.Parse(sp[0]); float t = int.Parse(sp[1]); float s = int.Parse(sp[2]); if (d / s <= t) Console.WriteLine("Yes"); else Console.WriteLine("No"); } }
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
102
6
using System; using System.Collections.Generic; using System.Linq; namespace KCLC { class Program { static void Main() { string[] Input = Console.ReadLine().Split(); int Kyori = int.Parse(Input[0]); int Jikan = int.Parse(Input[1]); int Hayasa = int.Parse(Input[2]); if (Kyori / Hayasa <= Jikan) { ...
using System; using System.Collections.Generic; using System.Linq; namespace KCLC { class Program { static void Main() { string[] Input = Console.ReadLine().Split(); double Kyori = double.Parse(Input[0]); int Jikan = int.Parse(Input[1]); double Hayasa = double.Parse(Input[2]); if (Kyori / Hayasa <...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
122
8
using System; class Program { static void Main(string[] args) {    string a = Console.ReadLine(); //標準入力 string[] aa = a.Split(' '); int D = int.Parse(aa[0]); int T = int.Parse(aa[1]); int S = int.Parse(aa[2]); bool test = false; double time = D / S; test = (double)T >= time; if...
using System; class Program { static void Main(string[] args) {    string a = Console.ReadLine(); //標準入力 string[] aa = a.Split(' '); int D = int.Parse(aa[0]); int T = int.Parse(aa[1]); int S = int.Parse(aa[2]); bool test = false; double time = (double)D / (double)S; test = (double)T...
[["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 25], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 0, 25]]
8
138
6
using System; using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; namespace AtCoder177 { class Program { static void Main(string[] args) { QA(); } static void QA() { string[] splited = Console.ReadLine().Split(' '); in...
using System; using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; namespace AtCoder177 { class Program { static void Main(string[] args) { QA(); } static void QA() { string[] splited = Console.ReadLine().Split(' '); in...
[["-", 15, 23, 0, 16, 31, 213, 63, 214, 205, 22], ["-", 15, 23, 0, 16, 31, 213, 63, 214, 0, 131], ["-", 15, 23, 0, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 28, 0, 41, 15, 23, 0, 16, 12, 22], ["+", 0, 28, 0, 41, 15, 23, 0, 16, 12, 22]]
8
150
5
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Math; using static System.Console; using static exMath; using static exReadLine; class Program { static void Main(string[] args) { int D, T, S; intReadLine(out D, out T, out S)...
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Math; using static System.Console; using static exMath; using static exReadLine; class Program { static void Main(string[] args) { int D, T, S; intReadLine(out D, out T, out S)...
[["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 24], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 25]]
8
847
3
using System; using System.Collections.Generic; using System.Linq; public static class Solution { public static void Main() { var vals = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); var D = vals[0]; var T = vals[1]; var S = vals[1]; if (D >= T * S) { Console.WriteLine("Yes");...
using System; using System.Collections.Generic; using System.Linq; public static class Solution { public static void Main() { var vals = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); var D = vals[0]; var T = vals[1]; var S = vals[2]; if (D <= T * S) { Console.WriteLine("Yes");...
[["-", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 212, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19]]
8
111
4
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Numerics; class Util { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { int[] DTS = ria(); string ans = "No"; if (DTS[...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Numerics; class Util { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { int[] DTS = ria(); string ans = "No"; if (DTS[...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 48]]
8
539
4
using System; using System.Linq; namespace A { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int D = int.Parse(s[0]); int T = int.Parse(s[1]); int S = int.Parse(s[2]); string ans; if (D / S <= T) ans = "Yes"; else ans = "No"; ...
using System; using System.Linq; namespace A { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int D = int.Parse(s[0]); int T = int.Parse(s[1]); int S = int.Parse(s[2]); string ans; if ((double)D / S <= (double)T) ans = "Yes"; else ...
[["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 24], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 25], ["+", 8, 196, 0, 57, 15, 16, 12, 74, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 12, 74, 39, 199], ["+", 8, 196, 0, 57, 15, 16, 12, 74, 0, 25]]
8
115
6
using System; using System.Linq; using System.Collections.Generic; using System.Numerics; namespace ABC177 { class Program { static void Main(string[] args) { var DTS = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (DTS[0] / DTS[2] <= DTS[1]) Console.WriteLine("Yes"); else Consol...
using System; using System.Linq; using System.Collections.Generic; using System.Numerics; namespace ABC177 { class Program { static void Main(string[] args) { var DTS = Console.ReadLine().Split().Select(double.Parse).ToArray(); if (Math.Ceiling(DTS[0] / DTS[2]) <= DTS[1]) Console.WriteLine("Yes"); ...
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 0, 131], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 141, 22], ["+", 0, 57, 15, 16, 31, 213, 3, 4, 0, 24], ["+", 0, 57, 15, 16, 31, 213, 3, ...
8
99
7
using System; using System.Linq; namespace ConsoleApp68 { class Program { static void Main(string[] args) { // var ret = 0; var l = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); var ret = l[0] / l[2] > l[1] ? "No" : "Yes"; Console.WriteLine(ret); } } }
using System; using System.Linq; namespace ConsoleApp68 { class Program { static void Main(string[] args) { // var ret = 0; var l = Console.ReadLine().Split(' ').Select(double.Parse).ToArray(); var ret = l[0] / l[2] > l[1] ? "No" : "Yes"; Console.WriteLine(ret); } } }
[["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]]
8
88
2
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { int[] arr = Console.ReadLine() .Trim() .Split(' ') .Select(hogehoge => int.Parse(hogehoge)) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { decimal[] arr = Console.ReadLine() .Trim() .Split(' ') .Select(hogehoge => decimal.Pa...
[["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199], ["+", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199]]
8
120
6
using System; using System.Linq; using System.Collections.Generic; namespace Sample { class Sample { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int D = int.Parse(str[0]); int T = int.Parse(str[1]); int S = int.Parse(str[2]); if ((D / S) <= T) { Console.Wr...
using System; using System.Linq; using System.Collections.Generic; namespace Sample { class Sample { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); double D = double.Parse(str[0]); double T = double.Parse(str[1]); double S = double.Parse(str[2]); if ((D / S) <= T) ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
124
12
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace atcoder { public class Program { public static void Main(string[] args) { var buffer = Console.ReadLine().Split(); var D = float.Parse(buffer[0]); var T = float.Parse(buffer[1]); var S = float.Parse...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace atcoder { public class Program { public static void Main(string[] args) { var buffer = Console.ReadLine().Split(); var D = float.Parse(buffer[0]); var T = float.Parse(buffer[1]); var S = float.Parse...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22]]
8
120
2
using System; using System.Collections.Generic; using System.Text; class Program { static void Main(string[] args) { string[] input = Read(); int d = int.Parse(input[0]); int t = int.Parse(input[1]); int s = int.Parse(input[2]); Write(d > t * s ? "Yes" : "No"); } static string[] Read() { re...
using System; using System.Collections.Generic; using System.Text; class Program { static void Main(string[] args) { string[] input = Read(); int d = int.Parse(input[0]); int t = int.Parse(input[1]); int s = int.Parse(input[2]); Write(d <= t * s ? "Yes" : "No"); } static string[] Read() { r...
[["-", 3, 4, 0, 28, 0, 41, 15, 16, 17, 47], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 19]]
8
138
2
using System; using System.Linq; namespace AtCoderTutorial { public class AtCoder175 { public static void Main(string[] args) { long[] inputs = Console.ReadLine().Split(' ').Select(_ => long.Parse(_)).ToArray(); long X = inputs[0]; long K = inputs[1]; long D = inputs[2]; long min = X; ...
using System; using System.Linq; namespace AtCoderTutorial { public class AtCoder175 { public static void Main(string[] args) { long[] inputs = Console.ReadLine().Split(' ').Select(_ => long.Parse(_)).ToArray(); long X = inputs[0]; long K = inputs[1]; long D = inputs[2]; long min = X; ...
[["+", 31, 23, 0, 16, 31, 213, 63, 214, 205, 22], ["+", 31, 23, 0, 16, 31, 213, 63, 214, 0, 131], ["+", 31, 23, 0, 16, 31, 213, 63, 214, 141, 22], ["+", 31, 23, 0, 16, 31, 213, 3, 4, 0, 24], ["+", 31, 23, 0, 16, 31, 213, 3, 4, 0, 25]]
8
282
5
using System; using System.Linq; class Test { static void Main(string[] args) { var inputs = System.Console.ReadLine() .Split(' ') .Select(s => long.Parse(s)) .ToArray(); long X = Math.Abs(inputs[0]); long K = inputs[1]; long D = inputs[2...
using System; using System.Linq; class Test { static void Main(string[] args) { var inputs = System.Console.ReadLine() .Split(' ') .Select(s => long.Parse(s)) .ToArray(); long X = Math.Abs(inputs[0]); long K = inputs[1]; long D = inputs[2...
[["-", 0, 57, 15, 16, 31, 16, 31, 74, 39, 199], ["+", 8, 196, 0, 57, 15, 16, 31, 74, 39, 199], ["+", 0, 57, 15, 16, 31, 74, 51, 23, 0, 24], ["+", 0, 57, 15, 16, 31, 74, 51, 23, 0, 25]]
8
176
4
using System; using System.Linq; namespace AtCoderBeginnerContest175 { class Program { static void Main(string[] args) { var inputs = Console.ReadLine().Split().Select(x => long.Parse(x)).ToList(); var current = inputs[0]; var n = inputs[1]; var d = inputs[2]; var number = Math.Abs(current) / d...
using System; using System.Linq; namespace AtCoderBeginnerContest175 { class Program { static void Main(string[] args) { var inputs = Console.ReadLine().Split().Select(x => long.Parse(x)).ToList(); var current = inputs[0]; var n = inputs[1]; var d = inputs[2]; // 0をまたぐ移動になるまでの数 var number =...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 0, 131], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]]
8
240
7
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 x = cin.nextLong(); var k = cin.nextLong(); v...
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 x = cin.nextLong(); var k = cin.nextLong(); v...
[["+", 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
669
5
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; namespace contest_Csharp { class Program { public static (long m, long s)[,] dp; static void Main(string[] args) { checked { var sw = new System.IO.StreamWriter( Console.OpenStandar...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; namespace contest_Csharp { class Program { public static (long m, long s)[,] dp; static void Main(string[] args) { checked { var sw = new System.IO.StreamWriter( Console.OpenStandar...
[["-", 0, 287, 0, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 287, 0, 196, 0, 57, 15, 16, 17, 20], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22]]
8
247
4
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class MainClass { static void Main() { var xkd = ReadLine().Split().Select(long.Parse).ToArray(); var X = xkd[0]; var K = xkd[1]; var D = xkd[2]; long d = X / D; long ans...
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class MainClass { static void Main() { var xkd = ReadLine().Split().Select(long.Parse).ToArray(); var X = Abs(xkd[0]); var K = xkd[1]; var D = xkd[2]; long d = X / D; lo...
[["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 24], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25]]
8
153
3