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.Generic; using System.Collections; using System.Linq; namespace contest { class contest { static void Main(string[] args) { // int n = int.Parse(Console.ReadLine()); // var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); // var num = Console.Read...
using System; using System.Collections.Generic; using System.Collections; using System.Linq; namespace contest { class contest { static void Main(string[] args) { // int n = int.Parse(Console.ReadLine()); // var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); // var num = Console.Read...
[["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 72], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 107], ["-", 0, 57, 75, 196, 0, 1, 0, 223, 0,...
8
319
using System; class ITP1 { static void Main(string[] args) { Q2_A(); // var exStdIn = new System.IO.StreamReader("stdin.txt"); // System.Console.SetIn(exStdIn); // int[] a = Array.ConvertAll(Console.ReadLine().Split(' '), new // Converter<String, int>(s => int.Parse(s))); } static void Q1() ...
using System; class ITP1 { static void Main(string[] args) { Q2_A(); // var exStdIn = new System.IO.StreamReader("stdin.txt"); // System.Console.SetIn(exStdIn); // int[] a = Array.ConvertAll(Console.ReadLine().Split(' '), new // Converter<String, int>(s => int.Parse(s))); } static void Q1() ...
[["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 0, 131], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 21], ["+", 3, 4, 0, 28...
8
186
using System; public class Class1 { public static void Main() { string ab = Console.ReadLine(); string[] abArray = ab.Split(); int a = int.Parse(abArray[0]); int b = int.Parse(abArray[1]); if (a < b) { Console.WriteLine(a < b); } else if (a > b) { Console.WriteLine(a > b); } e...
using System; public class Class1 { public static void Main() { string ab = Console.ReadLine(); string[] abArray = ab.Split(); int a = int.Parse(abArray[0]); int b = int.Parse(abArray[1]); if (a < b) { Console.WriteLine("a < b"); } else if (a > b) { Console.WriteLine("a > b"); ...
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 18], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 47], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 60]]
8
115
using System; class hoge { static void Main(String[] args) { String input = Console.ReadLine(); int a = int.Parse(input.Split(' ')[0]); int b = int.Parse(input.Split(' ')[1]); if (a > b) { Console.WriteLine("{0} > {1}", a, b); } else if (a < b) { Console.WriteLine("{0} < {1}", a, b); ...
using System; class hoge { static void Main(String[] args) { String input = Console.ReadLine(); int a = int.Parse(input.Split(' ')[0]); int b = int.Parse(input.Split(' ')[1]); if (a > b) { Console.WriteLine("a > b"); } else if (a < b) { Console.WriteLine("a < b"); } else if (a == b...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
8
137
using System; namespace test { class Program { static void Main(string[] args) { int a, b; string[] str = Console.ReadLine().Split(' '); a = int.Parse(str[0]); b = int.Parse(str[1]); if (a < b) { Console.WriteLine("{0} < {1}", a, b); } if (a > b) { Console.WriteLine("{0} > {1}...
using System; namespace test { class Program { static void Main(string[] args) { int a, b; string[] str = Console.ReadLine().Split(' '); a = int.Parse(str[0]); b = int.Parse(str[1]); if (a < b) { Console.WriteLine("a < b"); } if (a > b) { Console.WriteLine("a > b"); } ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
8
132
namespace Small_Large_orEqual { class Program { static void Main(string[] args) { string[] N = System.Console.ReadLine().Split(' '); int a = System.Convert.ToInt32(N[0]); int b = System.Convert.ToInt32(N[1]); if (a < b) { System.Console.WriteLine(a + " < " + b); } else if (a > b) { Sy...
namespace Small_Large_orEqual { class Program { static void Main(string[] args) { string[] N = System.Console.ReadLine().Split(' '); int a = System.Convert.ToInt32(N[0]); int b = System.Convert.ToInt32(N[1]); if (a < b) { System.Console.WriteLine("a < b"); } else if (a > b) { System.C...
[["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], ["-", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
134
using System; public class SmallOrLarge { //?????????????????§?°???????????????? static void Main(string[] args) { /*---??£?¨???¨---*/ int num1; int num2; string[] num_unit; /*---??£?¨???¨---*/ /*??°???????????????????????§??????*/ num_unit = Console.ReadLine().Split(' '); num1 = i...
using System; public class SmallOrLarge { //?????????????????§?°???????????????? static void Main(string[] args) { /*---??£?¨???¨---*/ int num1; int num2; string[] num_unit; /*---??£?¨???¨---*/ /*??°???????????????????????§??????*/ num_unit = Console.ReadLine().Split(' '); num1 = i...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 75, 196, 0, 1, 0, 213, 3, 4, 0, 21]]
8
133
using System; namespace AizuOnlineJudge { class Program { static void Main(string[] args) { var array = Converter(Console.ReadLine()); Console.WriteLine(Calc(array)); } static int[] Converter(string str) { var array = str.Split(' '); return Array.ConvertAll(array, int.Parse); } static strin...
using System; namespace AizuOnlineJudge { class Program { static void Main(string[] args) { var array = Converter(Console.ReadLine()); Console.WriteLine(Calc(array)); Console.ReadLine(); } static int[] Converter(string str) { var array = str.Split(' '); return Array.ConvertAll(array, int.Par...
[["+", 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], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 0, 37, 0, 16, 31, 16, 31, 204, 205, 22], ["-"...
8
163
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int a, b; a = int.Parse(x[0]); b = int.Parse(x[1]); if (a < b) { Console.WriteLine(a + " < " + b); } else if (a > b) { Console.WriteLine(a + " > " + b); } else { ...
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int a = int.Parse(x[0]); int b = int.Parse(x[1]); if (a < b) { Console.WriteLine("a < b"); } else if (a > b) { Console.WriteLine("a > b"); } else { Console.WriteLine...
[["-", 0, 195, 8, 196, 0, 197, 0, 198, 0, 21], ["-", 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, 1, 0, 11, 31, 22], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], [...
8
124
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int a, b; a = int.Parse(x[0]); b = int.Parse(x[1]); if (a < b) { Console.WriteLine(a + " < " + b); } else if (a > b) { Console.WriteLine(a + " > " + b); } else { ...
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int a, b; a = int.Parse(x[0]); b = int.Parse(x[1]); if (a < b) { Console.WriteLine("a < b"); } else if (a > b) { Console.WriteLine("a > b"); } else { Console.Wri...
[["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], ["-", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
124
using System; public class Hello { public static void Main() { string[] z = Console.ReadLine().Split(' '); int x = int.Parse(z[0]); int y = int.Parse(z[1]); Console.WriteLine(x * y); Console.WriteLine(2 * (x + y)); } }
using System; public class Hello { public static void Main() { string[] z = Console.ReadLine().Split(' '); int x = int.Parse(z[0]); int y = int.Parse(z[1]); Console.Write(x * y); Console.Write(" "); Console.WriteLine(2 * (x + y)); } }
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["+", 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, 3, 4, 0, 24], ["+"...
8
82
using System; using System.Text; namespace AOJ_Hello_World { class Program { static void Main(string[] args) { var sab = Console.ReadLine(); long[] a = new long[2]; for (int i = 0; i < 2; i++) { a[i] = long.Parse(sab.Split(' ')[i]); } Console.WriteLine(a[0] * a[1]); } } }
using System; using System.Text; namespace AOJ_Hello_World { class Program { static void Main(string[] args) { var sab = Console.ReadLine(); long[] a = new long[2]; for (int i = 0; i < 2; i++) { a[i] = long.Parse(sab.Split(' ')[i]); } Console.WriteLine("{0} {1}", a[0] * a[1], (a[0] + a[1]) ...
[["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 3, 4, 0, 28, 0, 16, 12, 204, 205, 22], ["+", 0, 28, 0, 16, 12, 204, 206, 207, 0, 70], ["+", 0, 16, 12, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 16, 12, 204, 206, 207, 0, 73], ["+", 3...
8
100
using System.IO; using System; class Program { static void Main() { string value = Console.ReadLine(); string[] v = value.Split(); var va = int.Parse(v[0]); var vb = int.Parse(v[1]); if (va > vb) { Console.WriteLine("{0} > {1}", va, vb); } else if (va < vb) { Console.WriteLine("{...
using System.IO; using System; class Program { static void Main() { string value = Console.ReadLine(); string[] v = value.Split(); var va = int.Parse(v[0]); var vb = int.Parse(v[1]); if (va > vb) { Console.WriteLine("a > b"); } else if (va < vb) { Console.WriteLine("a < b"); ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 75, 196, 0, 1, 0, 213, 3, 4, 0, 21]]
8
124
using System; class small { public static void Main() { String a = Console.ReadLine(); char b = ' '; String[] c = a.Split(b); int d = int.Parse(c[0]); int e = int.Parse(c[1]); if (d < e) { Console.WriteLine("{0} < {1}", d, e); } else if (d > e) { Console.WriteLine("{0} < {1}...
using System; class small { public static void Main() { String a = Console.ReadLine(); char b = ' '; String[] c = a.Split(b); int d = int.Parse(c[0]); int e = int.Parse(c[1]); if (d < e) { Console.WriteLine("a < b"); } else if (d > e) { Console.WriteLine("a > b"); } else...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 57, 75, 57, 75, 57, 0, 121], ["-", 8, 196, 0, 57, 75, 57, 75, 57, 0, 24], ["-", 0, 57, 75, 57, 75, 57, 15, 16, 31, 22], ["-", 0, 57, 7...
8
134
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp4 { class Program { static void Main(string[] args) { int a = int.Parse(args[0]); int b = int.Parse(args[1]); if (-1000 <= a && b <= 1000) { if (a > b) { Console.WriteLine("a > b"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp4 { class Program { static void Main(string[] args) { string[] list = Console.ReadLine().Split(' '); int a = int.Parse(list[0]); int b = int.Parse(list[1]); if (-1000 <= a && b <= 1000) { i...
[["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 0, 197, 0, 198, 39, 224, 225, 226, 0, 70], ["+", 0, 197, 0, 198, 39, 224, 225, 226, 0, 73], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 213, 63, 214, 205, 213, 63, 214, 205, 22], ["+", 0, 213, 63, 214, 205...
8
131
using System; class Program { static void Main() { string[] sp = Console.ReadLine().Split(' '); int x = int.Parse(sp[0]); int y = int.Parse(sp[1]); if (x == y) Console.WriteLine("{0} == {1}", x, y); else if (x > y) Console.WriteLine("{0} > {1}", x, y); else Console.WriteLine...
using System; class Program { static void Main() { string[] sp = Console.ReadLine().Split(' '); int x = int.Parse(sp[0]); int y = int.Parse(sp[1]); if (x == y) Console.WriteLine("a == b"); else if (x > y) Console.WriteLine("a > b"); else Console.WriteLine("a < b"); } }
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 57, 64, 1, 0, 213, 3, 4, 0, 21], ["-", 64, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 75, 57, 64, 1, 0, 213, 3, 4, 0, 21], ["-", 75, 57, 75, 1, 0, 213, 3, 4, 0, 21], ["-", 75, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
8
111
using System; using System.Linq; class SLEqual { static void Main() { var st = Console.ReadLine(); int a = int.Parse(st.Split(' ')[0]); int b = int.Parse(st.Split(' ')[1]); int c = int.Parse(st.Split(' ')[2]); if (a < b) { if (b < c) Console.WriteLine("Yes"); } else Consol...
using System; using System.Linq; class SLEqual { static void Main() { var st = Console.ReadLine(); int a = int.Parse(st.Split(' ')[0]); int b = int.Parse(st.Split(' ')[1]); int c = int.Parse(st.Split(' ')[2]); if (a < b) { if (b < c) Console.WriteLine("Yes"); else Cons...
[["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 95], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 205, 22], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 0, 131], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 141, 22], ["+", 0, 57, 75, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, ...
8
121
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { void Calc() { var sc = new Scanner(); int a = sc.NextInt(); int b = sc.NextInt(); int c = sc.NextInt(); if (a < b) { if (b < c) { Console.WriteLine("Yes"); } } else { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { void Calc() { var sc = new Scanner(); int a = sc.NextInt(); int b = sc.NextInt(); int c = sc.NextInt(); if (a < b) { if (b < c) { Console.WriteLine("Yes"); } else { C...
[["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 95], ["+", 0, 57, 64, 196, 0, 57, 75, 196, 0, 45], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 75, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], [...
8
254
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a < b) { if (b < ...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a < b) { if (b < ...
[["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 95], ["+", 0, 57, 64, 196, 0, 57, 75, 196, 0, 45], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 75, 196, 0, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], [...
8
129
using System; namespace ConsoleApplication10 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a < b && b < c) { Console.WriteLine("Yes"); } else if (a > b && b...
using System; namespace ConsoleApplication10 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a < b && b < c) { Console.WriteLine("Yes"); } else { Consol...
[["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 121], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 24], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 31, 22], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 17, 47], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 12, 22], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 98], ["-", 0, 57, 75, 57, 15, 16, 12, 16, 31, 22]...
8
122
using System; class main { public static int Main() { string x = Console.ReadLine(); string[] str = x.Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int c = int.Parse(str[2]); if (a < b && b < c) { Console.WriteLine("Yes"); } else if (a < b && b < c) { ...
using System; class main { public static int Main() { string x = Console.ReadLine(); string[] str = x.Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int c = int.Parse(str[2]); if (a < b && b < c) { Console.WriteLine("Yes"); } else { Console.WriteLine("...
[["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 121], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 24], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 31, 22], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 17, 18], ["-", 0, 57, 75, 57, 15, 16, 31, 16, 12, 22], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 98], ["-", 0, 57, 75, 57, 15, 16, 12, 16, 31, 22]...
8
123
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int T = N / 3600; int T1 = N % 3600; Console.WriteLine(T1); var M = T1 / 60; var S = T1 % 60; string A = string.Format("{0}:{1}:{2}", T, M, S); Console.WriteLine(A); } }
using System; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int T = N / 3600; int T1 = N % 3600; var M = T1 / 60; var S = T1 % 60; string A = string.Format("{0}:{1}:{2}", T, M, S); Console.WriteLine(A); } }
[["-", 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, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
92
using System; class IntroductionD { static void Main() { var s = int.Parse(Console.ReadLine()); var m = s / 60; var h = m / 60; Console.WriteLine("{0}:{1}:{2}", h, m, s % 60); } }
using System; class IntroductionD { static void Main() { var s = int.Parse(Console.ReadLine()); var h = s / 3600; var m = s % 3600 / 60; Console.WriteLine("{0}:{1}:{2}", h, m, s % 60); } }
[["-", 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, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 200, 0, 212, 0, 16, 31, 16, ...
8
59
using System; namespace _1_D { class MainClass { public static void Main(string[] args) { int h, m, s; var time = int.Parse(Console.ReadLine()); s = time % 3600; m = (time / 60) % 60; h = time / 3600; Console.WriteLine("{0}:{1}:{2}", h, m, s); } } }
using System; namespace _1_D { class MainClass { public static void Main(string[] args) { int h, m, s; var time = int.Parse(Console.ReadLine()); h = time / 3600; m = time % 3600 / 60; s = time % 3600 % 60; Console.WriteLine("{0}:{1}:{2}", h, m, s); } } }
[["-", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 85], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 203], ["-", 0,...
8
81
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string s = Console.ReadLine(); int x = int.Parse(s); int h = x / 3600; int m = (x - h * 3600) / 60; int s1 = x - h * 3600 - m * 60; Console.WriteLine(h + "," + m + "," + s1); } } }
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string s = Console.ReadLine(); int x = int.Parse(s); int h = x / 3600; int m = (x - h * 3600) / 60; int s1 = (x % 3600) - (m * 60); Console.WriteLine(h + ":" + m + ":" + s1); } } }
[["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 17, 33], ["-", 0, 212, 0, 16, 31, 16, 12, 16, 31, 22], ["-", 0, 212, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 212, 0, 16, 31, 23, 0, 16, 17, 109], ["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 25], ["+", 0, 200, 0, 212, 0, 16, 12, 23, 0, 24], ...
8
93
using System; namespace AOJ { class Program { static void Main(string[] args) { string read = Console.ReadLine(); var temp = read.Split(' '); int a = int.Parse(temp[0]), b = int.Parse(temp[1]), c = int.Parse(temp[2]); ; string msg; if (a > b) { msg = "no"; } else if (b > c) { ...
using System; namespace AOJ { class Program { static void Main(string[] args) { string read = Console.ReadLine(); var temp = read.Split(' '); int a = int.Parse(temp[0]), b = int.Parse(temp[1]), c = int.Parse(temp[2]); string msg; if (a < b && b < c) { msg = "Yes"; } else { msg =...
[["-", 8, 201, 0, 195, 8, 196, 0, 260, 0, 35], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["...
8
135
using System; namespace program { class test { static void Main() { int sec = Int16.Parse(Console.ReadLine()); int h = sec / 3600; int m = sec - h * 3600 / 60; int s = sec % 3600 - m * 60; Console.WriteLine("{0}:{1}:{2}", h, m, s); } } }
using System; namespace program { class test { static void Main() { int sec = int.Parse(Console.ReadLine()); int h = sec / 3600; int m = (sec - h * 3600) / 60; int s = sec - m * 60 - h * 3600; Console.WriteLine("{0}:{1}:{2}", h, m, s); } } }
[["-", 0, 200, 0, 212, 0, 213, 63, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 213, 63, 214, 205, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 31, 23, 0, 25], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 17, 109], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16,...
8
76
using System; namespace Watch { class Watch { static void Main() { int h; int m; int s; s = int.Parse(Console.ReadLine()); h = s / (60 * 60); s -= (h * 60 * 60); m = s / 60; s -= (m * 60); Console.WriteLine(h + ":" + m + ":" + s + "\r"); Console.WriteLine("Prease any key...
using System; namespace Watch { class Watch { static void Main() { int h; int m; int s; s = int.Parse(Console.ReadLine()); h = s / (60 * 60); s -= (h * 60 * 60); m = s / 60; s -= (m * 60); Console.WriteLine(h + ":" + m + ":" + s + "\r"); } } }
[["-", 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, 5, 0, 62], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201...
8
112
using System; namespace AOJ { class Program { static void Main(string[] args) { string read = Console.ReadLine(); int time = int.Parse(read); int hour, min, sec; hour = time / 360; time = hour * 360; min = time / 60; time = min * 60; sec = time; Console.WriteLine(hour + ":" + ...
using System; namespace AOJ { class Program { static void Main(string[] args) { string read = Console.ReadLine(); int time = int.Parse(read); int hour, min, sec; hour = time / 3600; time -= hour * 3600; min = time / 60; time -= min * 60; sec = time; Console.WriteLine(hour + ":...
[["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 110], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 8, ...
8
95
using System; namespace Project { class MainClass { public static void Main(string[] args) { string s = Console.ReadLine(); string[] sar = s.Split(' '); int a = int.Parse(sar[0]); int b = int.Parse(sar[1]); int c = int.Parse(sar[2]); if (a < b) { if (a < c) { if (b < c) { ...
using System; namespace Project { class MainClass { public static void Main(string[] args) { string s = Console.ReadLine(); string[] sar = s.Split(' '); int a = int.Parse(sar[0]); int b = int.Parse(sar[1]); int c = int.Parse(sar[2]); if (a < b && b < c) { Console.WriteLine("Yes"); }...
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 31, 22], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 18], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 12, 22],...
8
130
using System; using System.Linq; namespace ITP1_10_D { class Program { static void Main(string[] args) { int member = int.Parse(Console.ReadLine()); double[] x = Console.ReadLine() .Split(' ') .Select(a => Convert.ToDouble(a)) .ToArray(); do...
using System; using System.Linq; namespace ITP1_10_D { class Program { static void Main(string[] args) { int member = int.Parse(Console.ReadLine()); double[] x = Console.ReadLine() .Split(' ') .Select(a => Convert.ToDouble(a)) .ToArray(); do...
[["-", 12, 213, 3, 4, 0, 28, 0, 74, 0, 24], ["-", 12, 213, 3, 4, 0, 28, 0, 74, 39, 199], ["-", 12, 213, 3, 4, 0, 28, 0, 74, 0, 25], ["-", 3, 4, 0, 28, 0, 74, 51, 23, 0, 24], ["-", 0, 28, 0, 74, 51, 23, 0, 16, 31, 203], ["+", 12, 213, 3, 4, 0, 28, 0, 16, 31, 250], ["-", 0, 28, 0, 74, 51, 23, 0, 16, 12, 203], ["-", 3, 4,...
8
271
using System; using System.Collections.Generic; // using System.Linq; // using System.Text; // using System.Threading.Tasks; // namespace _2_B //{ class Program { static void Main(string[] args) { //???????????? string a = Console.ReadLine(); string[] b = a.Split(' '); int x = int.Parse(b[0]); i...
using System; using System.Collections.Generic; // using System.Linq; // using System.Text; // using System.Threading.Tasks; // namespace _2_B //{ class Program { static void Main(string[] args) { //???????????? string a = Console.ReadLine(); string[] b = a.Split(' '); int x = int.Parse(b[0]); i...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["-", 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, 131], ["-", 64, 196, 0, 1, 0, 213, 63, 214, 141...
8
141
using System; using System.Linq; class program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int c = int.Parse(str[2]); int[] num = { a, b, c }; int Max = num.Max(); int Min = num.Min(); if ((a...
using System; using System.Linq; class program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); int c = int.Parse(str[2]); int[] num = { a, b, c }; int Max = num.Max(); int Min = num.Min(); if ((a...
[["+", 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, 23, 0, 24], ["+", 0, 57, 15, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 57, 15, 16, 31, 23, 0, 16, 17, 79], ["+", 0, 57, 15, 16, 31, 23, 0, 16, 12, 22], ["+", 64, 196, 0, 57, 15, 16, 31, 23, 0, 25], [...
8
148
using System; using System.Collections.Generic; /*using System.Linq; using System.Text; using System.Threading.Tasks;*/ class Program { static void Main(string[] args) { int hs = int.Parse(Console.ReadLine()); int h = hs / 3600; int m = (hs % 3600) / 60; int s = (hs % 3600) % 60; Console.WriteLin...
using System; using System.Collections.Generic; /*using System.Linq; using System.Text; using System.Threading.Tasks;*/ class Program { static void Main(string[] args) { int hs = int.Parse(Console.ReadLine()); int h = hs / 3600; int m = (hs % 3600) / 60; int s = (hs % 3600) % 60; Console.WriteLin...
[["+", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 28, 0, 16, 31, 16, 31, 16, 17, 72], ["+", 3, 4,...
8
84
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace LogicSummoner { class Program { static void Main(string[] args) { var num = GetNumber(); Console.WriteLine(TimeSpan.FromSeconds(num)); } static int GetNumber() { r...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace LogicSummoner { class Program { static void Main(string[] args) { var num = GetNumber(); var span = new DateTime(TimeSpan.FromSeconds(num).Ticks); Console.WriteLine...
[["-", 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, 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,...
8
185
using System; class sample7 { static void Main(string[] args) { string[] str_number = Console.ReadLine().Split(' '); int[] sort_number = new int[3]; for (int i = 0; i < 3; i++) { sort_number[i] = int.Parse(str_number[i]); if (sort_number[i] < 1 || sort_number[i] > 10000) { Console....
using System; class sample7 { static void Main(string[] args) { string[] str_number = Console.ReadLine().Split(' '); int[] sort_number = new int[3]; for (int i = 0; i < 3; i++) { sort_number[i] = int.Parse(str_number[i]); if (sort_number[i] < 1 || sort_number[i] > 10000) { Console....
[["+", 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, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
8
136
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int id = 0; var diceCommand = new DiceCommand(); var diceList = Console.ReadLine() .Split(' ') ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int id = 0; var diceCommand = new DiceCommand(); var diceList = Console.ReadLine() .Split(' ') ...
[["+", 8, 201, 0, 195, 8, 196, 0, 210, 0, 266], ["+", 8, 201, 0, 195, 8, 196, 0, 210, 0, 24], ["+", 0, 195, 8, 196, 0, 210, 39, 216, 0, 217], ["+", 8, 201, 0, 195, 8, 196, 0, 210, 31, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 210, 0, 267], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 0, 1, 0, 213, 63, 214, 141, 236,...
8
345
using System; using System.Linq; namespace Test04 { class MainClass { public static void Main(string[] args) { string nums = Console.ReadLine(); string orders = Console.ReadLine(); char[] ordersArray = orders.ToCharArray(); int[] numsArray = nums.Split(' ').Select(x => int.Parse(x)).ToArray(); in...
using System; using System.Linq; namespace Test04 { class MainClass { public static void Main(string[] args) { string nums = Console.ReadLine(); string orders = Console.ReadLine(); char[] ordersArray = orders.ToCharArray(); int[] numsArray = nums.Split(' ').Select(x => int.Parse(x)).ToArray(); in...
[["+", 8, 196, 0, 7, 8, 196, 0, 7, 0, 88], ["+", 8, 196, 0, 7, 8, 196, 0, 7, 0, 24], ["+", 0, 7, 8, 196, 0, 7, 10, 198, 39, 199], ["+", 8, 196, 0, 7, 10, 198, 0, 200, 141, 22], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 32], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 7, 0, 35], ["+", 0, 7...
8
474
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _001_FindingMissingCards { class Dice { private int[] num = new int[7]; public Dice(int[] given) { num[1] = given[0]; num[2] = given[1]; num[3] = given[2]; num[4] = given[3]; num[5] = given[4]; n...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _001_FindingMissingCards { class Dice { private int[] num = new int[7]; public Dice(int[] given) { num[1] = given[0]; num[2] = given[1]; num[3] = given[2]; num[4] = given[3]; num[5] = given[4]; n...
[["-", 0, 28, 0, 213, 63, 214, 205, 5, 0, 222], ["+", 0, 28, 0, 213, 63, 214, 205, 5, 0, 222], ["+", 0, 1, 0, 213, 63, 214, 205, 273, 0, 274], ["+", 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, 28, 0, 213, 63, 214, 205, 5, 0, 6...
8
1,167
using System; namespace ITP1_11_B { class Dice { private readonly int[,] adj = new int[6, 4] { { 1, 2, 4, 3 }, { 0, 3, 5, 2 }, { 0, 1, 5, 4 }, { 0, 4, 5, 1 }, { 0, 2, 5, 3 }, { 1, 3, 4, 2 } }; private int top, front; private int[] vals = new int[6]; public int Top { get { return...
using System; namespace ITP1_11_B { class Dice { private readonly int[,] adj = new int[6, 4] { { 1, 2, 4, 3 }, { 0, 3, 5, 2 }, { 0, 1, 5, 4 }, { 0, 4, 5, 1 }, { 0, 2, 5, 3 }, { 1, 3, 4, 2 } }; private int top, front; private int[] vals = new int[6]; public int Top { get { return...
[["+", 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, 212, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25],...
8
527
using System; using System.Collections.Generic; public class Dice { public static void Main(String[] args) { //????????¶?????????????????¨?????\??????????????? // int top=0; // int bottom=5; // int north=4; // int south=1; // int east=2; // int west=3; // int temp=0; // 0-5 1243 ...
using System; using System.Collections.Generic; public class Dice { public static void Main(String[] args) { //????????¶?????????????????¨?????\??????????????? // int top=0; // int bottom=5; // int north=4; // int south=1; // int east=2; // int west=3; // int temp=0; // 0-5 1243 ...
[["+", 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, 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, 31, 22...
8
345
using System; using System.Linq; namespace ConsoleApplication2 { using System; public class Dice { public static void Main(String[] args) { string yesNo = "No"; string dataA = Console.ReadLine(); string dataB = Console.ReadLine(); string[] diceA = dataA.Split(); string[] diceB = dataB.Split()...
using System; using System.Linq; namespace ConsoleApplication2 { using System; public class Dice { public static void Main(String[] args) { string yesNo = "No"; string dataA = Console.ReadLine(); string dataB = Console.ReadLine(); string[] diceA = dataA.Split(); string[] diceB = dataB.Split()...
[["-", 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], ["-", 3, 4, 0, 28, 0, 16, 31, 5, 0, 62], ["-", 3, 4, 0, 28, 0, 16, 31, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 3...
8
380
using System; namespace TestSpace { class Test { static void Main(string[] args) { string[] arrRead; arrRead = Console.ReadLine().Split(' '); int a, b; a = int.Parse(arrRead[0]); b = int.Parse(arrRead[1]); if (a < b) { Console.WriteLine("{0}", a < b); } else if (a > b) { Con...
using System; namespace TestSpace { class Test { static void Main(string[] args) { string[] arrRead; arrRead = Console.ReadLine().Split(' '); int a, b; a = int.Parse(arrRead[0]); b = int.Parse(arrRead[1]); if (a < b) { Console.WriteLine("{0}", "a < b"); } else if (a > b) { C...
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 18], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 47], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 60]]
8
130
using System; namespace _1_2a { class Program { static void Main(string[] args) { string[] ab = Console.ReadLine().Split(' '); int a = int.Parse(ab[0]); int b = int.Parse(ab[1]); if (a < b) { Console.WriteLine("{0}<{1}", a, b); } else if (a > b) { Console.WriteLine("{0}>{1}", a, b); ...
using System; namespace _1_2a { class Program { static void Main(string[] args) { string[] ab = Console.ReadLine().Split(' '); int a = int.Parse(ab[0]); int b = int.Parse(ab[1]); if (a < b) { Console.WriteLine("a < b"); } else if (a > b) { Console.WriteLine("a > b"); } else { ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 64, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 75, 196, 0, 1, 0, 213, 3, 4, 0, 21]]
8
125
using System; namespace Project { class Dice { public int face; public int N; public int E; public int S; public int W; public int back; /* public Dice(int a1, int a2, int a3, int a4, int a5, int a6) { face = a1; N = a5; ...
using System; namespace Project { class Dice { public int face; public int N; public int E; public int S; public int W; public int back; /* public Dice(int a1, int a2, int a3, int a4, int a5, int a6) { face = a1; N = a5; ...
[["+", 0, 197, 0, 198, 39, 224, 225, 226, 0, 21], ["-", 0, 227, 39, 224, 225, 226, 0, 16, 17, 33], ["-", 0, 227, 39, 224, 225, 226, 0, 16, 12, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 21], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 22], ["-", 8, 196, 0, 1, 0, 11, 31, 204, 205, 22], ["-", 0, 1, 0, 11, 31, 204,...
8
718
using System; namespace SmallLargeEqual { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a, b; a = int.Parse(str[0]); b = int.Parse(str[1]); if (a < b) Console.WriteLine("{0} < {1}", a, b); else if (a > b) Console.WriteLine("{0...
using System; namespace SmallLargeEqual { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a, b; a = int.Parse(str[0]); b = int.Parse(str[1]); if (a < b) Console.WriteLine("a < b"); else if (a > b) Console.WriteLine("a > b"); ...
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 57, 64, 1, 0, 213, 3, 4, 0, 21], ["-", 64, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 75, 57, 64, 1, 0, 213, 3, 4, 0, 21], ["-", 75, 57, 75, 1, 0, 213, 3, 4, 0, 21], ["-", 75, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
8
122
public partial class IntroductionToProgramming { public static void Main() { string[] line = System.Console.ReadLine().Split(' '); int a = int.Parse(line[0]); int b = int.Parse(line[1]); System.Console.WriteLine(a.ToString() + (a > b ? " > " ...
public partial class IntroductionToProgramming { public static void Main() { string[] line = System.Console.ReadLine().Split(' '); int a = int.Parse(line[0]); int b = int.Parse(line[1]); System.Console.WriteLine(a > b ? "a > b" : a < b ? "a < b" : "a == b"); } }
[["-", 0, 16, 31, 16, 31, 213, 63, 214, 0, 131], ["-", 0, 16, 31, 16, 31, 213, 63, 214, 141, 22], ["-", 0, 16, 31, 16, 31, 213, 3, 4, 0, 24], ["-", 0, 16, 31, 16, 31, 213, 3, 4, 0, 25], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], ["-", 0, 28, 0, 16, 31, 16, 12, 23, 0, 24], ["-", 31, 16, 12, 23, 0, 41, 15, 16, 31, 22], [...
8
101
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a < b) { Console.WriteLine(a + " < " + b); ...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a < b) { Console.WriteLine("a < b"); } els...
[["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72], ["-", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
8
144
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a > b) { Console.WriteLine("a > b"); } ...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a < b) { Console.WriteLine("a < b"); } ...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 18], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 47]]
8
141
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { String str = Console.ReadLine(); int x = int.Parse(str); x = x * x; x = x * x; Console.Write(x); Console.Write("\n"); } } }
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { String str = Console.ReadLine(); int x = int.Parse(str); x = x * x * x; Console.WriteLine(x); } } }
[["-", 8, 201, 0, 195, 8, 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, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8,...
8
81
using System; namespace ITP1_1_B { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int x = int.Parse(input); x = x * x * x; Console.WriteLine(x = x * x * x); } } }
using System; namespace ITP1_1_B { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int x = int.Parse(input); Console.WriteLine(x * x * x); } } }
[["-", 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, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 8, 201...
8
62
using System; using System.Linq; namespace AOJ { class Program { public static void Main(string[] args) { var a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList(); Console.WriteLine("{0} {1}", (a[0] + a[1]) * 2, a[0] * a[1]); } } }
using System; using System.Linq; namespace AOJ { class Program { public static void Main(string[] args) { var a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList(); Console.WriteLine("{0} {1}", a[0] * a[1], (a[0] + a[1]) * 2); } } }
[["-", 3, 4, 0, 28, 0, 16, 31, 23, 0, 24], ["-", 0, 28, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["-", 3, 4, 0, 28, 0, 16, 31, 23, 0, 25], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 23, 0, 24], ["+", 0, 28, 0, 16,...
8
93
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); Console.WriteLine(a * b + " " + 2 * a + 2 * b); } }
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int a = int.Parse(str[0]); int b = int.Parse(str[1]); Console.WriteLine("{0} {1}", a * b, 2 * a + 2 * b); } }
[["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 28, 0, 16, 31, 16, 31, 16, 17, 72], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72]]
8
90
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { var ab = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = ab[0]; var b = ab[1]; Console.WriteLine(a * b); Console....
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { var ab = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = ab[0]; var b = ab[1]; Console.WriteLine("{0} {1}", a * b, (a...
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["-", 8, 196, 0, 1, 0, 213, 63, 214, 0, 131], ["-", 8, 19...
8
114
using System; class ITP1_1 { static void Main(string[] args) { // var exStdIn = new System.IO.StreamReader("stdin.txt"); // System.Console.SetIn(exStdIn); int[] a = Array.ConvertAll(Console.ReadLine().Split(' '), new Converter<String, int>(s => int.Parse(s))); Console....
using System; class ITP1_1 { static void Main(string[] args) { // var exStdIn = new System.IO.StreamReader("stdin.txt"); // System.Console.SetIn(exStdIn); int[] a = Array.ConvertAll(Console.ReadLine().Split(' '), new Converter<String, int>(s => int.Parse(s))); Console....
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 31, 203], ["+", 0, 16, 31, 16, 31, 16, 31, 204, 205, 22], ["+", 31, 16, 31, 16, 31, 204, 206, 207, 0, 70], ["+", 31, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 31, 16, 31, 16, 31, 204, 206, 207, 0, 73], ["+", 0, 16, 31, 16, 31, 16, 12, 204, 205, 22], ["+", 31, 16, 31, 16, 12, 204, 2...
8
80
public class Rectangle { static void Main(string[] args) { var line = System.Console.ReadLine().Trim().Split(' '); int a = int.Parse(line[0]); int b = int.Parse(line[1]); System.Console.Write(a * b); System.Console.WriteLine(2 * (a + b)); } }
public class Rectangle { static void Main(string[] args) { var line = System.Console.ReadLine().Trim().Split(' '); int a = int.Parse(line[0]); int b = int.Parse(line[1]); System.Console.WriteLine("{0} {1}", a * b, 2 * (a + b)); } }
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 0, 1, 0,...
8
90
using System; class hoge { static void Main(String[] args) { String input = Console.ReadLine(); String[] splittedInput = input.Split(null); int x = int.Parse(splittedInput[0]); int y = int.Parse(splittedInput[1]); Console.WriteLine(x * y + " " + x * 2 + y * 2); } }
using System; class hoge { static void Main(String[] args) { String input = Console.ReadLine(); String[] splittedInput = input.Split(null); int x = int.Parse(splittedInput[0]); int y = int.Parse(splittedInput[1]); Console.WriteLine("{0} {1}", x * y, x * 2 + y * 2); } }
[["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 28, 0, 16, 31, 16, 31, 16, 17, 72], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 17, 72]]
8
86
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); Console.WriteLine("{0} {1}", a, b); Console.WriteLine("{0} {1}", a * b, 2 * (a + b)); Console.ReadKey();...
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(' '); int a = int.Parse(input[0]); int b = int.Parse(input[1]); Console.WriteLine("{0} {1}", a * b, 2 * (a + b)); Console.ReadKey(); } } }
[["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["-", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["-", 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, 1...
8
104
using System; class Program { static void Main() { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int[] ret = new int[2]; ret[0] = a * b; ret[1] = (a + a) + (b + b); Console.WriteLine(string.Format(" ", ret)); } }
using System; class Program { static void Main() { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int[] ret = new int[2]; ret[0] = a * b; ret[1] = (a + a) + (b + b); Console.WriteLine(string.Format("{0} {1}", ret[0], ret[1])); } }
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 21], ["+", 0, 213, 3, 4, 0, 28, 0, 204, 205, 22], ["+", 3, 4, 0, 28, 0, 204, 206, 207, 0, 70], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 3, 4, 0, 28, 0, 204, 206, 207, 0, 73]]
8
111
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int length = int.Parse(x[0]); int side = int.Parse(x[1]); int area = length * side; int circumference = side * 3; Console.WriteLine(area + " " + circumference); } }
using System; class Program { static void Main(string[] args) { string[] x = Console.ReadLine().Split(' '); int length = int.Parse(x[0]); int side = int.Parse(x[1]); int rectangleArea = length * side; int circumference = 2 * (length + side); Console.WriteLine(rectangleArea + " " + circumfer...
[["-", 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, 31, 203], ["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 12, 23, 0, 24], ["+", 0, 212, 0, 16, 12, 23, 0, 16, 31...
8
89
using System; class program { public static int Main() { var In = Console.ReadLine(); var a = int.Parse(In.Split(' ')[0]); var b = int.Parse(In.Split(' ')[1]); var c = int.Parse(In.Split(' ')[2]); int[] array = new int[3] { a, b, c }; int buf; if (c < b) { buf = array[1]; arr...
using System; class program { public static int Main() { var In = Console.ReadLine(); var a = int.Parse(In.Split(' ')[0]); var b = int.Parse(In.Split(' ')[1]); var c = int.Parse(In.Split(' ')[2]); int[] array = new int[3] { a, b, c }; int buf; if (array[2] < array[1]) { buf = array...
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 204, 205, 22], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 70], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 57, 15, 16, 31, 204, 206, 207, 0, 73], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 2...
8
228
using System; class AOJ { public static void Main() { var input = Console.ReadLine().Trim().Split(' '); int[] list = new int[3] { int.Parse(input[0]), int.Parse(input[1]), int.Parse(input[2]) }; bool end = true; while (!end) { end = true; for (int i = 0; i <...
using System; class AOJ { public static void Main() { var input = Console.ReadLine().Trim().Split(' '); int[] list = new int[3] { int.Parse(input[0]), int.Parse(input[1]), int.Parse(input[2]) }; while (true) { bool end = true; for (int i = 0; i <= 1; i++) { ...
[["-", 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, 211, 0, 146], ["-", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 0, 195, 8, 196, 0, 52, 15, 241, 0, 111], ["-", 0, 195, 8, 196, 0, 52, 15, 241,...
8
187
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a > b) { int n =...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication6 { class Program { static void Main(string[] args) { //????????????????????¨?????????????????? string[] s = Console.ReadLine().Split(' '); //???????????????a???b???c?????´??°????????? int a = int.Parse(s[0...
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 64, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 64, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["-", 0, 197, 0, 198, 0, 200, 0, 212,...
8
211
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a > b) { int d = 0; d = a; a = b; b = d; } if ...
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); int c = int.Parse(s[2]); if (a > b) { int d = 0; d = a; a = b; b = d; } if ...
[["+", 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, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 62], ...
8
154
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AOJ1_2_D { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int W = int.Parse(str[0]); int H = int.Parse(str[1]); int x = int.Pa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AOJ1_2_D { class Program { static void Main(string[] args) { string[] str = Console.ReadLine().Split(' '); int W = int.Parse(str[0]); int H = int.Parse(str[1]); int x = int.Pa...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 139], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 17, 33], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 1...
8
166
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITP1_2_D { class Program { static void Main(string[] args) { //長方形 左下の頂点(0,0)、右上の頂点(W,H) //円 中心座標(x,y)、半径r //長方形の中に円が含まれればYes、一部でも含まれなければNoを出力 string[] i = Console.ReadLine()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITP1_2_D { class Program { static void Main(string[] args) { //長方形 左下の頂点(0,0)、右上の頂点(W,H) //円 中心座標(x,y)、半径r //長方形の中に円が含まれればYes、一部でも含まれなければNoを出力 string[] i = Console.ReadLine()...
[["-", 31, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 31, 16, 31, 16, 31, 16, 31, 16, 17, 33], ["-", 31, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["-", 0, 57, 15, 16, 31, 16, 31, 16, 17, 106], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 15, 16, 31, 16, 31, 16, 31, 16,...
8
177
using System; class Program { static void Main(string[] args) { var input = Console.ReadLine(); var split = input.Split(' '); int[] spliti = new int[10]; for (int i = 0; i < 5; i++) { spliti[i] = int.Parse(split[i]); } // var input = int.Parse(Console.ReadLine()); if ((spliti[2] + ...
using System; class Program { static void Main(string[] args) { var input = Console.ReadLine(); var split = input.Split(' '); int[] spliti = new int[10]; for (int i = 0; i < 5; i++) { spliti[i] = int.Parse(split[i]); } // var input = int.Parse(Console.ReadLine()); if ((spliti[2] + ...
[["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 95], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 205, 22], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 0, 131], ["+", 0, 57, 75, 1, 0, 213, 63, 214, 141, 22], ["+", 0, 57, 75, 1, 0, 213, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, ...
8
171
using System; namespace ITP1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int W = int.Parse(input[0]); int H = int.Parse(input[1]); int x = int.Parse(input[2]); int y = int.Parse(input[3]); int r = int.Parse(input[4]); if (x - r > 0...
using System; namespace ITP1 { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int W = int.Parse(input[0]); int H = int.Parse(input[1]); int x = int.Parse(input[2]); int y = int.Parse(input[3]); int r = int.Parse(input[4]); if (x - r<0 |...
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 16, 31, 16, 31, 16, 17, 67], ["+", 0, 57, 15, 16, 31, 16, 31, 16, 17, 139], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 1...
8
154
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { var abcde = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = abcde[0]; var b = abcde[1]; var c = abcde[2]; var d =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { var abcde = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = abcde[0]; var b = abcde[1]; var c = abcde[2]; var d =...
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["-", 31, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["-", 15, 16, 31, 16, 12, 16, 12, 16,...
8
148
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { var abcde = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = abcde[0]; var b = abcde[1]; var c = abcde[2]; var d =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication6 { class Program { static void Main(string[] args) { /*var ab = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = ab[0]; var b = ab[1]; Console.WriteLine("{0} {1}",a*b,(a+b...
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 57, 15, 16, 31, 16, 31, 16, 17, 98], ["+", 15, 16, 31, 16, 31, 16, 12, 16,...
8
138
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp5 { class Program { static void Main(string[] args) { //???????????¢???????¨? ??? //??????????¨??????????????????????????????????f??????????????? ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp5 { class Program { static void Main(string[] args) { //???????????¢???????¨? ??? //??????????¨??????????????????????????????????f??????????????? ...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, ...
8
178
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { String a = Console.ReadLine(); String[] array = a.Split(' '); //???????????????????????£??\ //??°???????????´????????£??\ int w = int.Parse(array[0]); int h = int.Parse(array[1]); int x = ...
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { String a = Console.ReadLine(); String[] array = a.Split(' '); //???????????????????????£??\ //??°???????????´????????£??\ int w = int.Parse(array[0]); int h = int.Parse(array[1]); int x = ...
[["-", 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, 23, 0, 24], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 31, 22], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 17, 33], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 15, 16, 31, 23, 0, 16, 31, 16, 17, 20],...
8
194
using System; namespace test { class Program { static void Main(string[] args) { int w, h, x, y, r; string[] str = Console.ReadLine().Split(' '); w = int.Parse(str[0]); h = int.Parse(str[1]); x = int.Parse(str[2]); y = int.Parse(str[3]); r = int.Parse(str[4]); if (x + r > w || y + r >...
using System; namespace test { class Program { static void Main(string[] args) { int w, h, x, y, r; string[] str = Console.ReadLine().Split(' '); w = int.Parse(str[0]); h = int.Parse(str[1]); x = int.Parse(str[2]); y = int.Parse(str[3]); r = int.Parse(str[4]); if (x + r > w || y + r >...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 106], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 17, 33], ["+", 15, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 1...
8
148
using System; class Program { static void Main(string[] args) { string[] num = Console.ReadLine().Split(' '); int w, h, x, y, r; w = int.Parse(num[0]); h = int.Parse(num[1]); x = int.Parse(num[2]); y = int.Parse(num[3]); r = int.Parse(num[4]); if (x - r < 0 || x + r > w && y - r < 0...
using System; class Program { static void Main(string[] args) { string[] num = Console.ReadLine().Split(' '); int w, h, x, y, r; w = int.Parse(num[0]); h = int.Parse(num[1]); x = int.Parse(num[2]); y = int.Parse(num[3]); r = int.Parse(num[4]); if (x - r < 0 || x + r > w) { Con...
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 98], ["+", 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, 131], ["+", 64, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 64, 196, 0, 1, 0, 213, 3, 4, 0, 2...
8
182
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AOJ1_3_B { class Program { static void Main(string[] args) { for (int i = 1; i > 0; i++) { int x = int.Parse(Console.ReadLine()); Console.WriteLine("Case {0}: {1}", i, x); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AOJ1_3_B { class Program { static void Main(string[] args) { for (int i = 1; i > 0; i++) { int x = int.Parse(Console.ReadLine()); if (x == 0) { break; } else { ...
[["+", 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, 16, 31, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196...
8
89
using System; namespace Test { class MainClass { public static void Main(string[] args) { while (true) { var input = Console.ReadLine(); var index = 0; if (input == "0") return; Console.WriteLine("Case {0}: {1}", ++index, input); } } } }
using System; namespace Test { class MainClass { public static void Main(string[] args) { var index = 0; while (true) { var input = Console.ReadLine(); if (input == "0") return; Console.WriteLine("Case {0}: {1}", ++index, input); } } } }
[["+", 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, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["-", 8, 196, 0, 52, 8, 196, 0, 197, 0, 35], ["-", 8, 196, 0, 197, 0, 198, 39, 216, ...
8
67
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { while (true) { string s = Console.ReadLine(); int i = 0; int x = int.Parse(s); if (x == 0) { break; } Console.WriteLine("Case " + (i + 1) + ": " + x); i++; } } }...
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int i = 0; while (true) { string s = Console.ReadLine(); int x = int.Parse(s); if (x == 0) { break; } Console.WriteLine("Case " + (i + 1) + ": " + x); i++; } } } ...
[["+", 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], ["-", 8, 196, 0, 52, 8, 196, 0, 197, 0, 35], ["-", 0, 52, 8, 196, 0, 197, 0, 198, 39...
8
86
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { int count = 1; while (true) { int num = int.Parse(Console.ReadLine()); if (num == 0) { break; } Console.WriteLine("Case {0}: {1}", count, num); } } }
using System; using System.Linq; class Program { static void Main(string[] args) { // int[] lines = Console.ReadLine().Split(' ').Select(s => // int.Parse(s)).ToArray(); int count = 1; while (true) { int num = int.Parse(Console.ReadLine()); if (num == 0) break; Console.W...
[["-", 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], ["-", 0, 52, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 0, 52, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 8, 196, 0, 52, 8, 196,...
8
73
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ITP1_3B { class Program { static void Main(string[] args) { int count = 0; while (true) { String inString = Console.ReadLine(); if (inString == null) break; count++; Console.WriteL...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ITP1_3B { class Program { static void Main(string[] args) { int count = 0; while (true) { int inInt = int.Parse(Console.ReadLine()); if (inInt == 0) break; count++; Console.WriteLi...
[["-", 0, 52, 8, 196, 0, 197, 0, 198, 39, 22], ["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 0, 52, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 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...
8
87
using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { int i = 1; while (true) { int input = int.Parse(Console.ReadLine()); if (input != 0) { Console.WriteLine("Case " + i + ": " + input); ...
using System; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { int i = 1; while (true) { int input = int.Parse(Console.ReadLine()); if (input != 0) { Console.WriteLine("Case " + i + ": " + input); i++; } else { break; } } ...
[["-", 36, 36, 36, 36, 0, 208, 0, 231, 0, 233], ["-", 0, 208, 0, 231, 141, 232, 234, 232, 234, 22], ["-", 0, 208, 0, 231, 141, 232, 234, 232, 0, 131], ["-", 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, ...
8
89
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication32 { class Program { static void Main() { while (true) { int a = int.Parse(Console.ReadLine()); if (a == 0) break; int b = 1; Console.WriteLine("Case {0}: {1}", b, a);...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication32 { class Program { static void Main() { int b = 1; while (true) { int a = int.Parse(Console.ReadLine()); if (a == 0) break; Console.WriteLine("Case {0}: {1}", b, a); ...
[["+", 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, 52, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 8, 196, 0, 197, 0, 198, 0, 200,...
8
84
using System; using System.Collections.Generic; public class DateSet { // 0?????\????????§??°?????????????????? static void Main(string[] args) { /*---??£?¨???¨---*/ int i = 0; int k; List<int> list = new List<int>(); /*---??£?¨???¨---*/ // 0?????\????????§???????????? while (true) { ...
using System; using System.Collections.Generic; public class DateSet { // 0?????\????????§??°???????????????????????????????????? static void Main(string[] args) { /*---??£?¨???¨---*/ int i = 0; int k; List<int> list = new List<int>(); /*---??£?¨???¨---*/ // 0?????\????????§???????????? ...
[["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 31, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
8
116
using System; class program { public static int Main() { var str = Console.ReadLine(); var x = int.Parse(str.Split(' ')[0]); var y = int.Parse(str.Split(' ')[1]); if (x > y) { Console.WriteLine("{0} {1}", y, x); } else { Console.WriteLine("{0} {1}", x, y); } return 0; } }
using System; class program { public static int Main() { while (true) { var str = Console.ReadLine(); var x = int.Parse(str.Split(' ')[0]); var y = int.Parse(str.Split(' ')[1]); if (x == 0 && y == 0) break; if (x > y) { Console.WriteLine("{0} {1}", y, x); } e...
[["+", 8, 201, 0, 195, 8, 196, 0, 52, 0, 89], ["+", 8, 201, 0, 195, 8, 196, 0, 52, 0, 24], ["+", 0, 195, 8, 196, 0, 52, 15, 211, 0, 146], ["+", 8, 201, 0, 195, 8, 196, 0, 52, 0, 25], ["+", 0, 195, 8, 196, 0, 52, 8, 196, 0, 45], ["+", 0, 200, 0, 212, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 52, 8, 196, 0, 197, 0, 35], ["+...
8
104
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(' '); int x = int.Parse(s[0]); int y = int.Parse(s[0]); if (x == 0 && y == 0) ...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication7 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(' '); int x = int.Parse(s[0]); int y = int.Parse(s[1]); if (x == 0 && y == 0) ...
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22], ...
8
133
using System; namespace ConsoleApplication13 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a < b) { Console.WriteLine(a + " " + b); } else if (a > b) { ...
using System; namespace ConsoleApplication13 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(' '); int a = int.Parse(s[0]); int b = int.Parse(s[1]); if (a < b) { Console.WriteLine(a + " " + b); } else if (a > b) { ...
[["+", 0, 52, 8, 196, 0, 57, 75, 57, 0, 95], ["+", 0, 57, 75, 57, 75, 57, 64, 196, 0, 45], ["+", 0, 57, 75, 57, 75, 57, 64, 196, 0, 46], ["+", 8, 196, 0, 57, 75, 57, 75, 57, 0, 95], ["+", 0, 57, 75, 57, 75, 57, 75, 196, 0, 45], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 205, 22], ["+", 75, 196, 0, 1, 0, 213, 63, 214, 0, 131...
8
127
using LIB; using System; using System.Linq; using System.Text; using System.Collections.Generic; class Program { static void Main(string[] args) { while (true) { int[] n = io.r<int>(' '); if (n[0] == n[1]) { break; } Array.Sort(n); io.w(n[0].ToString() + " " + n[1].ToString(...
using LIB; using System; using System.Linq; using System.Text; using System.Collections.Generic; class Program { static void Main(string[] args) { while (true) { int[] n = io.r<int>(' '); if ((n[0] == n[1]) && (n[0] == 0)) { break; } Array.Sort(n); io.w(n[0].ToString() + " "...
[["+", 8, 196, 0, 57, 15, 16, 31, 23, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 23, 0, 25], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 23, 0, 24], ["+", 15, 16, 12, 23, 0, 16, 31, 204, 205, 22], ["+", 12, 23, 0, 16, 31, 204, 206, 207, 0, 70], ["+", 0, 16, 31, 204, 206, 207, 0, 28, 0, 2...
8
572
using System; namespace test { class program { static void Main() { while (true) { string[] str = Console.ReadLine().Split(' '); int x = int.Parse(str[0]); int y = int.Parse(str[1]); if (x == 0 && y == 0) break; if (x > y) Console.WriteLine("{0} {1}", y, x); if...
using System; namespace test { class program { static void Main() { while (true) { string[] str = Console.ReadLine().Split(' '); int x = int.Parse(str[0]); int y = int.Parse(str[1]); if (x == 0 && y == 0) break; if (x > y) Console.WriteLine("{0} {1}", y, x); if...
[["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 24], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 25], ["+", 0, 57, 64, 1, 0, 213, 63, 214, 205, 22], ["+"...
8
118
using System; using System.Collections.Generic; namespace ConsoleApplication12 { class Program { static void Main(string[] args) { while (true) { string[] str = Console.ReadLine().Split(' '); int x = int.Parse(str[0]); int y = int.Parse(str[1]); if (x == 0 && y == 0) { break; ...
using System; using System.Collections.Generic; namespace ConsoleApplication12 { class Program { static void Main(string[] args) { while (true) { string[] str = Console.ReadLine().Split(' '); int x = int.Parse(str[0]); int y = int.Parse(str[1]); if (x == 0 && y == 0) { break; ...
[["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 24], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 25], ["+", 0, 52, 8, 196, 0, 57, 64, 196, 0, 45], ["+", ...
8
147
using System; class Untitled { static void Main(string[] args) { // ???????????´??° x, y // ?????????????????????????????????????°?????????????????????????????????°?????????????????????????????? // x, y???0???????????? bool parsed = false; int a = 0, b = 0; string s = null; while (!string...
using System; class Untitled { static void Main(string[] args) { // ???????????´??° x, y // ?????????????????????????????????????°?????????????????????????????????°?????????????????????????????? // x, y???0???????????? bool parsed = false; int a = 0, b = 0; string s = null; while (!string...
[["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 196, 0, 57, 64, 196, 0, 57, 0, 25], ["+", 0, 57, 64, 196, 0, 57, 64, 196, 0, 45],...
8
165
using System; using System.Linq; class P { static void Swap<T>(ref T a, ref T b) { var c = a; a = b; b = c; } static void Main() { for (var tc = 1;; tc++) { var a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); if (a[0] > a[1]) Swap(ref a[0], ref a[1]); ...
using System; using System.Linq; class P { static void Swap<T>(ref T a, ref T b) { var c = a; a = b; b = c; } static void Main() { for (;;) { var a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); if (a[0] > a[1]) Swap(ref a[0], ref a[1]); if (a[1] =...
[["-", 8, 196, 0, 7, 10, 198, 39, 216, 0, 217], ["-", 8, 196, 0, 7, 10, 198, 0, 200, 141, 22], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 32], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 195, 8, 196, 0, 7, 26, 223, 0, 22], ["-", 0, 195, 8, 196, 0, 7, 26, 223, 0, 29], ["+", 0, 7, 8, 196, 0, 57, 64, 1, 0, 35], ["...
8
140
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication27 { class Program { static void Main() { while (true) { int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (a[0] == 0 && a[1] == 0) break; Console.WriteLi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication27 { class Program { static void Main() { while (true) { int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (a[0] == 0 && a[1] == 0) break; Array.Sort(a); ...
[["+", 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, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]]
8
104
using System; namespace ITP1_3_C { class Program { static void Main(string[] args) { while (true) { string[] strs = Console.ReadLine().Split(' '); int a = int.Parse(strs[0]); int b = int.Parse(strs[1]); if (a == 0 && b == 0) break; Console.WriteLine("{0} {1}", b, a); } ...
using System; namespace ITP1_3_C { class Program { static void Main(string[] args) { while (true) { string[] strs = Console.ReadLine().Split(' '); int a = int.Parse(strs[0]); int b = int.Parse(strs[1]); if (a == 0 && b == 0) break; Console.WriteLine("{0} {1}", a < b ? a : b,...
[["+", 3, 4, 0, 28, 0, 41, 15, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 17, 18], ["+", 3, 4, 0, 28, 0, 41, 15, 16, 12, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 101], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 64, 22], ["+", 0, 213, 3, 4, 0, 28, 0, 41, 0, 102]]
8
97
using System; using System.Linq; namespace _3_C { class Program { static void Main(string[] args) { bool z = true; while (z) { int[] x1 = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (!(x1[0] == 0 && x1[1] == 0)) { int[] x2 = new int[] { x1[0], x1[1] }; Array.Sort(...
using System; using System.Linq; namespace _3_C { class Program { static void Main(string[] args) { bool z = true; while (z) { int[] x1 = Console.ReadLine().Split().Select(int.Parse).ToArray(); if (!(x1[0] == 0 && x1[1] == 0)) { Array.Sort(x1); Console.WriteLine(x1[0] + " " + x...
[["-", 64, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 70], ["-", 0, 197, 0, 198, 39, 224, 225, 226, 0, 73], ["-", 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, 227, 0, 228], ["-", 0, 200, 0, 212, 0, 227,...
8
139
using System; using System.Collections.Generic; // using System.Linq; // using System.Text; // using System.Threading.Tasks; // namespace _3_C //{ class Program { static void Main(string[] args) { int i = 1; while (true) { //????????????????????? string readData = Console.ReadLine(); // ?...
using System; using System.Collections.Generic; // using System.Linq; // using System.Text; // using System.Threading.Tasks; // namespace _3_C //{ class Program { static void Main(string[] args) { int i = 1; while (true) { //????????????????????? string readData = Console.ReadLine(); // ?...
[["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 25]...
8
143
// This file is a "Hello, world!" in C# language by Mono for wandbox. using System; using System.Linq; using System.Collections.Generic; namespace Wandbox { class Program { static void Main(string[] args) { while (true) { var a = Console.ReadLine().Split(' '); if (a[0] == "0" && a[1] == "0") ...
// This file is a "Hello, world!" in C# language by Mono for wandbox. using System; using System.Linq; using System.Collections.Generic; namespace Wandbox { class Program { static void Main(string[] args) { while (true) { var a = Console.ReadLine().Split(' ').OrderBy(x => -int.Parse(x)).ToArray...
[["+", 0, 213, 63, 214, 205, 213, 63, 214, 0, 131], ["+", 0, 213, 63, 214, 205, 213, 63, 214, 141, 22], ["+", 0, 213, 63, 214, 205, 213, 3, 4, 0, 24], ["+", 0, 28, 0, 218, 54, 219, 0, 220, 141, 22], ["+", 205, 213, 3, 4, 0, 28, 0, 218, 0, 221], ["+", 3, 4, 0, 28, 0, 218, 8, 241, 0, 33], ["+", 0, 218, 8, 241, 0, 213, 63...
8
98
using System; namespace AOJ.intro { namespace ITP_1_3_C { public static class SwappingTwoNumbers { public static void Main() { // テストケース入力部 for (int i = 0; i < 3000; ++i) { string[] test = Console.ReadLine().Split(); var inputDataX = int.Parse(test[0]); var inputDataY = int....
using System; namespace AOJ.intro { namespace ITP_1_3_C { public static class SwappingTwoNumbers { public static void Main() { // テストケース入力部 for (int i = 0; i < 3000; ++i) { string[] test = Console.ReadLine().Split(); var inputDataX = int.Parse(test[0]); var inputDataY = int....
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 79], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 45], [...
8
129
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITP1 { class ITP1_3_D { static void Main(string[] args) { int a, b, c; int divisor_count = 0; List<int> dataSet = Console.ReadLine().Split().Select(int.Parse).ToList(); a = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITP1 { class ITP1_3_D { static void Main(string[] args) { int a, b, c; int divisor_count = 0; List<int> dataSet = Console.ReadLine().Split().Select(int.Parse).ToList(); a = ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35], ["+", 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
144
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { while (true) { //????????¨?????????????????? string[] s = Console.ReadLine().Split(' '); int high = int.Parse(s[0]); int width = int.Parse(s...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { while (true) { //????????¨?????????????????? string[] s = Console.ReadLine().Split(' '); int high = int.Parse(s[0]); int width = int.Parse(s...
[["+", 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, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 44], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196,...
8
152
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(); int h = int.Parse(s[0]); int w = int.Parse(s[1]); if (h == 0 && w == 0) { break; } for (int i = 0; i < h; i++) { ...
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { while (true) { string[] s = Console.ReadLine().Split(); int h = int.Parse(s[0]); int w = int.Parse(s[1]); if (h == 0 && w == 0) { break; } for (int i = 0; i < h; i++) { ...
[["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 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, 3, 4, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8...
8
132
using System; namespace AizuOnLine { class Program { static void Main(string[] args) { while (true) { string[] data = Console.ReadLine().Split(' '); int h = Convert.ToInt32(data[0]); int w = Convert.ToInt32(data[1]); if (h == 0 && w == 0) { break; } for (int x = 0; x...
using System; namespace AizuOnLine { class Program { static void Main(string[] args) { while (true) { string[] data = Console.ReadLine().Split(' '); int h = Convert.ToInt32(data[0]); int w = Convert.ToInt32(data[1]); if (h == 0 && w == 0) { break; } for (int x = 0; x...
[["+", 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, 199], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 0, 131], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 141, 22], ["...
8
117