buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Security.Policy; class Program { const string Yes = "Yes"; const string No = "No"; const char White = '.'; const char Black = '#'; ...
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Security.Policy; class Program { const string Yes = "Yes"; const string No = "No"; const char White = '.'; const char Black = '#'; ...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 1...
8
512
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); input = Console.ReadLine().Split(' '); int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = int.Parse(input[i]);...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int n = int.Parse(input[0]); input = Console.ReadLine().Split(' '); int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = int.Parse(input[i]);...
[["-", 0, 7, 15, 16, 31, 16, 31, 74, 0, 24], ["-", 0, 7, 15, 16, 31, 16, 31, 74, 39, 199], ["-", 0, 7, 15, 16, 31, 16, 31, 74, 0, 25], ["-", 64, 196, 0, 7, 15, 16, 31, 16, 17, 48], ["-", 0, 7, 15, 16, 31, 16, 12, 74, 0, 24], ["-", 0, 7, 15, 16, 31, 16, 12, 74, 39, 199], ["-", 0, 7, 15, 16, 31, 16, 12, 74, 0, 25], ["-",...
8
322
using System; public class Hello { public static void Main() { var line = System.Console.ReadLine().Split(' '); long A = long.Parse(line[0]); long V = long.Parse(line[1]); line = System.Console.ReadLine().Split(' '); long B = long.Parse(line[0]); long W = long.Parse(line[1]); long T = long...
using System; public class Hello { public static void Main() { var line = System.Console.ReadLine().Split(' '); long A = long.Parse(line[0]); long V = long.Parse(line[1]); line = System.Console.ReadLine().Split(' '); long B = long.Parse(line[0]); long W = long.Parse(line[1]); long T = long...
[["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 31, 22]...
8
184
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.Design; using System.Globalization; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threadin...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.Design; using System.Globalization; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threadin...
[["-", 0, 195, 8, 196, 0, 1, 0, 213, 63, 22], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 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, 2...
8
231
using System; namespace Sample { class Sample { static void Main(string[] args) { string[] str1 = Console.ReadLine().Split(' '); string[] str2 = Console.ReadLine().Split(' '); long T = long.Parse(Console.ReadLine()); long A = long.Parse(str1[0]); long V = long.Parse(str1[1]); long B = long.Pa...
using System; using System.Numerics; namespace Sample { class Sample { static void Main(string[] args) { string[] str1 = Console.ReadLine().Split(' '); string[] str2 = Console.ReadLine().Split(' '); long T = long.Parse(Console.ReadLine()); long A = long.Parse(str1[0]); long V = long.Parse(str1[1]...
[["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 234, 22], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 0, 131], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198,...
8
166
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { double[] AV = Array.ConvertAll(Console.ReadLine().Split(), double.Parse); double A = AV[0]; double V = AV[1]; double[] BW = Array.ConvertAll(Console.ReadLine()...
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { double[] AV = Array.ConvertAll(Console.ReadLine().Split(), double.Parse); double A = AV[0]; double V = AV[1]; double[] BW = Array.ConvertAll(Console.ReadLine()...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["-", 0, 195, 8, 196, 0, 57, 15...
8
226
using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var a = long.Parse(line[0]); var av = long.Parse(line[1]); line = Console.ReadLine().Trim().Split(' '); var b = long.Parse(line[0]); var bv = long.Parse(line[1]); var t = l...
using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var a = long.Parse(line[0]); var av = long.Parse(line[1]); line = Console.ReadLine().Trim().Split(' '); var b = long.Parse(line[0]); var bv = long.Parse(line[1]); var t = l...
[["-", 64, 37, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 0, 57, 64, 37, 0, 213, 3, 4, 0, 21], ["+", 0, 213, 3, 4, 0, 28, 0, 241, 0, 33], ["+", 0, 57, 64, 37, 0, 213, 3, 4, 0, 21], ["+", 0, 213, 3, 4, 0, 28, 0, 241, 0, 22], ["+", 64, 37, 0, 213, 3, 4, 0, 28, 0, 22]]
8
207
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Console.Out.Flush(); } ...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; class Program { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Console.Out.Flush(); } ...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 57, 15, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 57, 15, 16, 31, 213, 63, 214...
8
1,147
using System; class Program { static void Main(string[] args) { string S = Console.ReadLine(); long A = long.Parse(S.Split()[0]); long V = long.Parse(S.Split()[1]); S = Console.ReadLine(); long B = long.Parse(S.Split()[0]); long W = long.Parse(S.Split()[1]); long T = long.Parse(Console.Re...
using System; class Program { static void Main(string[] args) { string S = Console.ReadLine(); long A = long.Parse(S.Split()[0]); long V = long.Parse(S.Split()[1]); S = Console.ReadLine(); long B = long.Parse(S.Split()[0]); long W = long.Parse(S.Split()[1]); long T = long.Parse(Console.Re...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 72], ["-", 0, 57, 15, 16, 31, 16, 12, 23, 0, 24], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, ...
8
157
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionB { 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 QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
[["-", 8, 196, 0, 57, 75, 196, 0, 57, 0, 121], ["+", 75, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 75, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 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...
8
250
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kaijouB { class Program { static void Main(string[] args) { string[] AV = Console.ReadLine().Split(' '); string[] BW = Console.ReadLine().Split(' '); long T = long.Parse(Console.R...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kaijouB { class Program { static void Main(string[] args) { string[] AV = Console.ReadLine().Split(' '); string[] BW = Console.ReadLine().Split(' '); long T = long.Parse(Console.R...
[["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 2...
8
223
using System; using System.Linq; using System.Security.Principal; class Program { public static void Main() { double[] killer = Console.ReadLine().Split(' ').Select(i => double.Parse(i)).ToArray(); double[] hinder = Console.ReadLine().Split(' ').Select(i => double.Parse(i)).ToArray(); dou...
using System; using System.Linq; using System.Security.Principal; class Program { public static void Main() { double[] killer = Console.ReadLine().Split(' ').Select(i => double.Parse(i)).ToArray(); double[] hinder = Console.ReadLine().Split(' ').Select(i => double.Parse(i)).ToArray(); dou...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 64, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 64, 196, 0, 1, 0, 213, 63, 214, 0, ...
8
212
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { var line = ReadLine().Split(' ').Select(value => long.Parse(value)).ToArray(); var a = line[0]; var ...
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { var line = ReadLine().Split(' ').Select(value => long.Parse(value)).ToArray(); var a = line[0]; var ...
[["-", 0, 57, 15, 16, 31, 16, 31, 16, 17, 109], ["-", 0, 57, 15, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 17, ...
8
221
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; using MethodImplAttribute = System.Runtime.Compi...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; using MethodImplAttribute = System.Runtime.Compi...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 241, 0, 111], ["-", 0, 195, 8, 196, 0, 57, 15, 241, 0, 22], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 8, 196, 0, 57, 64, 1, 0, 213, 63, 22], ["-", 0, 57, 64, 1, 0, 213, 3, 4, 0, 24], ["-...
8
981
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using System.Globalization; using System.Collections; namespace Atcoder { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; public readon...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using System.Globalization; using System.Collections; namespace Atcoder { public class CPair<T, U> : IComparable where T : IComparable<T> { public readonly T Item1; public readon...
[["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 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, 196, 0, 7, 8, 196, 0, 1, 0, 35], ["+",...
8
11,962
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; static class Program { const int mod = (int)1e9 + 7; const double eps = 1e-...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; static class Program { const int mod = (int)1e9 + 7; const double eps = 1e-...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 198, 0, 200, 0, 212, 0, 230, 0, 228], ["-", 0, 198, 0, 200, 0, 212, 0, 230, 39, 22], ["-", 0, 200, 0, 212, 0, 230, 3, 4, 0, 24], ["-", 0, 200, 0, 212, 0, 230, 3, 4, 0, ...
8
1,210
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Diagnostics; using System.Numerics; using static System.Console; using static System.Convert; using static System.Math; using static Template; using Pi = Pair<int, i...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Diagnostics; using System.Numerics; using static System.Console; using static System.Convert; using static System.Math; using static Template; using Pi = Pair<int, i...
[["-", 0, 195, 8, 196, 0, 1, 0, 223, 0, 22], ["-", 0, 195, 8, 196, 0, 1, 0, 223, 0, 68], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-"...
8
1,918
using System; using System.Linq; using System.Collections.Generic; using Debug = System.Diagnostics.Trace; using SB = System.Text.StringBuilder; using static System.Math; using static Program.IO.Scanner; using Number = System.Int64; using System.Numerics; #region IO namespace Program.IO { using System.IO; using Sys...
using System; using System.Linq; using System.Collections.Generic; using Debug = System.Diagnostics.Trace; using SB = System.Text.StringBuilder; using static System.Math; using static Program.IO.Scanner; using Number = System.Int64; using System.Numerics; #region IO namespace Program.IO { using System.IO; using Sys...
[["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 98], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 1...
8
991
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionB { 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 QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
[["+", 0, 1, 0, 213, 63, 214, 205, 214, 205, 22], ["+", 0, 1, 0, 213, 63, 214, 205, 214, 0, 131], ["+", 0, 1, 0, 213, 63, 214, 205, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 2...
8
111
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ForATCODER { public class Program { /// template /// /// String[] s = Console.ReadLine().Split(' '); /// long[] nk = s2larray(Console.ReadLine().Split(' ')); /// public static void Main(string[] args)...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ForATCODER { public class Program { /// template /// /// String[] s = Console.ReadLine().Split(' '); /// long[] nk = s2larray(Console.ReadLine().Split(' ')); /// public static void Main(string[] args)...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32...
8
1,047
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); // 文字列の入力 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); // 文字列の入力 ...
[["+", 0, 57, 75, 57, 75, 57, 75, 57, 0, 95], ["+", 75, 57, 75, 1, 0, 11, 31, 204, 205, 22], ["+", 75, 1, 0, 11, 31, 204, 206, 207, 0, 70], ["+", 0, 11, 31, 204, 206, 207, 0, 28, 0, 22], ["+", 75, 1, 0, 11, 31, 204, 206, 207, 0, 73], ["+", 75, 57, 75, 1, 0, 11, 0, 202, 0, 32], ["+", 75, 57, 75, 1, 0, 11, 12, 252, 0, 10...
8
269
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Question { public class QuestionB { public static void Main(string[] args) { var t = Console.ReadLine(); var result = new Char[t.Length]; for (int i = 0; i < t.Length; i++) { if (t[i] == '?') { ...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Question { public class QuestionB { public static void Main(string[] args) { var t = Console.ReadLine(); var result = new Char[t.Length]; for (int i = 0; i < t.Length; i++) { if (t[i] == '?') { ...
[["-", 64, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["-", 64, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 200, 0, 212, 0, 41, 15, 16, 31, 22], ["-", 0, 200, 0, 212, 0, 41, 15, 16, 17, 60], ["-", 0, 41, 15, 16, 12, 16, 31, 214, 205, 22], ["-", 0, 41, 15, 16, 12, 16, 31, 21...
8
518
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static void Main(string[] args) { // var NX = Console.ReadLine().Split(' ').Select(x => // long.Parse(x)).ToArray(); var N = long.Parse(Consol...
using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Linq; using E = System.Linq.Enumerable; class Program { static void Main(string[] args) { // var NX = Console.ReadLine().Split(' ').Select(x => // long.Parse(x)).ToArray(); var N = long.Parse(Consol...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 64, 1, 0, 11, 12, 213, 63, 214, 205, 22], ["-", 64, 1, 0, 11, 12, 213, 63, 214, 0, 131], ["-", 64, 1, 0, 11, 12, 213, 63, 214, 141, 22], ["-", 64, 1, 0, 11, 12, 213, 3, 4, 0, 24], ["-", 0, 11, 12, 213, 3, 4, 0, 28, 0, 2...
8
230
using System; using System.Text; using System.Collections.Generic; using System.Linq; public class HelloWorld { static long A; static long B; static long C; static long D; static long N; static SortedDictionary<long, long> dic; static public void Main() { var T = long.Parse(Console.ReadLine()); ...
using System; using System.Text; using System.Collections.Generic; using System.Linq; public class HelloWorld { static long A; static long B; static long C; static long D; static long N; static SortedDictionary<long, long> dic; static public void Main() { var T = long.Parse(Console.ReadLine()); ...
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 74, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 74, 39, 199], ["+", 0, 28, 0, 74, 51, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 74, 51, 213, 63, 214, 0, 131], ["+", 0, 28, 0, 74, 51, 213, 63, 214, 141, 22], ["+", 0, 28, 0, 74, 51, 213, 3, 4, 0, 24], ["+",...
8
521
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; public class FastQueue<T> { private T[] _nodes; private int _head; private int _tail; public i...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; public class FastQueue<T> { private T[] _nodes; private int _head; private int _tail; public i...
[["+", 8, 201, 0, 263, 54, 55, 0, 220, 39, 199], ["+", 8, 201, 0, 263, 54, 55, 0, 220, 141, 22], ["+", 0, 263, 54, 55, 0, 220, 0, 212, 0, 32], ["+", 0, 263, 54, 55, 0, 220, 0, 212, 0, 203], ["-", 0, 11, 12, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 11, 12, 227, 39, 224, 225, 226, 0, 22], ["+", 0, 57, 64, 196, 0, 1, 0, ...
8
2,038
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; class Queue<T> { T[] nodes; public int Head; public int Tail; public int Count = 0; public ...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using E = System.Linq.Enumerable; class Queue<T> { T[] nodes; public int Head; public int Tail; public int Count = 0; public ...
[["-", 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], ["-", 12, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["-", 12, 213, 63, 214, 205, 213, 63, 214, 0, 131], ["-", 12, 213, 63, 214, 205, 213, 63, ...
8
2,024
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using static util; using P = pair<int, int>; class Program { static void Main(string[] args) { var sw = new Stream...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using static util; using P = pair<int, int>; class Program { static void Main(string[] args) { var sw = new Stream...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
1,983
using System; using System.Collections.Generic; class Program { static void Main() { String[] arr = Console.ReadLine().Split(); int N; N = int.Parse(arr[0]); if (new List<int> { 2, 4, 5, 7, 9 }.Contains(N % 10)) Console.WriteLine("hon"); else if (new List<int> { 1, 4, 6, 8 }.Contains(N % 10...
using System; using System.Linq; class Program { static void Main() { String[] arr = Console.ReadLine().Split(); int N; N = int.Parse(arr[0]); if (new int[] { 2, 4, 5, 7, 9 }.Contains(N % 10)) Console.WriteLine("hon"); else if (new int[] { 0, 1, 4, 6, 8 }.Contains(N % 10)) Console.Wri...
[["-", 0, 208, 0, 231, 141, 232, 234, 232, 141, 22], ["-", 36, 36, 0, 208, 0, 231, 141, 232, 0, 131], ["-", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["-", 15, 213, 63, 214, 205, 230, 39, 236, 141, 22], ["-", 63, 214, 205, 230, 39, 236, 237, 238, 0, 18], ["-", 63, 214...
8
132
using System; using System.Linq; public class Program { public static void Main(string[] args) { var input = args[0]; switch (input.Last()) { case '2': case '4': case '5': case '7': case '9': Console.WriteLine("hon"); break; case '0': case '1': case '6': case '...
using System; using System.Linq; namespace AtCoder.Question { public class QuestionA { public static void Main(string[] args) { var input = Console.ReadLine(); switch (input.Last()) { case '2': case '4': case '5': case '7': case '9': Console.WriteLine("hon"); ...
[["+", 36, 36, 36, 36, 0, 208, 0, 209, 0, 256], ["+", 36, 36, 0, 208, 0, 209, 141, 232, 234, 22], ["+", 36, 36, 0, 208, 0, 209, 141, 232, 0, 131], ["+", 36, 36, 0, 208, 0, 209, 141, 232, 141, 22], ["+", 36, 36, 0, 208, 0, 209, 8, 201, 0, 45], ["-", 36, 36, 36, 36, 0, 208, 0, 235, 141, 22], ["+", 0, 208, 0, 209, 8, 201,...
8
130
using System; public class test { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int val = n % 10; Console.WriteLine("" + val); switch (val) { case 2: case 4: case 5: case 7: case 9: Console.WriteLine("hon"); break; case 0: case 1: ...
using System; public class test { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int val = n % 10; switch (val) { case 2: case 4: case 5: case 7: case 9: Console.WriteLine("hon"); break; case 0: case 1: case 6: case 8: Cons...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 3, 4, 0, 28, 0, 16, 31, 5, 0, 62], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ["-", 8, 1...
8
119
using System; using System.Linq; namespace abc168_v { class Program { static void Main(string[] args) { var input = Console.ReadLine(); var n = Convert.ToInt32(input.Last()); switch (n) { case 3: System.Console.WriteLine("bon"); break; case 0: case 1: case 6: case 8: ...
using System; using System.Collections.Generic; using System.Linq; namespace abc168_v { class Program { static void Main(string[] args) { var input = Console.ReadLine(); var n = Convert.ToInt32(input.Last().ToString()); switch (n) { case 3: System.Console.WriteLine("bon"); break; case...
[["+", 0, 208, 0, 231, 141, 232, 234, 232, 141, 22], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 0, 131], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 234, 22], ["+", 0, 213, 63, 214, 20...
8
112
using System; class Ans { public static void Main(string[] args) { string n = Console.ReadLine(); char n_last = n[-1]; string str = ""; switch (n_last) { case '2': case '4': case '5': case '7': case '9': str = "hon"; break; case '0': case '1': case '6': ...
using System; using System.Linq; namespace AtCoder { class Program { public static void Main(string[] args) { string n = Console.ReadLine(); char n_last = n[n.Length - 1]; string str = "unassigned"; switch (n_last) { case '2': case '4': case '5': case '7': case '9': str = "...
[["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 234, 22], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 0, 131], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 0, 256], ["+", 36, 36, 36, 36, 0, 208, ...
8
134
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { var cs = Console.ReadLine().ToCharArray(); var c = cs[cs.Length - 1]; var ret = "bon"; if ((new int[] { 2, 4, 5, 7, 9 }).Contains(c)) { ret = "hon"; } if ((new int[] { 0...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { var cs = Console.ReadLine().ToCharArray(); var c = Int32.Parse(cs[cs.Length - 1].ToString()); var ret = "bon"; if ((new int[] { 2, 4, 5, 7, 9 }).Contains(c)) { ret = "hon"; }...
[["+", 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], ["+", 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...
8
133
using System; using System.Collections.Generic; using System.Globalization; namespace cswork { class Program { public Program() {} Scanner cin; const int MAXIN = 1024; bool[] used = new bool[MAXIN]; int[] perm = new int[MAXIN]; List<int[]> permList = new List<int[]>(); void Omame() { cin = new Sca...
using System; using System.Collections.Generic; using System.Globalization; namespace cswork { class Program { public Program() {} Scanner cin; const int MAXIN = 1024; bool[] used = new bool[MAXIN]; int[] perm = new int[MAXIN]; List<int[]> permList = new List<int[]>(); void Omame() { cin = new Sca...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 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...
8
440
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace ABC169C { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(); var A = long.Parse(s[0]); var B = double.Parse(s[1...
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; using System.Numerics; namespace ABC169C { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(); var A = decimal.Parse(s[0]); ...
[["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 234, 22], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 0, 131], ["+", 36, 36, 0, 208, 0, 231, 141, 232, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 231, 0, 35], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 21...
8
723
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Contest.C { static class Program { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = ...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Contest.C { static class Program { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = ...
[["-", 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, 22], ["+", 205, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 205, 213, 63, 214, 205, 213, 63, 214, 141, 22], ["-", 8, 201, 0, ...
8
480
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Contest.C { static class Program { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = ...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Contest.C { static class Program { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 74...
8
497
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionC { 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 QuestionC { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
[["+", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 70], ["+", 0, 11, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 1, 0, 11, 31, 204, 206, 207, 0, 73], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 11, 12, 213, 63, 214, 205, 204, 205, 22], ["+", 12, 213, 63, 214, 205, 204, 206, ...
8
157
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; public static class P { public static void Ma...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; public static class P { public static void Ma...
[["-", 0, 28, 0, 16, 31, 16, 12, 74, 0, 24], ["-", 0, 28, 0, 16, 31, 16, 12, 74, 0, 25], ["-", 0, 16, 31, 16, 12, 74, 51, 23, 0, 24], ["-", 51, 23, 0, 16, 31, 213, 63, 214, 205, 199], ["+", 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], ["+"...
8
121
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using static Input; using static Util; class Program { static long A; static double B; static void INPUT() { A = NextLong(); B = NextDouble(); } static void OUT() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using static Input; using static Util; class Program { static long A; static string B; static void INPUT() { A = NextLong(); B = NextString(); } static void OUT() { ...
[["-", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["+", 0, 235, 8, 201, 0, 124, 0, 198, 39, 199], ["-", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 200, 0, 212, 0, 213, 63, 214, ...
8
448
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderB { static void Main() { var sc = new Scanner(); long a = sc.NextLong(); double b = sc.NextDouble(); int c = (int)(b * 100); long answer = a * c / 100; Console.WriteLine(answer); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderB { static void Main() { var sc = new Scanner(); long a = sc.NextLong(); string b = sc.Next(); string[] bs = b.Split('.'); int c = int.Parse(bs[0]) * 100 + int.Parse(bs[1]); long answer...
[["-", 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, 141, 22], ["+", 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, 201, 0, 195, 8, 196, 0, 197,...
8
380
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 = ReadLine().Split(' '); var a = long.Parse(n[0]); var b = (long)(double.Parse(n[1]) * ...
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 = ReadLine().Split(' '); var a = long.Parse(n[0]); var b = decimal.Parse(n[1]); if ...
[["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 25], ["-", 0, 200, 0, 212, 0, 74, 51, 23, 0, 24], ["-", 51, 23, 0, 16, 31, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 51, 23, 0, 16, 31, 213, 3, 4, 0...
8
132
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); long A = TOL(input[0]); double B = TOD(input[1]); double res = A * B; Console.WriteLine(Math.Floor(res)); } static int TOI(string ...
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); long A = TOL(input[0]); double B = TOD(input[1]); decimal res = (decimal)A * (decimal)B; Console.WriteLine(Math.Floor(res)); } sta...
[["-", 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, 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, ...
8
155
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace ClassLibrary1 { public class ListNode { public int val; public ListNode next; public ListNode(int x) { val = x; } } class StringComparator2 : IComparer<string> { int IComparer<string>.Compare(string a, string b)...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace ClassLibrary1 { public class ListNode { public int val; public ListNode next; public ListNode(int x) { val = x; } } class StringComparator2 : IComparer<string> { int IComparer<string>.Compare(string a, string b)...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 39, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48], ["-", 0, 212, 0, 16, 12, 23, 0, 16, 31,...
8
2,194
using System; class Program { static void Main(string[] args) { int i; string[] strInput = Console.ReadLine().Split(' '); Int64 a = Int64.Parse(strInput[0]); double b = double.Parse(strInput[1]); Int64 b2 = (Int64)(b * 100); Int64 result = a * b2; String strResult = result.ToString(); ...
using System; class Program { static void Main(string[] args) { string[] strInput = Console.ReadLine().Split(' '); Int64 a = Int64.Parse(strInput[0]); Int64 b = Int64.Parse(strInput[1].Remove(1, 1)); Int64 result = a * b; String strResult = result.ToString(); String strResult2; if (resu...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 22], ["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["-", 0, 200, 0, 212, 0, 213, 3...
8
137
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut...
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut...
[["-", 8, 201, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 8, 201, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 0, 195, 8, 196, 0, 37, 0, 74, 39, 199], ["+", 0, 195, 8, 196, 0, 37, 0, 74, 0, 25], ["+", 8, 196, 0, 37, 0, 74, 51, 23, 0, 24], ["+", 51, 23, 0, 16, 31, 16, 31, 74, 0, 24], ["+", 8, 196, 0, 37, 0, 74, 51, 23, 0, 25], ...
8
2,522
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["+", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 74...
8
497
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace ABC { class ABC169C { const string FILE = @"..\..\data.txt"; static void Main(string[] args) { #if DEBUG Console.SetIn(new StreamReader(FILE)); #endif var line = C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace ABC { class ABC169C { const string FILE = @"..\..\data.txt"; static void Main(string[] args) { #if DEBUG Console.SetIn(new StreamReader(FILE)); #endif var line = C...
[["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 17, 48], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 25], ["-", 31, 16, 12, 16, 31, 23, 0, 16, 17, 85], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 17, 48], ["-", 0, 16, 12, 16, 31, 23, 0, 16, 17, 85], [...
8
291
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); double a = double.Parse(input[0]); double b = double.Parse(input[1]); long result = (long)(Math.Floor(a * b)); Console.WriteLine(result); } }
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); decimal a = decimal.Parse(input[0]); decimal b = decimal.Parse(input[1]); long result = (long)(a * b); Console.WriteLine(result); } }
[["-", 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], ["-", 0, 200, 0, 212, 0, 74, 51, 23, 0, 24], ["-", 0, 74, 51, 23, 0, 213, 63, 214, 205, 22], ["-", 0, 74, 51, 23, 0, 213, 6...
8
86
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using static System.Console; using static System.Math; namespace AtCoder_1 { class Program { static void Main(string[] args) { var N = CinDAr(); Cout((decimal)Floor(N[0] * N[1])); C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using static System.Console; using static System.Math; namespace AtCoder_1 { class Program { static void Main(string[] args) { var N = CinAr(); var A = (decimal)S2L(N[0]); var B = (d...
[["-", 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, 1, 0, 213, 63, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 3...
8
1,268
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.nextLong(); var b = cin.nextDouble(); ...
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.nextLong(); var b = cin.nextDouble(); ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 24], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 39, 199], ["-", 0, 198, 0, 200, 0, 212, 0, 74, 0, 25], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214...
8
587
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.IO; class readint { public readint(out int i) { i = int.Parse(Console.ReadLine()); } public readint(out int a, out int b) { int[] sp = Console....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.IO; class readint { public readint(out int i) { i = int.Parse(Console.ReadLine()); } public readint(out int a, out int b) { int[] sp = Console....
[["-", 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], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["-", 8, 196, 0, 197, 0, 19...
8
4,504
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // input // ulong A; float B; args = Console.ReadLine().Split(); A = ulong.Parse(args[0]); B = float.Parse(args[1]); Console.Write(((ulong)(A * B)...
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // input // decimal A; decimal B; args = Console.ReadLine().Split(); A = decimal.Parse(args[0]); B = decimal.Parse(args[1]); Console.Write((ulong)...
[["-", 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, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["-", 0, 213, 63, 214, 205, 23, 0, 74, 0, 24], ["-", 63, 214, 205, 23, 0, 74, 51, 23, 0, 25], ["-", 0, 28, 0, 213, 63, 214, 205...
8
103
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass { public const long Giri = 1000000007; public const long DpInf = 99999999999999; public static void Main(string[] args) { var p = Input(); Console.WriteLine( Math.Floor(double.Parse(p[0])...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass { public const long Giri = 1000000007; public const long DpInf = 99999999999999; public static void Main(string[] args) { var p = Input(); decimal a1 = decimal.Parse(p[0]); decimal a2 = decim...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["-", 0, 213, 63, 214, 205, 213, 63, 214, 0, 131], ["-", 0, 213, 63, 214, 205, 213, 6...
8
289
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.Contests.ABC169 { /// <summary> /// /// </summary> static class C { static void Main(string[] args) { var a = NextLong(); var b = double.Parse(Next()); Console.WriteLine(Math.Floor(a * b)); } #regio...
using System; using System.Linq; using System.Collections.Generic; namespace AtCoder.Contests.ABC169 { /// <summary> /// /// </summary> static class C { static void Main(string[] args) { // var a = NextLong(); // var b = (long)(double.Parse(Next())*100); var a = decimal.Parse(Next()); ...
[["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 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
525
using System; using System.Collections.Generic; class Program { static Dictionary<long, long> slist = new Dictionary<long, long>(); static void Main() { String[] inline = Console.ReadLine().Split(' '); long n = long.Parse(inline[0]); long ans = 0; var list = plen(n); foreach (long l in list) {...
using System; using System.Collections.Generic; class Program { static Dictionary<long, long> slist = new Dictionary<long, long>(); static void Main() { String[] inline = Console.ReadLine().Split(' '); long n = long.Parse(inline[0]); long ans = 0; var list = plen(n); foreach (long l in list) {...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45],...
8
243
using System; namespace ABC169D { class Program { static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); int x = 0; long d = 2; long z = 0; while (d * d <= n) { if (n % d != 0) d++; z = d; while (n % z == 0) { x += 1; n /= z; ...
using System; namespace ABC169D { class Program { static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); int x = 0; long d = 2; long z = 0; while (d * d <= n) { if (n % d != 0) d++; z = d; while (n % z == 0) { x += 1; n /= z; ...
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 79], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["+", 8, 196, 0, 57, 64, 1, 0, 223, 0, 22], ...
8
122
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppTest { class DivGame { static void Main(string[] args) { ulong num = ulong.Parse(Console.ReadLine()); // ulong num = 4; ulong checkNum = (ulong)Math.Sqrt(num); int ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppTest { class DivGame { static void Main(string[] args) { ulong num = ulong.Parse(Console.ReadLine()); ulong checkNum = (ulong)Math.Sqrt(num); int methodNum = 0; if ...
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 75, 196, 0, 7, 26, 11, 12, 23, 0, 24], ["+", 0, 7, 26, 11, 12, 23, 0, 16, 31, 203], ["+", 0, 7, 26, 11, 12, 23, 0, 16, 17, 72], ["+", 26, 11, 12, 23, 0, 16, 12, 16, 31, 22], ["+", 26, 11, 12, 23, 0, 16, 12, 16, 17, 109], ["+", 75,...
8
189
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace D { class Program { static void Main(string[] args) { string line = Console.ReadLine(); long N = long.Parse(line); var PrimeFactor = new List<long>(); // 素因数分解する long sq...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace D { class Program { static void Main(string[] args) { string line = Console.ReadLine(); long N = long.Parse(line); var PrimeFactor = new List<long>(); // 素因数分解する long sq...
[["-", 0, 57, 15, 16, 31, 16, 31, 214, 205, 22], ["-", 0, 57, 15, 16, 31, 16, 31, 214, 0, 131], ["-", 0, 57, 15, 16, 31, 16, 31, 214, 141, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["-", 8, 196, 0, 57, 15, 16, 12, 16, ...
8
299
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC169D { class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); long num = N; long[] z = new long[20]; int sousa = 0; int x = 0; i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC169D { class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); long num = N; long[] z = new long[20]; int sousa = 0; int x = 0; i...
[["-", 64, 196, 0, 7, 15, 16, 31, 16, 17, 48], ["-", 64, 196, 0, 7, 15, 16, 31, 16, 12, 22], ["-", 0, 57, 64, 196, 0, 7, 15, 16, 17, 19], ["-", 0, 57, 64, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 57, 64, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 57, 64, 196, 0, 7, 15, 16, 12, 203], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203], [...
8
270
using System; using System.Linq; using System.Collections.Generic; namespace ConsoleApp1 { public class Class { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var C = new List<long>(); while (N != 1) { while (N % 2 == 0) { C.Add(2); N /= 2; } f...
using System; using System.Linq; using System.Collections.Generic; namespace ConsoleApp1 { public class Class { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var C = new List<long>(); while (N != 1) { while (N % 2 == 0) { C.Add(2); N /= 2; } f...
[["+", 0, 7, 15, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 7, 15, 16, 12, 213, 63, 214, 0, 131], ["+", 0, 7, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 0, 7, 15, 16, 12, 213, 3, 4, 0, 24], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 17, 85], ["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 22], ["+", 0, 7, 15, 16, 12, 213, 3, 4, 0, 25], ...
8
254
using System; using static System.Console; using static Atcoder_Template_NetCore3.MyUtil; using System.Collections.Generic; using System.Linq; using System.Text; using System.Numerics; using System.Threading.Tasks; using System.IO; namespace Atcoder_Template_NetCore3 { class Program { private const string sosuData =...
using System; using static System.Console; using static Atcoder_Template_NetCore3.MyUtil; using System.Collections.Generic; using System.Linq; using System.Text; using System.Numerics; using System.Threading.Tasks; using System.IO; namespace Atcoder_Template_NetCore3 { class Program { private const string sosuData =...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 0, 131], ["+", 0, 57, 15, 16, 12, 213, 63, 214, 141, 22], ["+", 0, 57, 15, 16, 12, 213, 3, 4, 0, 24], ["+", 15, 16, 12, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 57, 15, 16, 12, 213, 3, 4, 0...
8
1,760
using static System.Math; using System.Collections.Generic; using System.Linq; using System; public class Hello { public static void Main() { var n = long.Parse(Console.ReadLine().Trim()); if (n == 1) { Console.WriteLine(0); goto exit; } if (IsPrime(n)) { Console.WriteLine(1); ...
using static System.Math; using System.Collections.Generic; using System.Linq; using System; public class Hello { public static void Main() { var n = long.Parse(Console.ReadLine().Trim()); if (n == 1) { Console.WriteLine(0); goto exit; } if (IsPrime(n)) { Console.WriteLine(1); ...
[["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 98], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 16, 12, 16, 12, 204, 205, 22], ["+", 15, 16, 12, 16, 12, 204, 206, 207, 0, 70], ["+", 12, 16, 12, 204, 206, 207, 0, 28, 0, 22], ["+", 15, 16, 12, 16, 12, 204, 206...
8
539
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { var n = long.Parse(ReadLine()); var sqrtN = Sqrt(n); var factors = new Dictionary<long, long>(); if (n ...
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder { class Program { static void Main(string[] args) { var n = long.Parse(ReadLine()); var sqrtN = Sqrt(n); var factors = new Dictionary<long, long>(); if (n ...
[["-", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 79], ...
8
270
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; namespace MyProject { class Program { static void Main(string[] args) { #if Local var sw = new Stopwatch(); sw.Start(); Console.SetIn(new StreamReader("input.in")); #endif var solver = new S...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; namespace MyProject { class Program { static void Main(string[] args) { #if Local var sw = new Stopwatch(); sw.Start(); Console.SetIn(new StreamReader("input.in")); #endif var solver = new S...
[["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 210, 8, 196, 0, 57, 0...
8
285
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc169D { public static void Main() { var n = long.Parse(Console.ReadLine()); List<int> factors = Factorize(n); var max = factors.Max(); int m = 3; int x = 1; var s = new int[max + 1]; for (int i ...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc169D { public static void Main() { var n = long.Parse(Console.ReadLine()); List<int> degree = Factorize(n); if (!degree.Any()) { Console.WriteLine(0); return; } var max = degree.Max(); ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 241, 0, 1...
8
247
using System; using System.Linq; class Program { static readonly long INF = 100100100100; static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); long count = 0; if (IsPrime(n)) { Console.WriteLine(1); return; } for (long i = 2; i * i < n; i++) { if (!IsPrim...
using System; using System.Linq; class Program { static readonly long INF = 100100100100; static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); long count = 0; if (IsPrime(n)) { Console.WriteLine(1); return; } for (long i = 2; i * i < n; i++) { if (!IsPrim...
[["-", 0, 57, 64, 196, 0, 197, 0, 198, 39, 199], ["-", 64, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 85], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 90], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 31,...
8
236
using System; using System.Collections.Generic; using System.Windows; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { public class Program { private static long mod = 1000000007; static void Main(string[] args) { var n = Read().Long(); var now = n; var count = 0...
using System; using System.Collections.Generic; using System.Windows; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { public class Program { private static long mod = 1000000007; static void Main(string[] args) { var n = Read().Long(); var now = n; var count = 0...
[["+", 64, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 6...
8
822
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...
[["+", 8, 196, 0, 7, 8, 196, 0, 52, 0, 89], ["+", 8, 196, 0, 7, 8, 196, 0, 52, 0, 24], ["+", 8, 196, 0, 52, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 52, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 52, 15, 16, 31, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 52, 15, 16, 17, 60], ["+", 0, 7, 8, 196, 0, 52, 15, 16, 12, 203], ["+",...
8
1,485
using System; using System.Collections.Generic; using System.Linq; class MainClass { static void Main() { int N = int.Parse(Console.ReadLine()); var min = new double[N]; var max = new double[N]; for (int i = 0; i < N; i++) { var r = Console.ReadLine().Split().Select(int.Parse).ToArray(); ...
using System; using System.Collections.Generic; using System.Linq; class MainClass { static void Main() { int N = int.Parse(Console.ReadLine()); var min = new int[N]; var max = new int[N]; for (int i = 0; i < N; i++) { var r = Console.ReadLine().Split().Select(int.Parse).ToArray(); min[i...
[["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["-", 0, 16, 31, 16, 31, 213, 63, 214, 0, 131], ["-", 0, 16, 31, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 28, 0, 16, 31, 16, 31, 23, 0, 24], ["-", 3, 4, 0, 28, 0, 16, 31, 1...
8
220
using System; using System.Collections.Generic; using System.Linq; public class Solution { static double Median(long[] x) { x = x.OrderBy(xx => xx).ToArray(); var n = x.Length; if (n % 2 == 0) { return (x[n / 2 - 1] + x[n / 2]) / 2; } else { return x[n / 2]; } } public static voi...
using System; using System.Collections.Generic; using System.Linq; public class Solution { static long Median2(long[] x) { x = x.OrderBy(xx => xx).ToArray(); var n = x.Length; if (n % 2 == 0) { return (x[n / 2 - 1] + x[n / 2]); } else { return x[n / 2] * 2; } } public static void...
[["-", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["-", 0, 208, 0, 235, 8, 201, 0, 195, 141, 22], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 141, 22], ["-", 0, 57, 64, 196, 0, 37, 0, 16, 17, 85], ["-", 0, 57, 64, 196, 0, 37, 0, 16, 12, 203], ["+", 0, 57, 75, 196, 0, 37, 0, 16, ...
8
245
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using static System.Console; using static System.Math; namespace Atcoder { class Program { static StreamWriter sw = new StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["-", 8, 196, 0, 57, 75, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 57, 75, 196, 0, 57, 0, 24], ["-", 75, 196, 0, 57, 15, 16, 31, 23, 0, 24], ["-", 0, 57, 15, 16, 31, 23, 0, 16, 31, 22], ["-", 0, 57, 15, 16, 31, 23, 0, 16, 17, 98], ["-", 15, 16, 31, 23, 0, 16, 12, 241, 0, 111], ["-", 15, 16, 31, 23, 0, 16, 12, 241, 0, 22],...
8
767
using System; using System.Linq; using System.Collections.Generic; namespace ConsoleApp1 { public class Class { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var A = new long[N]; var B = new long[N]; for (var i = 0; i < N; i++) { var AB = RL<long>(); A[i] = AB[...
using System; using System.Linq; using System.Collections.Generic; namespace ConsoleApp1 { public class Class { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var A = new long[N]; var B = new long[N]; for (var i = 0; i < N; i++) { var AB = RL<long>(); A[i] = AB[...
[["-", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["-", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["+", 206, 207, 0, 28, 0, 16, 31, 23, 0, 24], ["+", 206, 207, 0, 28, 0, 16, 31, 23, 0, 25], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 12, 204, 206, 207, 0, 28, 0, 16, 12, 203], ["-", 0, 198, 0, 200, 0, 212, 0, ...
8
455
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace AtTest.ABC_169 { class E { static void Main(string[] args) { var sw = new System.IO.StreamWriter(OpenStandardOutput()) { AutoFlush = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace AtTest.ABC_169 { class E { static void Main(string[] args) { var sw = new System.IO.StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["-", 0, 197, 0, 198, 39, 224, 39, 224, 39, 199], ["+", 0, 197, 0, 198, 39, 224, 39, 224, 39, 199], ["-", 0, 212, 0, 227, 39, 224, 39, 224, 39, 199], ["+", 0, 212, 0, 227, 39, 224, 39, 224, 39, 199], ["-", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["-", 0, 195, 8, 196, 0, 197,...
8
530
using System; using System.Collections.Generic; using System.Linq; namespace ProblemE { class Program { class Range { public int Max { get; set; } public int Min { get; set; } public Range(int max, int min) { Max = max; Min = min; } } static void Main() { int N = int.Parse(Conso...
using System; using System.Collections.Generic; using System.Linq; namespace ProblemE { class Program { class Range { public int Max { get; set; } public int Min { get; set; } public Range(int max, int min) { Max = max; Min = min; } } static void Main() { int N = int.Parse(Conso...
[["-", 75, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 75, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 212, 0, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 200, 0, 212, 0, 16, 12, 204, 205, 22], ["+", 0, 212, 0, 16, 12, 204, 206, 207, 0, 70], ["+", 12, 204, 206, 207, 0, 28,...
8
335
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Numerics; using System.Threading; using static System.Math; using static System.Array; using static AtCoder.IO_ShortCut; using static AtCoder.Tool; using static AtCoder.ModInt; namespace AtCoder { class A...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Numerics; using System.Threading; using static System.Math; using static System.Array; using static AtCoder.IO_ShortCut; using static AtCoder.Tool; using static AtCoder.ModInt; namespace AtCoder { class A...
[["-", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 124, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 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, 57, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 206, 207, 0, 28, 0, 16, 31,...
8
1,848
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder169 { public class ProgramE { static void Main(string[] args) { var inputNumStr = Console.ReadLine(); var inputNum = int.Parse(inputNumStr); var aList = new List<long>(); var bList = new List<long>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder169 { public class ProgramE { static void Main(string[] args) { var inputNumStr = Console.ReadLine(); var inputNum = int.Parse(inputNumStr); var aList = new List<long>(); var bList = new List<long>...
[["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 24], ["-", 0, 7, 8, 196, 0, 57, 15, 241, 0, 111], ["-", 0, 57, 15, 241, 0, 213, 63, 214, 205, 22], ["-", 0, 57, 15, 241, 0, 213, 63, 214, 0, 131], ["-", 0, 57, 15, 241, 0, 213, 63, 214, 141, 22], ["-", 0, 57, 15, 241, 0, 213, 3, 4, 0, 24...
8
375
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 ProblemE { 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 ProblemE { static bool SAIKI = false; st...
[["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 48], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 12, 203], ["+", 0, 212, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 16, 31, 214, 205, 204, 205, 22], ["+", 12, 16, 31, 214, 205, 204, 206, 207, 0, 70], ["+", 205, 204, 206, 207, 0, 28, 0, 1...
8
1,597
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class MainClass { static readonly long mod = 998244353; static void Main() { var NS = ReadLine().Split().Select(int.Parse).ToArray(); int N = NS[0]; int S = NS[1]; var A = ReadL...
using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class MainClass { static readonly long mod = 998244353; static void Main() { var NS = ReadLine().Split().Select(int.Parse).ToArray(); int N = NS[0]; int S = NS[1]; var A = ReadL...
[["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35], ["+", 0, 1, 0, 11, 31, 204, 205, 204, 205, 22], ["+", 0, 11, 31, 204, 205, 204, 206, 207, 0, 70], ["+", 205, 204, 206, 207, 0, 28, 0, 16, 31, 22], ["+", 205, 204, 206, 207, 0, 28, 0, 16, 17,...
8
286
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, ' ')); } ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["-", 0, 212, 0, 16, 31, 23, 0, 16, 31, 22], ["-", 0, 212, 0, 16, 31, 23, 0, 16, 17, 33], ["-", 0, 200, 0, 212, 0, 16, 31, 23, 0, 25], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72...
8
478
using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); int[] n = cin.ArrayInt(5); int a = n[0] * 60 + n[1]; int b = n[2] * 60 + n[3]; int c = (b - a) / n[4...
using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text; namespace ChokudaiScanner { class MainClass { static void Main() { Scanner cin = new Scanner(); int[] n = cin.ArrayInt(5); int a = n[0] * 60 + n[1]; int b = n[2] * 60 + n[3]; int c = b - a; C...
[["-", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["-", 0, 200, 0, 212, 0, 16, 31, 23, 0, 25], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 85], ["-", 0, 200, 0, 212, 0, 16, 12, 204, 205, 22], ["-", 0, 212, 0, 16, 12, 204, 206, 207, 0, 70], ["-", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 212, 0, 16, 12, 204, 206, 207,...
8
512
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Abc { public class QuestionA { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); int[] HMHMK = ...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Abc { public class QuestionA { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); int[] HMHMK = ...
[["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 31, 203], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 17, 48], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 1...
8
200
namespace ConsoleAtCoder { class Program { static void Main(string[] args) { int.TryParse(args[0].Trim(), out var h1); int.TryParse(args[1].Trim(), out var m1); int.TryParse(args[2].Trim(), out var h2); int.TryParse(args[3].Trim(), out var m2); int.TryParse(args[4].Trim(), out var k); var ...
namespace ConsoleAtCoder { class Program { static void Main(string[] args) { var inputs = System.Console.ReadLine().Split(' '); int.TryParse(inputs[0].Trim(), out var h1); int.TryParse(inputs[1].Trim(), out var m1); int.TryParse(inputs[2].Trim(), out var h2); int.TryParse(inputs[3].Trim(), out...
[["+", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 63, 214, 205, 213, 63, 214, 205, 214, 205, 22], ["+", 63, 214, 205, 213, 63, 214, 205, 214, 0, 131], ["+", 63, 214, 205, 213, 63, 214, 205, 214, 141, 22], ["+", 0, 213, 63...
8
215
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // https://atcoder.jp/contests/abc141/tasks/abc141_a public class QuestionA { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { A...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class QuestionA { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); // 文...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 22], ["-", 0, 212, 0, 41, 15, 23, 0, 16, 17, 18], ["-", 0, 212, 0, 41, 15, 23, 0, 16, 12, 22], ["+", 0, 212, 0, 41, 15, 23, 0, 16, 17, 19], ["+", 0, 212, 0, 41, 15, 23, 0, 16, 12, 203], ["-", 0, 41, 75, 213, 63, 214, 205, 23, 0, 24...
8
227
using System; using System.Collections.Generic; using System.Globalization; using System.IO.Pipes; 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 Scanner() { ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO.Pipes; 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 Scanner() { ...
[["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 17, 33], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17...
8
476
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.ArrayLong(5); var hm = (a[2] - a[0]) * 60...
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.ArrayLong(5); var hm = (a[2] - a[0]); ...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 48], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 57, 64, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8...
8
612
using System; class Program { static void Main(string[] args) { int k = int.Parse(Console.ReadLine()); string s = Console.ReadLine(); if (s.Length <= k) { Console.WriteLine(s); } else { Console.WriteLine(s.Substring(0, k)); } } }
using System; class Program { static void Main(string[] args) { int k = int.Parse(Console.ReadLine()); string s = Console.ReadLine(); if (s.Length <= k) { Console.WriteLine(s); } else { Console.WriteLine($"{s.Substring(0, k)}" + "..."); } } }
[["+", 3, 4, 0, 28, 0, 16, 31, 283, 0, 295], ["+", 0, 28, 0, 16, 31, 283, 0, 284, 0, 45], ["+", 0, 28, 0, 16, 31, 283, 0, 284, 0, 46], ["+", 3, 4, 0, 28, 0, 16, 31, 283, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 3, 4, 0, 28, 0, 16, 12, 5, 0, 62], ["+", 3, 4, 0, 28, 0, 16, 12, 5, 0, 222]]
8
75
using System; namespace ABC168B { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); int b; string s = Console.ReadLine(); b = s.Length; if (a < b) { for (int i = 0; i < a; i++) { Console.Write(s.Substring(i, 1)); } } else C...
using System; namespace ABC168B { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); int b; string s = Console.ReadLine(); b = s.Length; if (a < b) { for (int i = 0; i < a; i++) { Console.Write(s.Substring(i, 1)); } Console.Write(".....
[["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["-", 75, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["-", 0, 213...
8
109
using System; public class Program { public static void Main() { int K = int.Parse(Console.ReadLine()); string S = Console.ReadLine(); string ans = ""; Console.WriteLine(S.Length); if (S.Length > K) { for (int i = 0; i < K; i++) { ans = ans + S[i]; } ans = ans + "..."; ...
using System; public class Program { public static void Main() { int K = int.Parse(Console.ReadLine()); string S = Console.ReadLine(); string ans = ""; if (S.Length > K) { for (int i = 0; i < K; i++) { ans = ans + S[i]; } ans = ans + "..."; Console.WriteLine(ans); ...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 213, 3, 4, 0, 28, 0, 214, 205, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 214, 0, 131], ["-", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22], ["-...
8
114
using System; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace Atcoder_Answer { class Program { const Int32 mod = 1000000007; static void Main(string[] args) { string S = ReadLine(); int K =...
using System; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace Atcoder_Answer { class Program { const Int32 mod = 1000000007; static void Main(string[] args) { int K = int.Parse(ReadLine()); ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["-", 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, 201, 0, 195, 8, 196, 0, 197, 0, 3...
8
502
using System; using System.Linq; namespace atcoder.abc168.c { class Program { static void Main(string[] args) { int[] inputArray = getIntParams(); double A = (double)inputArray[0]; double B = (double)inputArray[1]; double H = (double)inputArray[2]; double M = (double)inputArray[3]; ...
using System; using System.Linq; namespace atcoder.abc168.c { class Program { static void Main(string[] args) { int[] inputArray = getIntParams(); double A = (double)inputArray[0]; double B = (double)inputArray[1]; double H = (double)inputArray[2]; double M = (double)inputArray[3]; ...
[["-", 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, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 0, 195, 8, 196, 0, 1, 0, 11, 31, ...
8
404
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) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int h = int.Par...
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) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int h = int.Par...
[["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25]...
8
215
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class Util { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { double[] ABHM = rda(); double A = ABHM[0]; double B = ABHM[1]; dou...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class Util { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { double[] ABHM = rda(); double A = ABHM[0]; double B = ABHM[1]; dou...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 8, 196, 0, 57, 64, 1, 0, 11, 31, 22], ...
8
628
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int h = int.Parse(input[2]); int m = int.Parse(input[3]); double h_angle = (h * 30) + (m / 2); double m_angle = m * 6;...
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int h = int.Parse(input[2]); int m = int.Parse(input[3]); double h_angle = (h * 30) + (m * 0.5); double m_angle = m * ...
[["-", 0, 212, 0, 16, 12, 23, 0, 16, 17, 85], ["-", 0, 212, 0, 16, 12, 23, 0, 16, 12, 203], ["+", 0, 212, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 212, 0, 16, 12, 23, 0, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], [...
8
169
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); long a = long.Parse(input[0]); long b = long.Parse(input[1]); long h = long.Parse(input[2]); long m = long.Parse(input[3]); Console.WriteLine( Math.Sqrt(Math.Pow(a, 2) + Mat...
using System; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); double a = double.Parse(input[0]); double b = double.Parse(input[1]); double h = double.Parse(input[2]); double m = double.Parse(input[3]); Console.WriteLine(Math.Sqrt( Math...
[["-", 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], ["-", 31, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["-", 31, 16, 31, 23, 0, 16, 31, 23, 0, 25], ["+", 31, 16, 31, 23, 0, 16, 31, ...
8
147
using System; namespace C { class Program { static void Main(string[] args) { var foo = Console.ReadLine().Trim().Split(); var A = Int32.Parse(foo[0]); var B = Int32.Parse(foo[1]); var H = Int32.Parse(foo[2]); var M = Int32.Parse(foo[3]); var mDeg = 6 * M; var hDeg = (30) * H + (0.5 * M)...
using System; namespace C { class Program { static void Main(string[] args) { var foo = Console.ReadLine().Trim().Split(); var A = Int32.Parse(foo[0]); var B = Int32.Parse(foo[1]); var H = Int32.Parse(foo[2]); var M = Int32.Parse(foo[3]); var mDeg = 6 * M; var hDeg = (30) * H + (0.5 * M)...
[["-", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["-", 0, 1, 0, 11, 12, 41, 15, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 41, 15, 16, 17, 20], ["-", 0, 1, 0, 11, 12, 41, 15, 16, 12, 203], ["-", 8, 196, 0, 1, 0, 11, 12, 41, 0, 101], ["-", 0, 1, 0, 11, 12, 41, 64, 16, 31, 22], ["-", 0, 1,...
8
206
using System; using System.Linq; public class ABC168C { private static void Main(string[] args) { var inputs = ReadIntsAsArray(); var a = inputs[0]; var b = inputs[1]; var h = inputs[2]; var m = inputs[3]; var angle = ((h * 60 + m) * 360 / (12 * 60)) - (m * 360 / 60); var answer = CalcTr...
using System; using System.Linq; public class ABC168C { private static void Main(string[] args) { var inputs = ReadDoublesAsArray(); var a = inputs[0]; var b = inputs[1]; var h = inputs[2]; var m = inputs[3]; var angle = ((h * 60 + m) * 360 / (12 * 60)) - (m * 360 / 60); var answer = Cal...
[["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["-", 0, 235, 8, 201, 0, 195, 39, 224, 39, 199], ["+", 0, 235, 8, 201, 0, 195, 39, 224, 39, 199], ["-", 0, 208, 0, 235, 8, 201, 0, 195, 141, 22], ["+", 0, 208, 0, 235, 8, 201, 0, 195, 141, 22], ["-", 0, 28, 0, 218, 8, 213, 63...
8
222
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionC { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionC { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 31, 16, 31, 23, 0, 16, 31, 16, 17, 48], ["-", 31, 16, 31, 23, 0, 16, 31, 16, 12, 203], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 85], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 12, 203], ["-", 31, 16, 31, 23, 0, 16, 12, 16, 17...
8
272
using System; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] arg) { string[] input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); int H = int.Parse(input[2]); int M = int.Parse(input[3]); //長針の位置 ...
using System; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] arg) { string[] input = Console.ReadLine().Split(' '); double a = double.Parse(input[0]); double b = double.Parse(input[1]); double H = double.Parse(input[2]); double M = double.Parse(inpu...
[["-", 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
182
using System; class main { static void Main(string[] args) { string[] read = Console.ReadLine().Split(' '); int A = int.Parse(read[0]); int B = int.Parse(read[1]); int H = int.Parse(read[2]); int M = int.Parse(read[3]); double aAngle = H * 30 + M * 0.5; double bAngle = M * 6; double...
using System; class main { static void Main(string[] args) { string[] read = Console.ReadLine().Split(' '); int A = int.Parse(read[0]); int B = int.Parse(read[1]); int H = int.Parse(read[2]); int M = int.Parse(read[3]); double aAngle = H * 30 + M * 0.5; double bAngle = M * 6; double...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["-", 0, 213, 3, 4, 0, 28, 0, 283, 0, 295], ["-", 3, 4, 0, 28, 0, 283, 0, 284, 0, 45], ["-", 3, 4, 0, 28, 0, 283, 0, 284, 0, 22], ["-", 3...
8
259