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.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Numerics; namespace AtCoderWorkspace { public class Solver { public void Solve() { var cin = new Scanner(); var x = cin.nextInt(); var y = cin.nextInt(); f...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Numerics; namespace AtCoderWorkspace { public class Solver { public void Solve() { var cin = new Scanner(); var x = cin.nextInt(); var y = cin.nextInt(); f...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
8
619
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class C { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Consol...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class C { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); Solve(); Consol...
[["-", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203], ["+", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203]]
8
583
using System; using System.Linq; class IDONTKNOWCSHARP { public static void Main() { string[] values = Console.ReadLine().Split( new string[] { " " }, StringSplitOptions.RemoveEmptyEntries); int X = int.Parse(values[0]); int N = int.Parse(values[1]); int[] nums = Convert(Console.ReadLine()....
using System; using System.Linq; class IDONTKNOWCSHARP { public static void Main() { string[] values = Console.ReadLine().Split( new string[] { " " }, StringSplitOptions.RemoveEmptyEntries); int X = int.Parse(values[0]); int N = int.Parse(values[1]); int[] nums = Convert(Console.ReadLine()....
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 195, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
284
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp2 { class Program { static void Main(string[] args) { int[] input = Console.ReadLine().Split().Select(int.Parse).ToArray(); int X = input[0]; int N = input[1]; if ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp2 { class Program { static void Main(string[] args) { int[] input = Console.ReadLine().Split().Select(int.Parse).ToArray(); int X = input[0]; int N = input[1]; if ...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
197
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, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
278
using System; using System.Linq; using System.Collections.Generic; using System.IO; using static System.Console; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArra...
using System; using System.Linq; using System.Collections.Generic; using System.IO; using static System.Console; namespace atcorder2 { class Program { public static long Read() { return long.Parse(Console.ReadLine()); } public static long[] Reads() { return Console.ReadLine().Split().Select(long.Parse).ToArra...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]]
8
307
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { hoge(); System.Console.ReadLine(); } public static void hoge() { var vars = System.Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var x = vars[0]; var n =...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { hoge(); System.Console.ReadLine(); } public static void hoge() { var vars = System.Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var x = vars[0]; var n =...
[["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]]
8
268
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var XN = Console.ReadLine().Split().Select(e => int.Parse(e)).ToArray(); var X = XN[0]; var N = XN[1]; // Ps配列が空の場合はXを出力して回答とする if (N == 0) { Console.WriteLine(X)...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var XN = Console.ReadLine().Split().Select(e => int.Parse(e)).ToArray(); var X = XN[0]; var N = XN[1]; // Ps配列が空の場合はXを出力して回答とする if (N == 0) { Console.WriteLine(X)...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22]]
8
235
using System; using System.Linq; using System.Collections; using System.Collections.Generic; class Program { static void Main(string[] args) { Program pg = new Program(); Console.WriteLine(pg.Exe()); } public int Exe() { int[] input = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); i...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; class Program { static void Main(string[] args) { Program pg = new Program(); Console.WriteLine(pg.Exe()); } public int Exe() { int[] input = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); i...
[["-", 0, 212, 0, 230, 3, 4, 0, 28, 0, 203], ["+", 0, 212, 0, 230, 3, 4, 0, 28, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]]
8
282
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass { public const long Giri = 1000000007; public const long DpInf = 99999999999999; public static void Main(string[] args) { var p = Input().ToInt(); if (p[1] == 0) { Console.WriteLine(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().ToInt(); if (p[1] == 0) { Console.WriteLine(p[0]); ...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 10, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["+", 10, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]]
8
423
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abcdef { public 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.Abcdef { public class QuestionC { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }...
[["-", 8, 196, 0, 52, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 52, 15, 16, 31, 16, 31, 22]]
8
322
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace ABC170 { using static Ex; public class Solve { public static void Main(string[] args) { new ABC_C(); } } public class ABC_A { public ABC_A() { var x = ReadIntArray(); for (int i = 0; i < x.Length; i++) { ...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace ABC170 { using static Ex; public class Solve { public static void Main(string[] args) { new ABC_C(); } } public class ABC_A { public ABC_A() { var x = ReadIntArray(); for (int i = 0; i < x.Length; i++) { ...
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33]]
8
1,191
using System; namespace ABC170C { class Program { static void Main(string[] args) { string[] strs = Console.ReadLine().Split(); int x = int.Parse(strs[0]); int n = int.Parse(strs[1]); string p = Console.ReadLine(); if (p == "") { Console.WriteLine(x); Console.ReadLine(); return;...
using System; namespace ABC170C { class Program { static void Main(string[] args) { string[] strs = Console.ReadLine().Split(); int x = int.Parse(strs[0]); int n = int.Parse(strs[1]); string p = Console.ReadLine(); if (p == "") { Console.WriteLine(x); Console.ReadLine(); return;...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["-", 8, 196, 0, 57, 15, 16, 12, 241, 0, 33], ["-", 8, 196, 0, 57, 15, 16, 12, 241, 0, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 203]]
8
300
using System; using System.Collections.Generic; using System.Linq; public static class Program { public static void Main() { var data = Console.ReadLine().Split(); var x = int.Parse(data[0]); var n = int.Parse(data[1]); var p = Console.ReadLine() .Split() .Where(s => s...
using System; using System.Collections.Generic; using System.Linq; public static class Program { public static void Main() { var data = Console.ReadLine().Split(); var x = int.Parse(data[0]); var n = int.Parse(data[1]); var p = Console.ReadLine() .Split() .Where(s => s...
[["-", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203], ["+", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203]]
8
159
using System; using System.Collections.Generic; using System.Linq; namespace ABC170C { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); var x = int.Parse(input[0]); var n = int.Parse(input[1]); if (n == 0) { Console.WriteLine(x); } else { v...
using System; using System.Collections.Generic; using System.Linq; namespace ABC170C { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); var x = int.Parse(input[0]); var n = int.Parse(input[1]); if (n == 0) { Console.WriteLine(x); } else { v...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 57, 75, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 57, 75, 196, 0, 7, 15, 16, 12, 203]]
8
243
// Rextester.Program.Main is the entry point for your code. Don't change it. // Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Mai...
// Rextester.Program.Main is the entry point for your code. Don't change it. // Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Mai...
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
339
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; 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....
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; 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....
[["-", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203], ["+", 63, 214, 205, 213, 3, 4, 0, 28, 0, 203]]
8
311
using System; using System.Collections.Generic; using System.Text; namespace ABC0613 { class Program { static void Main(string[] args) { string[] inp = Console.ReadLine().Split(' '); int ans = int.MaxValue; if (inp[1] == "0") { ans = int.Parse(inp[0]); } else { int x = int.Parse(inp[0]); ...
using System; using System.Collections.Generic; using System.Text; namespace ABC0613 { class Program { static void Main(string[] args) { string[] inp = Console.ReadLine().Split(' '); int ans = int.MaxValue; if (inp[1] == "0") { ans = int.Parse(inp[0]); } else { int x = int.Parse(inp[0]); ...
[["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
243
using System; using System.Linq; namespace C { class Program { static void Main(string[] args) { int[] XN = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); if (XN[1] == 0) { System.Console.WriteLine(XN[0]); return; } int[] Ps = Console.ReadLine().Split('...
using System; using System.Linq; namespace C { class Program { static void Main(string[] args) { int[] XN = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); if (XN[1] == 0) { System.Console.WriteLine(XN[0]); return; } int[] Ps = Console.ReadLine().Split('...
[["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]]
8
202
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int[] arr1 = Console.ReadLine().Split(' ').Select(v => int.Parse(v)).ToArray(); int x = arr1[0]; int n = arr1[1]; if (n == 0) { Console.WriteLine(x); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { int[] arr1 = Console.ReadLine().Split(' ').Select(v => int.Parse(v)).ToArray(); int x = arr1[0]; int n = arr1[1]; if (n == 0) { Console.WriteLine(x); ...
[["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 10, 198, 0, 200, 0, 212, 0, 241, 0, 33], ["+", 10, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, ...
8
296
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...
[["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 212, 0, 213, 3, 4, 0, 28, 0, 203]]
8
297
using System; using System.Collections.Generic; using System.Linq; namespace PaizaTest { class Program { static void Main(string[] args) { var XN = Console.ReadLine().Split().Select(int.Parse).ToList(); if (XN[1] == 0) { Console.WriteLine(XN[0]); return; } var p = Console.ReadLine().Split...
using System; using System.Collections.Generic; using System.Linq; namespace PaizaTest { class Program { static void Main(string[] args) { var XN = Console.ReadLine().Split().Select(int.Parse).ToList(); if (XN[1] == 0) { Console.WriteLine(XN[0]); return; } var p = Console.ReadLine().Split...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]]
8
223
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine() .Split() .Select(e => int.Parse(e)) .OrderBy(e => e) ...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine() .Split() .Select(e => int.Parse(e)) .OrderBy(e => e) ...
[["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 72], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203]]
8
290
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine() .Split() .Select(e => int.Parse(e)) .OrderBy(e => e) ...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //入力を保持する var N = int.Parse(Console.ReadLine()); var As = Console.ReadLine() .Split() .Select(e => int.Parse(e)) .OrderBy(e => e) ...
[["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35]]
8
290
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(); } ...
[["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 19]]
8
1,274
using System; namespace ABC170D { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine().Trim()); int max_i = (int)1e6 + 2; int[] x = new int[max_i]; bool[] f = new bool[max_i]; var t = Console.ReadLine().Trim().Split(' '); for (int i = 0; i < N; i++) { x...
using System; namespace ABC170D { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine().Trim()); int max_i = (int)1e6 + 2; int[] x = new int[max_i]; bool[] f = new bool[max_i]; var t = Console.ReadLine().Trim().Split(' '); for (int i = 0; i < N; i++) { x...
[["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 98], ["+", 64, 196, 0, 57, 15, 16, 12, 204, 205, 22], ["+", 0, 57, 15, 16, 12, 204, 206, 207, 0, 70], ["+", 15, 16, 12, 204, 206, 207, 0, 28, 0, 22], ["+", 0, 57, 15, 16, 12, 204, 206, 207, 0, 73]]
8
210
using System; using System.Numerics; using System.Linq; using System.Collections.Generic; using System.Text; using System.Collections; namespace debug { class main { static void Main(string[] args) { //問題クラスを展開 ProgramD a = new ProgramD(); a.main(); //実行する } } class ProgramA { public void main() { ...
using System; using System.Numerics; using System.Linq; using System.Collections.Generic; using System.Text; using System.Collections; namespace debug { class main { static void Main(string[] args) { //問題クラスを展開 ProgramD a = new ProgramD(); a.main(); //実行する } } class ProgramA { public void main() { ...
[["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203]]
8
1,305
// // ABC170D // URL : https://atcoder.jp/contests/abc170/tasks/abc170_d // using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; namespace AtCoder { class ABC170D { public static readonly long MOD_CONST = 1000000007; //(long)Math.Pow(10, 9) + 7; static void ...
// // ABC170D // URL : https://atcoder.jp/contests/abc170/tasks/abc170_d // using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; namespace AtCoder { class ABC170D { public static readonly long MOD_CONST = 1000000007; //(long)Math.Pow(10, 9) + 7; static void ...
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]]
8
1,026
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc170D { public static void Main() { int n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray(); var max = a.Last(); var divisible = new bool[max + 1]; ...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Abc170D { public static void Main() { int n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split(' ').Select(i => int.Parse(i)).ToArray(); var max = a.Max(); var divisible = new bool[max + 1]; ...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22]]
8
216
using System; using System.Collections.Generic; using System.IO; using System.Linq; class Program { #region library static int n = 0; static int m = 0; static int r = 0; static int c = 0; static int x = 0; static int y = 0; static string s = ""; static string[] ss; static long sum = 0; static long ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; class Program { #region library static int n = 0; static int m = 0; static int r = 0; static int c = 0; static int x = 0; static int y = 0; static string s = ""; static string[] ss; static long sum = 0; static long ...
[["-", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 213, 63, 22], ["+", 206, 207, 0, 28, 0, 74, 51, 23, 0, 24], ["+", 206, 207, 0, 28, 0, 74, 51, 23, 0, 25]]
8
1,429
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var result = Calc26Base(N); var sb = new StringBuilder(); foreach (var item in result) { char chr = (char)(item - 1 + ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var result = Calc26Base(N); var sb = new StringBuilder(); foreach (var item in result) { char chr = (char)(item + 'a'...
[["-", 0, 74, 51, 23, 0, 16, 31, 16, 17, 33], ["-", 0, 74, 51, 23, 0, 16, 31, 16, 12, 203], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]]
8
164
using System; using System.Globalization; using System.Threading; using System.Collections.Generic; using System.Linq; namespace atcoder1 { class Program { static void Main(string[] args) { string input = Console.ReadLine(); long n = long.Parse(input); string name = ""; while (n != 0) { char a...
using System; using System.Globalization; using System.Threading; using System.Collections.Generic; using System.Linq; namespace atcoder1 { class Program { static void Main(string[] args) { string input = Console.ReadLine(); long n = long.Parse(input); string name = ""; while (n != 0) { char a...
[["-", 0, 52, 8, 196, 0, 57, 15, 16, 17, 79], ["-", 0, 52, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 12, 203], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 12, 22], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 12, 203], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 12, 203], ...
8
144
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace abc171_c { class Program { static void Main(string[] args) { var N = CIn.ReadInt(); var list = new List<char>(); while (N > 0) { list.Add((char)((N - 1) % 26 + 'a')); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace abc171_c { class Program { static void Main(string[] args) { var N = CIn.ReadLong(); var list = new List<char>(); while (N > 0) { list.Add((char)((N - 1) % 26 + 'a')); ...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22]]
8
450
using System; using System.CodeDom; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Xml.Schema; namespace AtCoder { static class Program_D { class Solver { int ri => ...
using System; using System.CodeDom; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Xml.Schema; namespace AtCoder { static class Program_D { class Solver { int ri => ...
[["-", 8, 201, 0, 195, 39, 236, 237, 238, 0, 199], ["+", 8, 201, 0, 195, 39, 236, 237, 238, 0, 199], ["-", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["-", 0, 213, 3, 4, 0, 28, 0, 241...
8
1,706
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { static class Program_D { class Solver { int ri => sc.Integer(); long rl => sc.Long(); dou...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace AtCoder { static class Program_D { class Solver { int ri => sc.Integer(); long rl => sc.Long(); dou...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 33], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203]]
8
1,478
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, 235, 8, 201, 0, 195, 39, 224, 39, 199], ["+", 0, 235, 8, 201, 0, 195, 39, 224, 39, 199], ["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]]
8
254
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder171 { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var ans = string.Empty; while (true) { var i = n % 26; ans = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder171 { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var ans = string.Empty; while (true) { n--; // a-zの変換を0-25にするため ...
[["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35], ["-", 31, 213, 3, 4, 0, 28, 0, 16, 31, 203], ["+", 31, 213, 3, 4, 0, 28, 0, 16, 31, 203]]
8
114
using System; using System.Linq; class Program { static void Main(string[] args) { // 整数の入力 int n = int.Parse(Console.ReadLine()); String name = ""; for (; n > 0;) { n -= 1; name += Convert.ToString((char)(n % 26 + 97)); n /= 26; } //出力 Console.WriteLine(name.Reverse().T...
using System; using System.Linq; class Program { static void Main(string[] args) { // 整数の入力 long n = long.Parse(Console.ReadLine()); String name = ""; for (; n > 0;) { n -= 1; name += Convert.ToString((char)(n % 26 + 97)); n /= 26; } //出力 Console.WriteLine(name.Reverse()...
[["-", 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
96
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //アルファベットテーブルを作成する var alpha = new string[26] { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", ...
using System; using System.Collections.Generic; using System.Linq; public class Hello { public static void Main() { //アルファベットテーブルを作成する var alpha = new string[26] { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", ...
[["-", 0, 212, 0, 227, 0, 229, 0, 5, 0, 222], ["+", 0, 212, 0, 227, 0, 229, 0, 5, 0, 222]]
8
264
using System; using System.Collections.Generic; public class Program { public static void Main(String[] args) { Int64 a = Convert.ToInt64(Console.ReadLine()); var lst = new List<char>(); for (int i = 1; i < 11; ++i) { if (a <= (long)Math.Pow(26, i)) { a -= 1; for (int j = 0; j < i; ...
using System; using System.Collections.Generic; public class Program { public static void Main(String[] args) { Int64 a = Convert.ToInt64(Console.ReadLine()); var lst = new List<char>(); for (int i = 1; i < 99; ++i) { if (a <= (long)Math.Pow(26, i)) { a -= 1; for (int j = 0; j < i; ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 203]]
8
181
using System; using System.Linq; namespace C3 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); n -= 1; string answerRev = ""; for (int l = 1; l < 15; l++) { if (n >= Math.Pow(26, l)) { n -= (int)Math.Pow(26, l); continue; } a...
using System; using System.Linq; namespace C3 { class Program { static void Main(string[] args) { long n = long.Parse(Console.ReadLine()); n -= 1; string answerRev = ""; for (long l = 1; l < 15; l++) { if (n >= Math.Pow(26, l)) { n -= (long)Math.Pow(26, l); continue; } ...
[["-", 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, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 7, 10, 198, 39, 199], ["-", 64, 196, 0, 1, 0, 11, 1...
8
169
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoderPractice { class OneQuadrillionAndOneDalmatians { static void Main(string[] args) { ulong n = ulong.Parse(Console.ReadLine()); n -= 1; string name = ""; char[] az = new...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoderPractice { class OneQuadrillionAndOneDalmatians { static void Main(string[] args) { ulong n = ulong.Parse(Console.ReadLine()); n -= 1; string name = ""; char[] az = new...
[["-", 0, 212, 0, 227, 0, 229, 0, 252, 0, 253], ["+", 0, 212, 0, 227, 0, 229, 0, 252, 0, 253]]
8
233
using System; public class Hello { public static void Main() { var n = long.Parse(Console.ReadLine().Trim()); var p = 1L; var w = 0L; var count = 0; while (w <= n) { p *= 26; w += p; count++; } var t = n - (w - p); getAns(t, count); } static void getAns(long t, i...
using System; public class Hello { public static void Main() { var n = long.Parse(Console.ReadLine().Trim()); var p = 1L; var w = 0L; var count = 0; while (w < n) { p *= 26; w += p; count++; } var t = n - (w - p); getAns(t, count); } static void getAns(long t, in...
[["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 18]]
8
183
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static AtCoderTemplate.MyLibrary; namespace AtCoderTemplate { class Program { static void Main(string[] args) { string[] str; str = Cons...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; using static AtCoderTemplate.MyLibrary; namespace AtCoderTemplate { class Program { static void Main(string[] args) { string[] str; str = Cons...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199]]
8
225
using System; using System.Linq; class Program { static void Main(string[] args) { // 入力 int x = int.Parse(Console.ReadLine()); int q = 0; int r = 0; string ans = ""; while (x != 0) { x--; r = x % 26; q = x / 26; ans += ((char)(r + 97)).ToString(); // Console.Wr...
using System; using System.Linq; class Program { static void Main(string[] args) { // 入力 long x = long.Parse(Console.ReadLine()); long q = 0; long r = 0; string ans = ""; while (x != 0) { x--; r = x % 26; q = x / 26; ans += ((char)(r + 97)).ToString(); // Consol...
[["-", 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
118
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(); } ...
[["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 18]]
8
1,196
using System; using System.Linq; using System.Collections.Generic; using E = System.Linq.Enumerable; public class Program { public static void Main() { var n = long.Parse(Console.ReadLine()); var name = GetExcelColumnName(n); Console.WriteLine(name); } // original: // https://www.it-swarm.dev/j...
using System; using System.Linq; using System.Collections.Generic; using E = System.Linq.Enumerable; public class Program { public static void Main() { var n = long.Parse(Console.ReadLine()); var name = GetExcelColumnName(n); Console.WriteLine(name); } // original: // https://www.it-swarm.dev/j...
[["-", 205, 213, 3, 4, 0, 28, 0, 16, 31, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 252, 0, 104], ["+", 3, 4, 0, 28, 0, 16, 31, 252, 0, 253]]
8
148
using System; using System.Collections.Generic; namespace ABC171Test { class Program { static void Main() { long N = long.Parse(Console.ReadLine()); List<char> alplist = new List<char>(); for (int code = 0x61; code < 0x7b; code++) alplist.Add(Convert.ToChar(code)); long S = 0; int k = 1; ...
using System; using System.Collections.Generic; namespace ABC171Test { class Program { static void Main() { long N = long.Parse(Console.ReadLine()); List<char> alplist = new List<char>(); for (int code = 0x61; code < 0x7b; code++) alplist.Add(Convert.ToChar(code)); long S = 0; int k = 1; ...
[["-", 0, 195, 8, 196, 0, 52, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 17, 18]]
8
210
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-...
[["-", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22]]
8
862
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC171_C { class Program { static void Main(string[] args) { string str = Console.ReadLine(); long N = long.Parse(str); string ans = string.Empty; while (N != 0) { long...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC171_C { class Program { static void Main(string[] args) { string str = Console.ReadLine(); long N = long.Parse(str); string ans = string.Empty; while (N != 0) { N--;...
[["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35], ["-", 12, 16, 31, 74, 51, 23, 0, 16, 17, 33], ["-", 12, 16, 31, 74, 51, 23, 0, 16, 12, 203]]
8
115
using System; using System.Collections.Generic; namespace C { class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); List<int> n = new List<int>(); while (N / 26 != 0) { if (N % 26 == 0) { n.Add(26); N = N / 26 - 1; } else { n.Add(N %...
using System; using System.Collections.Generic; namespace C { class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); List<long> n = new List<long>(); while (N / 26 != 0) { if (N % 26 == 0) { n.Add(26); N = N / 26 - 1; } else { n.Add...
[["-", 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, 197, 0, 198, 39, 236, 237, 238, 0, 199], ["+", 0, 197, 0, 198, 39, 236, 237, 238, 0, 199], ["-", 0, 212, 0, 230, 3...
8
313
using System; using System.Linq; using System.Numerics; using System.Collections.Generic; namespace ForAtcoder { class Program { static void Main(string[] args) { char[] alpha = "zabcdefghijklmnopqrstuvwxy".ToCharArray(); long n = long.Parse(Console.ReadLine()); string result = ""; do { result ...
using System; using System.Linq; using System.Numerics; using System.Collections.Generic; namespace ForAtcoder { class Program { static void Main(string[] args) { char[] alpha = "abcdefghijklmnopqrstuvwxyz".ToCharArray(); long n = long.Parse(Console.ReadLine()); string result = ""; do { n--; ...
[["-", 0, 212, 0, 213, 63, 214, 205, 5, 0, 222], ["+", 0, 212, 0, 213, 63, 214, 205, 5, 0, 222], ["+", 0, 82, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 82, 8, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 82, 8, 196, 0, 1, 0, 35]]
8
106
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC171 { class Program { static void Main(string[] args) { c(); } public static void c() { long n = long.Parse(Console.ReadLine()); string ans = ""; while (true) { if (...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ABC171 { class Program { static void Main(string[] args) { c(); } public static void c() { long n = long.Parse(Console.ReadLine()); string ans = ""; while (true) { if (...
[["+", 75, 57, 64, 196, 0, 1, 0, 223, 0, 22], ["+", 75, 57, 64, 196, 0, 1, 0, 223, 0, 68], ["+", 75, 57, 75, 57, 64, 196, 0, 1, 0, 35]]
8
214
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); List<char> tmp = new List<char>(); while (N != 0) { int a = (int)N % 26; tmp.Add((char)(a == 0 ? 122 : a + 96)); N = N / 26; if (a == 0) { ...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); List<char> tmp = new List<char>(); while (N != 0) { long a = N % 26; tmp.Add((char)(a == 0 ? 122 : a + 96)); N = N / 26; if (a == 0) { ...
[["-", 0, 52, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 52, 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]]
8
129
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, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203]]
8
12,404
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Numerics; namespace ABC171.C { using static Util; using static Math; public class Solver : SolverBase { public void Run() { var N = ReadLong(); StringBuilder revSb = new ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Numerics; namespace ABC171.C { using static Util; using static Math; public class Solver : SolverBase { public void Run() { var N = ReadLong(); StringBuilder revSb = new ...
[["+", 0, 57, 64, 196, 0, 1, 0, 241, 0, 68], ["+", 0, 57, 64, 196, 0, 1, 0, 241, 0, 22], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 0, 57, 75, 196, 0, 1, 0, 241, 0, 68], ["-", 75, 196, 0, 1, 0, 11, 0, 202, 0, 110], ["-", 0, 57, 75, 196, 0, 1, 0, 11, 12, 203]]
8
2,822
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; namespace contest_Csharp { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Linq; namespace contest_Csharp { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); ...
[["+", 51, 23, 0, 16, 12, 74, 51, 23, 0, 24], ["+", 51, 23, 0, 16, 12, 74, 51, 23, 0, 25]]
8
258
using System; using System.Linq; using System.Collections.Generic; namespace c { class Program { static void Main(string[] args) { var N = int.Parse(Console.ReadLine()); var result = hoge(N).ToLower(); Console.WriteLine(result); } static string hoge(int self) { int n = self % 26; n = (n == 0...
using System; using System.Linq; using System.Collections.Generic; namespace c { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine()); var result = hoge(N).ToLower(); Console.WriteLine(result); } static string hoge(long self) { long n = self % 26; n = (n =...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["-", 8, 201, 0, 195, 54, 55, 0, 220, 39, 199], ["+", 8, 201, 0, 195, 54, 55, 0, 220, 39, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]]
8
136
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main(string[] args) { var alphabet = "zabcdefghijklmnopqrstuvwxy"; var N = ReadLineLong(); var num = 26; var Name = ""; while (true) { var m = (int)(N % num); N = N / nu...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder { class Program { static void Main(string[] args) { var alphabet = "abcdefghijklmnopqrstuvwxyz"; var N = ReadLineLong(); var num = 26; var Name = ""; while (true) { N--; var m = (int)(N % num); ...
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 68], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]]
8
220
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 = '#'; ...
[["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 90], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 110], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 203]]
8
390
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; using System.Net; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; using System.Net; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
[["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 33], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]]
8
2,585
using System; class C { public static void Main() { int s = int.Parse(Console.ReadLine()); var C = new C(); string i = C.GetColumnName(s).ToLower(); Console.WriteLine(i); } public string GetColumnName(int index) { string str = ""; do { str = Convert.ToChar(index % 26 + 0x41) + str; ...
using System; class C { public static void Main() { long s = long.Parse(Console.ReadLine()) - 1; var C = new C(); string i = C.GetColumnName(s).ToLower(); Console.WriteLine(i); } public string GetColumnName(long index) { string str = ""; do { str = Convert.ToChar(index % 26 + 0x41) ...
[["-", 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, 212, 0, 16, 31, 213, 63, 214, 205, 199], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["-", 8, 201, 0, 195, 54, 55, ...
8
110
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System; namespace AtCoder { class Program { static void Main(string[] args) { // var line = ReadLine().Split(' ').Select(value => // int.Parse(value)).ToArray(); var n = lo...
using static System.Math; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System; namespace AtCoder { class Program { static void Main(string[] args) { // var line = ReadLine().Split(' ').Select(value => // int.Parse(value)).ToArray(); var n = lo...
[["-", 0, 195, 8, 196, 0, 52, 15, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 52, 15, 16, 12, 203], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 223, 0, 68]]
8
159
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { long b = 26; List<long> L = new List<long>(); L.Add(0); L.Add(b);...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; class TEST { static void Main() { Sol mySol = new Sol(); mySol.Solve(); } } class Sol { public void Solve() { long b = 26; List<long> L = new List<long>(); L.Add(0); L.Add(b);...
[["-", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 213, 63, 22]]
8
472
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionD { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { class QuestionD { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; Co...
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 141, 22]]
8
289
using System; using System.Collections.Generic; namespace abc171 { class Program { static void Main() { var n = int.Parse(Console.ReadLine()); var aList = ReadNumList(); var aTable = new Dictionary<long, long>(); foreach (var a in aList) { if (aTable.ContainsKey(a)) { ++aTable[a]; ...
using System; using System.Collections.Generic; namespace abc171 { class Program { static void Main() { var n = int.Parse(Console.ReadLine()); var aList = ReadNumList(); var aTable = new Dictionary<long, long>(); foreach (var a in aList) { if (aTable.ContainsKey(a)) { ++aTable[a]; ...
[["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46]]
8
441
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Question { public class QuestionD { public static void Main(string[] args) { var n = ReadHelper.ReadValue<int>(); var ai = ReadHelper.ReadValues<int>(); var q = ReadHelper.ReadValue<int>(); var bc = new L...
using System; using System.Collections.Generic; using System.Linq; namespace AtCoder.Question { public class QuestionD { public static void Main(string[] args) { var n = ReadHelper.ReadValue<int>(); var ai = ReadHelper.ReadValues<int>(); var q = ReadHelper.ReadValue<int>(); var bc = new L...
[["+", 8, 196, 0, 57, 64, 196, 0, 116, 0, 117], ["+", 8, 196, 0, 57, 64, 196, 0, 116, 0, 35]]
8
842
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using static System.Console; using static System.Math; public class Solve { static public int mod = 1000000007; static public string al = "abcdefghijklmnopqrstuvwxyz"; public static void Main() { // ...
[["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95], ["+", 0, 7, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 0, 57, 75, 196, 0, 1, 0, 223, 0, 22], ["+", 0, 57, 75, 196, 0, 1, 0, 223, 0, 29], ["+", 8, 196, 0, 57, 75, 196, 0, 1, 0, 35], ["+", 0, 7, 8, 196, 0, 57, 75, 196, 0, 46]]
8
1,233
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, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203]]
8
11,919
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, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20]]
8
171
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); long a = sc.NextInt(); long v = sc.NextInt(); long b = sc.NextInt(); long w = sc.NextInt(); long t = sc.NextInt(); long dx = Math.Ab...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); long a = sc.NextInt(); long v = sc.NextInt(); long b = sc.NextInt(); long w = sc.NextInt(); long t = sc.NextInt(); long dx = Math.Ab...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18]]
8
449
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { long[] AV = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long A = AV[0]; long V = AV[1]; long[] BW = Array.ConvertAll(Console.ReadLine().Split(), ...
using System; using System.Collections.Generic; using System.Linq; namespace easy_Atcoder { class Program { static void Main(string[] args) { long[] AV = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); long A = AV[0]; long V = AV[1]; long[] BW = Array.ConvertAll(Console.ReadLine().Split(), ...
[["-", 15, 16, 31, 16, 31, 16, 31, 241, 0, 203], ["-", 0, 57, 15, 16, 31, 16, 31, 16, 17, 48], ["-", 15, 16, 12, 16, 31, 16, 31, 241, 0, 203], ["-", 0, 57, 15, 16, 12, 16, 31, 16, 17, 48], ["-", 0, 57, 15, 16, 12, 16, 31, 241, 0, 33]]
8
242
using System; using System.Collections.Generic; using System.Linq; public class Solution { public static void Main() { var vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var A = vals[0]; var V = vals[1]; vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var B ...
using System; using System.Collections.Generic; using System.Linq; public class Solution { public static void Main() { var vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var A = vals[0]; var V = vals[1]; vals = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); var B ...
[["-", 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
177
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; using System.Net; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Numerics; using System.IO; using System.Net; namespace Practice { class Program { static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false }; ...
[["-", 0, 212, 0, 23, 0, 16, 31, 16, 17, 85], ["-", 0, 212, 0, 23, 0, 16, 31, 16, 12, 22], ["+", 0, 212, 0, 23, 0, 16, 12, 16, 17, 48], ["+", 0, 212, 0, 23, 0, 16, 12, 16, 12, 22]]
8
2,612
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 ProblemB { 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 ProblemB { static bool SAIKI = false; st...
[["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 24], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["+", 0, 16, 31, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 212, 0, 16, 31, 16, 31, 23, 0, 25], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203]]
8
1,495
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace tmnfipc2020 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exist...
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using System.Numerics; namespace tmnfipc2020 { class Program { static void Main(string[] args) { Console.SetOut( new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }); if (File.Exist...
[["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 24], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 57, 15, 16, 31, 16, 31, 74, 0, 25]]
8
286
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication6 { class Program { static void Main(string[] args) { var seek = spr(RL()).Select(x => c2i(x)); var hide = spr(RL()).Select(x => c2i(x)); var left = c2i(RL()); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication6 { class Program { static void Main(string[] args) { var seek = spr(RL()).Select(x => c2i(x)); var hide = spr(RL()).Select(x => c2i(x)); var left = c2i(RL()); ...
[["-", 8, 196, 0, 37, 0, 41, 64, 5, 0, 222], ["+", 8, 196, 0, 37, 0, 41, 64, 5, 0, 222], ["-", 8, 196, 0, 37, 0, 41, 75, 5, 0, 222], ["+", 8, 196, 0, 37, 0, 41, 75, 5, 0, 222]]
8
258
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); long a = long.Parse(input[0]); long v = long.Parse(input[1]); input = Console.ReadLine().Split(' '); long b = long.Parse(input[0]); long w = long.P...
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); long a = long.Parse(input[0]); long v = long.Parse(input[1]); input = Console.ReadLine().Split(' '); long b = long.Parse(input[0]); long w = long.P...
[["-", 3, 4, 0, 28, 0, 41, 64, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 64, 5, 0, 222], ["-", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]]
8
192
using System; class Program { static void Main(string[] args) { string[] strInput = Console.ReadLine().Split(' '); Int64 a = Int64.Parse(strInput[0]); Int64 v = Int64.Parse(strInput[1]); strInput = Console.ReadLine().Split(' '); Int64 b = Int64.Parse(strInput[0]); Int64 w = Int64.Parse(strInp...
using System; class Program { static void Main(string[] args) { string[] strInput = Console.ReadLine().Split(' '); Int64 a = Int64.Parse(strInput[0]); Int64 v = Int64.Parse(strInput[1]); strInput = Console.ReadLine().Split(' '); Int64 b = Int64.Parse(strInput[0]); Int64 w = Int64.Parse(strInp...
[["-", 75, 196, 0, 57, 15, 16, 31, 16, 17, 85], ["-", 75, 196, 0, 57, 15, 16, 31, 16, 12, 22], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 17, 48], ["+", 75, 196, 0, 57, 15, 16, 12, 16, 12, 22]]
8
190
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace 東京海上日動2020B { class Program { static void Main(string[] args) { var a = RLong; var v = RLong; var b = RLong; var w = RLong; var t = RLong; ...
using System; using System.Collections.Generic; using static Assistant.Input; using static Assistant.Debug; using System.Linq; using Assistant; namespace 東京海上日動2020B { class Program { static void Main(string[] args) { var a = RLong; var v = RLong; var b = RLong; var w = RLong; var t = RLong; ...
[["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 47], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 20], ["-", 75, 196, 0, 1, 0, 11, 12, 16, 17, 47], ["+", 75, 196, 0, 1, 0, 11, 12, 16, 17, 20]]
8
755
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, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22]]
8
576
using System; using CompLib.Util; public class Program { public void Solve() { var sc = new Scanner(); int a = sc.NextInt(); int v = sc.NextInt(); int b = sc.NextInt(); int w = sc.NextInt(); int t = sc.NextInt(); if (t > w) { long dist = Math.Abs(a - b); long diff = t - w; ...
using System; using CompLib.Util; public class Program { public void Solve() { var sc = new Scanner(); int a = sc.NextInt(); int v = sc.NextInt(); int b = sc.NextInt(); int w = sc.NextInt(); int t = sc.NextInt(); if (v > w) { long dist = Math.Abs(a - b); long diff = v - w; ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 31, 22]]
8
461
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, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]]
8
401
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, 28, 0, 218, 8, 16, 12, 204, 205, 22], ["-", 0, 218, 8, 16, 12, 204, 206, 207, 0, 70], ["-", 8, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 218, 8, 16, 12, 204, 206, 207, 0, 73], ["+", 3, 4, 0, 28, 0, 218, 8, 16, 12, 22]]
8
2,022
using System; namespace TEST { class Program { static void Main(string[] args) { string[] c = Console.ReadLine().Split(); int a = int.Parse(c[0]); int b = int.Parse(c[0]); Console.WriteLine(a * b); } } }
using System; namespace TEST { class Program { static void Main(string[] args) { string[] c = Console.ReadLine().Split(); int a = int.Parse(c[0]); int b = int.Parse(c[1]); Console.WriteLine(a * b); } } }
[["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]]
8
72
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _169B { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine() ?? string.Empty); var A = Console.ReadLine()?.Split(' ').Select(tmp => long.Par...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _169B { class Program { static void Main(string[] args) { var N = long.Parse(Console.ReadLine() ?? string.Empty); var A = Console.ReadLine()?.Split(' ').Select(tmp => long.Par...
[["+", 8, 196, 0, 1, 0, 11, 12, 328, 0, 292], ["+", 8, 196, 0, 1, 0, 11, 12, 328, 0, 24], ["+", 8, 196, 0, 1, 0, 11, 12, 328, 0, 25]]
8
199
using System; using System.Linq; class program { static void Main() { int n = int.Parse(Console.ReadLine()); long[] a = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); long ans = 1; Array.Sort(a); if (a[0] == 0) { Console.Write(0); return; } for (int i = 0; i < n; ...
using System; using System.Linq; class program { static void Main() { int n = int.Parse(Console.ReadLine()); long[] a = Array.ConvertAll(Console.ReadLine().Split(' '), long.Parse); long ans = 1; Array.Sort(a); if (a[0] == 0) { Console.Write(0); return; } for (int i = 0; i < n; ...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 48], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 203], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 85], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203]]
8
145
using System; using System.Linq; using System.Collections.Generic; namespace ABC { class ProgramB { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var list = Console.ReadLine().Split(" ").Select(x => long.Parse(x)).ToList(); if (list.Contains(0)) { Console.WriteLi...
using System; using System.Linq; using System.Collections.Generic; namespace ABC { class ProgramB { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var list = Console.ReadLine().Split(" ").Select(x => long.Parse(x)).ToList(); if (list.Contains(0)) { Console.WriteLi...
[["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 85], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22]]
8
180
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Multiplication_B { class Class2 { static void Main() { int n = int.Parse(Console.ReadLine()); if (n == 0) { Console.WriteLine(0); return; } string[] strArray =...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Multiplication_B { class Class2 { static void Main() { int n = int.Parse(Console.ReadLine()); if (n == 0) { Console.WriteLine(0); return; } string[] strArray =...
[["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]]
8
236
using System; using System.IO; using System.Collections.Generic; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var num = int.Parse(Console.ReadLine()); // 1行目:個数 string[] arr = Console.ReadLine().Split(' '); // 2行目:数値(文字列)の羅列 ulong sum = 1; //羅列を...
using System; using System.IO; using System.Collections.Generic; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var num = int.Parse(Console.ReadLine()); // 1行目:個数 string[] arr = Console.ReadLine().Split(' '); // 2行目:数値(文字列)の羅列 ulong sum = 1; //羅列を...
[["+", 8, 196, 0, 57, 15, 16, 12, 74, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 12, 74, 39, 199], ["+", 8, 196, 0, 57, 15, 16, 12, 74, 0, 25]]
8
201
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; using System.Threading; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; using System.Threading; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int N = int.Parse(...
[["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]]
8
232
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_20190707_1 { class Program { static void Main(string[] args) { try { long N = long.Parse(Console.ReadLine()); string[] s = Console.ReadLine().Split(' '); long[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder_20190707_1 { class Program { static void Main(string[] args) { try { long N = long.Parse(Console.ReadLine()); string[] s = Console.ReadLine().Split(' '); long[...
[["+", 8, 196, 0, 7, 8, 196, 0, 287, 0, 292], ["+", 0, 7, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 7, 8, 196, 0, 287, 0, 196, 0, 46]]
8
200
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.IO.Compression; using System.Linq; using System.Numerics; using Console = System.Console; namespace Atcoder { class Program { private const long COMDIV = 1000000007;...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design; using System.IO.Compression; using System.Linq; using System.Numerics; using Console = System.Console; namespace Atcoder { class Program { private const long COMDIV = 1000000007;...
[["+", 8, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 46]]
8
208
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtCoder.Abc { internal class QuestionB { 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 { internal class QuestionB { public static void Main(string[] args) { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = false };...
[["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 22]]
8
275
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) { try { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = f...
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) { try { var sw = new System.IO.StreamWriter( Console.OpenStandardOutput()) { AutoFlush = f...
[["+", 8, 196, 0, 57, 75, 196, 0, 287, 0, 292], ["+", 0, 57, 75, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 57, 75, 196, 0, 287, 0, 196, 0, 46]]
8
225
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 B { 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 B { static void Main(string[] args) { var sw = new System.IO.StreamWriter(OpenStandardOutput()) { AutoFlush = ...
[["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 33], ["-", 0, 213, 3, 4, 0, 28, 0, 241, 0, 203], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203]]
8
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } long answer = 1; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } long answer = 1; ...
[["+", 0, 196, 0, 57, 15, 16, 12, 74, 0, 24], ["+", 0, 196, 0, 57, 15, 16, 12, 74, 39, 199], ["+", 0, 196, 0, 57, 15, 16, 12, 74, 0, 25]]
8
449
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } ulong answer = 1; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AtCoderA { static void Main() { var sc = new Scanner(); int n = sc.NextInt(); long[] a = sc.LongArray(); if (a.Contains(0)) { Console.WriteLine(0); return; } decimal answer = 1; ...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["+", 8, 196, 0, 1, 0, 11, 12, 74, 39, 199]]
8
479
using System; using System.Linq; public static class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var nums = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); long result = 1; if (nums.Contains(0)) { Console.WriteLine("0"); return; } ...
using System; using System.Linq; public static class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var nums = Console.ReadLine().Split(' ').Select(long.Parse).ToArray(); long result = 1; if (nums.Contains(0)) { Console.WriteLine("0"); return; } ...
[["+", 8, 196, 0, 246, 8, 196, 0, 287, 0, 292], ["+", 0, 246, 8, 196, 0, 287, 0, 196, 0, 45], ["+", 0, 287, 0, 196, 0, 57, 64, 196, 0, 46]]
8
153
using System; using System.Linq; public class Test { public static void Main() { int n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split().Select(y => long.Parse(y)).ToArray(); int counter = 0; long ans = 1; long atcoder = 1000000000000000000; for (int i = 0; i != n; i++) { ...
using System; using System.Linq; public class Test { public static void Main() { int n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split().Select(y => long.Parse(y)).ToArray(); int counter = 0; long ans = 1; long atcoder = 1000000000000000000; for (int i = 0; i != n; i++) { ...
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 48], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 85], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["-", 0, 7, 8, 196, 0, 57, 15, 16, 12, 22]]
8
181