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;
class main {
public static void Main() {
int ct;
int[] H = new int[100000000];
int[] W = new int[100000000];
for (ct = 0;; ct++) {
string[] str = Console.ReadLine().Split(' ');
H[ct] = int.Parse(str[0]);
W[ct] ... | using System;
using System.Collections;
using System.Collections.Generic;
class main {
public static void Main() {
int ct;
int[] H = new int[100000];
int[] W = new int[100000];
for (ct = 0;; ct++) {
string[] str = Console.ReadLine().Split(' ');
H[ct] = int.Parse(str[0]);
W[ct] = int.... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203]] | 8 | 207 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
while (true) {
int[] inputs =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int h = inputs[0];
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
while (true) {
int[] inputs =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
int h = inputs[0];
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 163 |
using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// double input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
int[,] input =
new int[(int)Input.Define.MAX_ArraySize, (int)Input.Define.ArraySize2d];
int num = 0;
// input = C... | using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// double input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
int[,] input =
new int[(int)Input.Define.MAX_ArraySize, (int)Input.Define.ArraySize2d];
int num = 0;
// input = C... | [["-", 8, 201, 0, 329, 8, 330, 0, 331, 51, 203], ["+", 8, 201, 0, 329, 8, 330, 0, 331, 51, 203]] | 8 | 604 |
using System;
class Print_a_Rectangle {
public static void Main() {
while (true) {
string number_str = Console.ReadLine();
string[] number_tmp = number_str.Split();
int H = int.Parse(number_tmp[0]);
int W = int.Parse(number_tmp[1]);
if (H == 0 && W == 0)
break;
for (... | using System;
class Print_a_Rectangle {
public static void Main() {
while (true) {
string number_str = Console.ReadLine();
string[] number_tmp = number_str.Split();
int H = int.Parse(number_tmp[0]);
int W = int.Parse(number_tmp[1]);
if (H == 0 && W == 0)
break;
for (... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 126 |
using System;
using System.Linq;
namespace Ex160506_1 {
public class Program {
public static void Main(string[] args) {
while (true) {
var input = Console.ReadLine().Split(' ');
var h = int.Parse(input[0]);
var w = int.Parse(input[1]);
if (h + w == 0)
break;
Enumerable.Repe... | using System;
using System.Linq;
namespace Ex160506_1 {
public class Program {
public static void Main(string[] args) {
while (true) {
var input = Console.ReadLine().Split(' ');
var h = int.Parse(input[0]);
var w = int.Parse(input[1]);
if (h + w == 0)
break;
Enumerable.Repe... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 120 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
while (true) {
var HW = Console.ReadLine().Split().Select(int.Parse).ToArray();
var H = HW[0];
var W = HW[1];
if (H == 0)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
while (true) {
var HW = Console.ReadLine().Split().Select(int.Parse).ToArray();
var H = HW[0];
var W = HW[1];
if (H == 0)... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 145 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp9 {
class Program {
public static void Main(string[] args) {
while (true) {
string[] sss = Console.ReadLine().Split(' ');
int a = int.Parse(sss[0]);
int b = int.Parse(sss[1]);
if (a =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp9 {
class Program {
public static void Main(string[] args) {
while (true) {
string[] sss = Console.ReadLine().Split(' ');
int a = int.Parse(sss[0]);
int b = int.Parse(sss[1]);
if (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], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 151 |
using System;
using System.Linq;
namespace AOJ_console {
class _1_5_A {
static void Main() {
while (true) {
var rect =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList();
if (rect[0] == 0 && rect[1] == 0)
break;
Enumerable.Range(1, rect[0])
.Select(x =>... | using System;
using System.Linq;
namespace AOJ_console {
class _1_5_A {
static void Main() {
while (true) {
var rect =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList();
if (rect[0] == 0 && rect[1] == 0)
break;
Enumerable.Range(1, rect[0])
.Select(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], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 146 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AOJ {
public class AOJ {
public static void Main(string[] args) {
while (true) {
int[] n = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (n[0] == 0 && n[1] == 0)
break;
string cache = new string(... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AOJ {
public class AOJ {
public static void Main(string[] args) {
while (true) {
int[] n = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (n[0] == 0 && n[1] == 0)
break;
string cache = new string(... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 131 |
using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int H = int.Parse(temp_string[0]), W = int.Parse(temp_string[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; ... | using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int H = int.Parse(temp_string[0]), W = int.Parse(temp_string[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; ... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 133 |
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
while (true) {
string input = Console.ReadLine();
string[] change = input.Split(' ');
int h = int.Parse(change[0]);
int w = int.Parse(change[1]);
if (h == 0 && w == 0)
break;
... | using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
while (true) {
string input = Console.ReadLine();
string[] change = input.Split(' ');
int h = int.Parse(change[0]);
int w = int.Parse(change[1]);
if (h == 0 && w == 0)
break;
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 136 |
using System;
class A {
public static void Main() {
while (true) {
string[] input = Console.ReadLine().Split(' ');
int H = int.Parse(input[0]);
int W = int.Parse(input[1]);
if (H == W && H == 0) {
break;
}
for (int x = 0; x < W; x++) {
for (int i = 0; i < H;... | using System;
class A {
public static void Main() {
while (true) {
string[] input = Console.ReadLine().Split(' ');
int H = int.Parse(input[0]);
int W = int.Parse(input[1]);
if (H == W && H == 0) {
break;
}
for (int x = 0; x < H; x++) {
for (int i = 0; i < W;... | [["-", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 132 |
using System;
namespace ITP1_5_A {
class Program {
static void Main(string[] args) {
for (int i = 1;; i++) {
string[] input = Console.ReadLine().Split(' ');
int h = int.Parse(input[0]);
int w = int.Parse(input[1]);
if (h == 0 && w == 0)
break;
for (int j = 1; j <= h; j++) ... | using System;
namespace ITP1_5_A {
class Program {
static void Main(string[] args) {
for (int i = 1;; i++) {
string[] input = Console.ReadLine().Split(' ');
int h = int.Parse(input[0]);
int w = int.Parse(input[1]);
if (h == 0 && w == 0)
break;
for (int j = 1; j <= h; j++) ... | [["+", 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, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 138 |
using System;
using System.Linq;
namespace _5_A {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
int a = x[0];
int b = x[1];
for (int a1 = 1; a1 <... | using System;
using System.Linq;
namespace _5_A {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
int a = x[0];
int b = x[1];
for (int a1 = 1; a1 <... | [["+", 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, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 143 |
using System;
using System.Linq;
namespace _5_A {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
for (int i = 0; i < x[0]; i++) {
for (int I = 0; I < ... | using System;
using System.Linq;
namespace _5_A {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
for (int i = 0; i < x[0]; i++) {
for (int I = 0; I < ... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 132 |
using System;
namespace aoj5a {
class Program {
static int Main(string[] args) {
for (;;) {
string[] HandW = (Console.ReadLine()).Split(' ');
int H = int.Parse(HandW[0]);
int W = int.Parse(HandW[1]);
if (H + W == 0) {
return 0;
}
string line = null;
for (int i... | using System;
namespace aoj5a {
class Program {
static int Main(string[] args) {
for (;;) {
string[] HandW = (Console.ReadLine()).Split(' ');
int H = int.Parse(HandW[0]);
int W = int.Parse(HandW[1]);
if (H + W == 0) {
return 0;
}
string line = null;
for (int i... | [["+", 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, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 138 |
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) {
while (true) {
var nums = GetNumbersInt();
if (nums[0] == 0 && nums[1] == 0) {
break;
... | 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) {
while (true) {
var nums = GetNumbersInt();
if (nums[0] == 0 && nums[1] == 0) {
break;
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 392 |
using System;
namespace _1_5_A {
class Program {
static void Main(string[] args) {
while (true) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a == 0 || b == 0) {
break;
}
for (int i = 0; i < a; i += 1) {
... | using System;
namespace _1_5_A {
class Program {
static void Main(string[] args) {
while (true) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a == 0 || b == 0) {
break;
}
for (int i = 0; i < a; i += 1) {
... | [["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22]] | 8 | 147 |
using System;
using System.Linq;
namespace Number {
class Program {
static void Main(string[] args) {
while (true) {
string s = Console.ReadLine().Trim('\n');
if (s == "0 0")
break;
int[] i = s.Split(' ').Select(e => int.Parse(e)).ToArray();
int a = i[0];
int b = i[1];
... | using System;
using System.Linq;
namespace Number {
class Program {
static void Main(string[] args) {
while (true) {
string s = Console.ReadLine().Trim('\n');
if (s == "0 0")
break;
int[] i = s.Split(' ').Select(e => int.Parse(e)).ToArray();
int a = i[0];
int b = i[1];
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 134 |
using System;
public class Test {
public static void Main() {
string[] data;
int H, W;
while (true) {
data = Console.ReadLine().Split();
if (int.Parse(data[0]) == 0 && int.Parse(data[1]) == 0) {
break;
}
for (H = int.Parse(data[0]); H > 0; H--) {
for (W = int.Par... | using System;
public class Test {
public static void Main() {
string[] data;
int H, W;
while (true) {
data = Console.ReadLine().Split();
if (int.Parse(data[0]) == 0 && int.Parse(data[1]) == 0) {
break;
}
for (H = int.Parse(data[0]); H > 0; H--) {
for (W = 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 135 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
List<int> a = new List<int>();
List<int> b = new List<int>();
// long[] a = new long[n];
// string[] s = Console.ReadLine().Split(' ');
// int a = int.Parse(Console.ReadLine());
while (true)... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
List<int> a = new List<int>();
List<int> b = new List<int>();
// long[] a = new long[n];
// string[] s = Console.ReadLine().Split(' ');
// int a = int.Parse(Console.ReadLine());
while (true)... | [["-", 8, 196, 0, 7, 15, 16, 12, 204, 205, 22], ["+", 8, 196, 0, 7, 15, 16, 12, 204, 205, 22]] | 8 | 214 |
using System;
class Program {
public static void Main(string[] args) {
while (true) {
string[] read = Console.ReadLine().Split(' ');
int H = int.Parse(read[0]);
int W = int.Parse(read[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j <... | using System;
class Program {
public static void Main(string[] args) {
while (true) {
string[] read = Console.ReadLine().Split(' ');
int H = int.Parse(read[0]);
int W = int.Parse(read[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j <... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 128 |
using System;
using System.Linq;
class Program {
static void Main() {
int[] dts = null;
string r = "";
while (true) {
// 0:H, 1:W
dts = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
if (dts[0] == 0 && dts[1] == 0)
break;
for (int i = 0; i < dts[0]; ... | using System;
using System.Linq;
class Program {
static void Main() {
int[] dts = null;
string r = "";
while (true) {
// 0:H, 1:W
dts = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
if (dts[0] == 0 && dts[1] == 0)
break;
for (int i = 0; i < dts[0]; ... | [["+", 0, 52, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 52, 8, 196, 0, 7, 8, 196, 0, 46]] | 8 | 152 |
using System;
using System.Collections.Generic;
namespace ConsoleApp3_ITP1_5_A {
class Program {
static void Main(string[] args) {
List<string[]> inputList = new List<string[]>();
for (;;) {
string[] input = Console.ReadLine().Split(' ');
var height = input[0];
var width = input[1];
... | using System;
using System.Collections.Generic;
namespace ConsoleApp3_ITP1_5_A {
class Program {
static void Main(string[] args) {
List<string[]> inputList = new List<string[]>();
for (;;) {
string[] input = Console.ReadLine().Split(' ');
var height = input[0];
var width = input[1];
... | [["-", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22], ["+", 8, 196, 0, 1, 0, 213, 63, 214, 141, 22]] | 8 | 212 |
using System;
using System.Linq;
using System.Text;
class Problem {
public static void Main() {
var str = "";
while ((str = Console.ReadLine()) != "0 0") {
var data = str.Split().Select(int.Parse).ToArray();
var line = "";
for (var i = 0; i < data[1]; i++)
line += "#";
for (va... | using System;
using System.Linq;
using System.Text;
class Problem {
public static void Main() {
var str = "";
while ((str = Console.ReadLine()) != "0 0") {
var data = str.Split().Select(int.Parse).ToArray();
var line = "";
for (var i = 0; i < data[1]; i++)
line += "#";
for (va... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 122 |
using System;
namespace PrintRectangle {
class MainClass {
public static void Main(string[] args) {
while (true) {
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
int height, Wide;
height = int.Parse(tmp[0]);
Wide = int.Parse(tmp[1]);
if (height == 0 && Wide == 0)
... | using System;
namespace PrintRectangle {
class MainClass {
public static void Main(string[] args) {
while (true) {
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
int height, Wide;
height = int.Parse(tmp[0]);
Wide = int.Parse(tmp[1]);
if (height == 0 && Wide == 0)
... | [["-", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 41, 75, 5, 0, 222]] | 8 | 173 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
while (true) {
string[] str = Console.ReadLine().Split(' ');
int tate = int.Parse(str[0]);
int yoko = int.Parse(str[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
while (true) {
string[] str = Console.ReadLine().Split(' ');
int tate = int.Parse(str[0]);
int yoko = int.Parse(str[1]);
... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 57, 15, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 57, 15, 16, 31, 23, 0, 16, 12, 203]] | 8 | 232 |
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... | [["-", 31, 16, 31, 16, 31, 23, 0, 16, 12, 203], ["+", 31, 16, 31, 16, 31, 23, 0, 16, 12, 203]] | 8 | 201 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int H = int.Parse(str[0]);
int W = int.Parse(str[1]);
while (H != 0 || W != 0) {
for (int i = 0; i ... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int H = int.Parse(str[0]);
int W = int.Parse(str[1]);
while (H != 0 || W != 0) {
for (int i = 0; i ... | [["+", 0, 57, 15, 16, 12, 16, 12, 16, 17, 33], ["+", 0, 57, 15, 16, 12, 16, 12, 16, 12, 203], ["+", 75, 57, 15, 16, 12, 16, 12, 16, 17, 33], ["+", 75, 57, 15, 16, 12, 16, 12, 16, 12, 203]] | 8 | 228 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApp9 {
class Program {
public static void Main(string[] args) {
while (true) {
string[] sss = Console.ReadLine().Split(' ');
int a = int.Parse(sss[0]);
int b = int.Pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApp9 {
class Program {
public static void Main(string[] args) {
while (true) {
string[] sss = Console.ReadLine().Split(' ');
int a = int.Parse(sss[0]);
int b = int.Pa... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 188 |
using System;
class A {
public static void Main() {
while (true) {
string[] input = Console.ReadLine().Split(' ');
int H = int.Parse(input[0]);
int W = int.Parse(input[1]);
if (H == W && H == 0) {
break;
}
for (int x = 0; x < H; x++) {
for (int i = 0; i < W;... | using System;
class A {
public static void Main() {
while (true) {
string[] input = Console.ReadLine().Split(' ');
int H = int.Parse(input[0]);
int W = int.Parse(input[1]);
if (H == W && H == 0) {
break;
}
for (int x = 0; x < H; x++) {
for (int i = 0; i < W;... | [["-", 15, 16, 31, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 16, 31, 16, 12, 16, 12, 16, 31, 22], ["-", 15, 16, 12, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 16, 12, 16, 12, 16, 12, 16, 31, 22]] | 8 | 168 |
using System;
namespace KitaSoftKoubouEnshuuMondai {
class Program {
static void Main(string[] args) {
while (true) {
string[] data = Console.ReadLine().Split(' ');
int H = int.Parse(data[0]);
int W = int.Parse(data[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H;... | using System;
namespace KitaSoftKoubouEnshuuMondai {
class Program {
static void Main(string[] args) {
while (true) {
string[] data = Console.ReadLine().Split(' ');
int H = int.Parse(data[0]);
int W = int.Parse(data[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H;... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 175 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace StartFinish {
class Program {
static void Main(string[] args) {
while (true) {
int[] hw = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (hw[0] == 0 && hw[1] == 0) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace StartFinish {
class Program {
static void Main(string[] args) {
while (true) {
int[] hw = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (hw[0] == 0 && hw[1] == 0) {
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 229 |
using System;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
while (true) {
string Date = Console.ReadLine();
string[] date = Date.Split(' ');
int H = int.Parse(date[0]);
int W = int.Parse(date[1]);
if (H == 0 && W == 0) // H,W??±???0????????????
... | using System;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
while (true) {
string Date = Console.ReadLine();
string[] date = Date.Split(' ');
int H = int.Parse(date[0]);
int W = int.Parse(date[1]);
if (H == 0 && W == 0) // H,W??±???0????????????
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 223 |
using System;
using System.Linq;
public class Hello {
public static void Main() {
string[] s;
int W, H = 0;
while ((s = Console.ReadLine().Split()) != null) {
H = int.Parse(s[0].ToString());
W = int.Parse(s[1].ToString());
if (H == 0 && W == 0)
break;
for (int i = 0; i ... | using System;
using System.Linq;
public class Hello {
public static void Main() {
string[] s;
int W, H = 0;
while ((s = Console.ReadLine().Split()) != null) {
H = int.Parse(s[0].ToString());
W = int.Parse(s[1].ToString());
if (H == 0 && W == 0)
break;
for (int i = 0; i ... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 183 |
using System;
public class Test {
public static void Main() {
string[] data;
int H, W; //???????¨?
while (true) {
data = Console.ReadLine().Split();
if (int.Parse(data[0]) == 0 && int.Parse(data[1]) == 0) {
break;
}
for (H = int.Parse(data[0]); H > 0; H--) {
for ... | using System;
public class Test {
public static void Main() {
string[] data;
int H, W; //???????¨?
while (true) {
data = Console.ReadLine().Split();
if (int.Parse(data[0]) == 0 && int.Parse(data[1]) == 0) {
break;
}
for (H = int.Parse(data[0]); H > 0; H--) {
for ... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 184 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
List<int> InputList = new List<int>();
List<List<int>> ResultList = new List<List<int>>();
string oputputstring = string.Empty;
string outputpoint = st... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
List<int> InputList = new List<int>();
List<List<int>> ResultList = new List<List<int>>();
string oputputstring = string.Empty;
string outputpoint = st... | [["+", 0, 210, 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, 214, 205, 199], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 0, 131], ["+", 8, 196, 0, 1, 0, 11, 12, 214, 141, 22], ["+", 8, 196, 0, 210, 8, 196, 0, 1, 0, 35]] | 8 | 318 |
using System;
class Program {
static void Main() {
while (true) {
string[] raw = Console.ReadLine().Split(' ');
if (raw[0] == "0")
break;
int h = int.Parse(raw[0]);
int w = int.Parse(raw[1]);
for (int x = 0; x < w; x++)
Console.Write('#');
Console.WriteLine();
... | using System;
class Program {
static void Main() {
while (true) {
string[] raw = Console.ReadLine().Split(' ');
if (raw[0] == "0")
break;
int h = int.Parse(raw[0]);
int w = int.Parse(raw[1]);
for (int x = 0; x < w; x++)
Console.Write('#');
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, 1, 0, 213, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 25], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 196 |
using System;
using System.Linq;
namespace _5_C {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
for (int i = 0; i < x[0]; i++) {
for (int I = 0; I < ... | using System;
using System.Linq;
namespace _5_C {
class Program {
static void Main(string[] args) {
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == 0 && x[1] == 0) {
break;
}
for (int i = 0; i < x[0]; i++) {
for (int I = 0; I < ... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 158 |
using System;
namespace ITP1_5_C {
class Program {
static void Main() {
while (true) {
string[] x = Console.ReadLine().Split(' ');
int h = int.Parse(x[0]);
int w = int.Parse(x[1]);
if (h == 0 && w == 0)
break;
//奇数行かつ奇数列または偶数行かつ偶数列
for (int i = 0; i < h; i++) {
... | using System;
namespace ITP1_5_C {
class Program {
static void Main() {
while (true) {
string[] x = Console.ReadLine().Split(' ');
int h = int.Parse(x[0]);
int w = int.Parse(x[1]);
if (h == 0 && w == 0)
break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j+... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 160 |
using System;
using System.Linq;
namespace AOJ_Practice {
class Program {
static void Main(string[] args) {
while (true) {
var inputs = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
if (inputs.All(x => x == 0)) {
goto Finish;
}
var height = inputs[0];
var width ... | using System;
using System.Linq;
namespace AOJ_Practice {
class Program {
static void Main(string[] args) {
while (true) {
var inputs = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
if (inputs.All(x => x == 0)) {
goto Finish;
}
var height = inputs[0];
var width ... | [["+", 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, 196, 0, 7, 8, 196, 0, 1, 0, 35]] | 8 | 185 |
using System;
namespace PrintCheckboard {
class MainClass {
public static void Main(string[] args) {
while (true) {
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
int height, Wide;
height = int.Parse(tmp[0]);
Wide = int.Parse(tmp[1]);
if (height == 0 && Wide == 0)
... | using System;
namespace PrintCheckboard {
class MainClass {
public static void Main(string[] args) {
while (true) {
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
int height, Wide;
height = int.Parse(tmp[0]);
Wide = int.Parse(tmp[1]);
if (height == 0 && Wide == 0)
... | [["-", 31, 16, 31, 23, 0, 16, 31, 16, 17, 48], ["-", 31, 16, 31, 23, 0, 16, 31, 16, 12, 22]] | 8 | 169 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_5 {
class Program {
static void Main(string[] args) {
while (true) {
string[] strArray = Console.ReadLine().Split(' ');
int height = int.Parse(strArray[0]);
int width = int.Parse(strArray[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_5 {
class Program {
static void Main(string[] args) {
while (true) {
string[] strArray = Console.ReadLine().Split(' ');
int height = int.Parse(strArray[0]);
int width = int.Parse(strArray[1]);
... | [["-", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 52, 8, 196, 0, 7, 15, 16, 12, 22]] | 8 | 228 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication30 {
class Program {
static void Main(string[] args) {
while (true) {
var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
int a = ab[0];
int b = ab[1];
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication30 {
class Program {
static void Main(string[] args) {
while (true) {
var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
int a = ab[0];
int b = ab[1];
{
... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 174 |
using System;
class ITP1_5_C {
public static void Main() {
while (true) {
string[] Input = Console.ReadLine().Split(' ');
int H = int.Parse(Input[0]);
int W = int.Parse(Input[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++... | using System;
class ITP1_5_C {
public static void Main() {
while (true) {
string[] Input = Console.ReadLine().Split(' ');
int H = int.Parse(Input[0]);
int W = int.Parse(Input[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++... | [["+", 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, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 8 | 146 |
using System;
using System.Collections.Generic;
class Program {
static void Main() {
int H = 0;
int W = 0;
List<int> Hnum = new List<int>();
List<int> Wnum = new List<int>();
while (true) {
HandW(ref H, ref W);
if (H == 0 && W == 0)
break;
Hnum.Add(H);
Wnum.Add(... | using System;
using System.Collections.Generic;
class Program {
static void Main() {
int H = 0;
int W = 0;
List<int> Hnum = new List<int>();
List<int> Wnum = new List<int>();
while (true) {
HandW(ref H, ref W);
if (H == 0 && W == 0)
break;
Hnum.Add(H);
Wnum.Add(... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 64, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 64, 196, 0, 7, 15, 16, 12, 16, 12, 203], ["+", 75, 196, 0, 7, 15, 16, 12, 16, 17, 33], ["+", 75, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 312 |
using System;
namespace ITP1_5_C {
class Program {
static void Main(string[] args) {
while (true) {
string[] s = Console.ReadLine().Split(' ');
int H = int.Parse(s[0]), W = int.Parse(s[1]);
if (H == 0 && W == 0)
break;
string a = "";
for (int i = 0; i < H; i++) {
for... | using System;
namespace ITP1_5_C {
class Program {
static void Main(string[] args) {
while (true) {
string[] s = Console.ReadLine().Split(' ');
int H = int.Parse(s[0]), W = int.Parse(s[1]);
if (H == 0 && W == 0)
break;
string a = "";
for (int i = 0; i < H; i++) {
for... | [["+", 0, 52, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 52, 8, 196, 0, 7, 8, 196, 0, 46]] | 8 | 250 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
// List<int> a = new List<int>();
// List<int> b = new List<int>();
// string[] s = Console.ReadLine().Split(' ');
// long a = long.Parse(s[0]);
double a = double.Parse(Console.ReadLine());
... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
// List<int> a = new List<int>();
// List<int> b = new List<int>();
// string[] s = Console.ReadLine().Split(' ');
// long a = long.Parse(s[0]);
double a = double.Parse(Console.ReadLine());
... | [["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 250], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 0, 24], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 0, 25], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 51, 203]] | 8 | 69 |
using System;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
var num = int.Parse(Console.ReadLine());
Console.WriteLine(Calc(num));
}
static string Calc(int num) {
double area = (num ^ 2) * Math.PI;
double length = (num * 2) * Math.PI;
return area + " " + lengt... | using System;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
var num = double.Parse(Console.ReadLine());
Console.WriteLine(Calc(num));
}
static string Calc(double num) {
double area = (num * num) * Math.PI;
double length = (num * 2) * Math.PI;
return area + " "... | [["-", 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, 212, 0, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 212, 0, 16, 31, 23, 0, 16, 17, 48], ["-", 0, 212, 0, 16, 31, 23, 0, 1... | 8 | 90 |
using System;
class Program {
static void Main() {
double r = double.Parse(Console.ReadLine());
//面積
double a = r * r * 3.14;
//円周
double b = (r + r) * 3.14;
string result = string.Format("{0:f6} {1:f6}", a, b);
Console.WriteLine(result);
}
}
| using System;
class Program {
static void Main() {
double r = double.Parse(Console.ReadLine());
//面積
double a = r * r * Math.PI;
//円周
double b = (r + r) * Math.PI;
string result = string.Format("{0:f6} {1:f6}", a, b);
Console.WriteLine(result);
}
}
| [["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 141, 22]] | 8 | 73 |
using System;
namespace ConsoleApp__ITP1_4_B {
class Program {
static void Main(string[] args) {
double radiusr = double.Parse(Console.ReadLine());
double circumference = 2 * radiusr * Math.PI;
double area = radiusr * radiusr * Math.PI;
Console.WriteLine("{0:F6} {1:F6}", circumference, area);
}
}
... | using System;
namespace ConsoleApp__ITP1_4_B {
class Program {
static void Main(string[] args) {
double radiusr = double.Parse(Console.ReadLine());
double circumference = 2 * radiusr * Math.PI;
double area = radiusr * radiusr * Math.PI;
Console.WriteLine("{0:F6} {1:F6}", area, circumference);
}
}
... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["-", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 213, 3, 4, 0, 21], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]] | 8 | 71 |
using System;
class Program {
static void Main(string[] args) {
double r, circleArea, circumference;
string num = Console.ReadLine();
r = double.Parse(num);
circleArea = r * r * 3.14;
circumference = r * r * 3.14;
Console.Write("{0:0.000000}", circleArea + " ");
Console.WriteLine("{0:0.... | using System;
class Program {
static void Main(string[] args) {
double r, circleArea, circumference;
string num = Console.ReadLine();
r = double.Parse(num);
circleArea = r * r * 3.141592653589;
circumference = r * 2 * 3.141592653589;
Console.Write("{0:0.000000}", circleArea + " ");
Cons... | [["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 250], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 12, 250], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 203]] | 8 | 85 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
double a = r * 2 * 3.141592653589;
double b = r * r * 3.141592653589;
Console.WriteLine(a.ToString("F8") + " " + b.ToString("F8"));
}
}
| using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
double a = r * r * 3.141592653589;
double b = r * 2 * 3.141592653589;
Console.WriteLine(a.ToString("F8") + " " + b.ToString("F8"));
}
}
| [["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["-", 0, 200, 0, 212, 0, 16, 31, 16, 12, 22], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203]] | 8 | 84 |
using System;
class Circle {
public static void Main() {
var r = double.Parse(Console.ReadLine());
Console.WriteLine("{0:d6} {1:d6}", r * r * Math.PI, 2 * Math.PI * r);
}
}
| using System;
class Circle {
public static void Main() {
var r = double.Parse(Console.ReadLine());
Console.WriteLine("{0:f6} {1:f6}", r * r * Math.PI, 2 * Math.PI * r);
}
}
| [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 54 |
using System;
namespace ConsoleApp48 {
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
double area = r * r * 3.14;
double enshu = 2 * r * 3.14;
Console.WriteLine("{0} {1}", area, enshu);
}
}
}
| using System;
namespace ConsoleApp48 {
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
double area = r * r * Math.PI;
double enshu = 2 * r * Math.PI;
Console.WriteLine("{0} {1}", area, enshu);
}
}
}
| [["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 250], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 205, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 0, 131], ["+", 0, 200, 0, 212, 0, 16, 12, 214, 141, 22]] | 8 | 67 |
using System;
namespace SimpleCalc {
class MainClass {
public static void Main(string[] args) {
double a, b, ans = 0;
string[] data;
while (true) {
data = Console.ReadLine().Split(" ".ToCharArray());
a = double.Parse(data[0]);
b = double.Parse(data[2]);
if (string.Compare(data[1],... | using System;
namespace SimpleCalc {
class MainClass {
public static void Main(string[] args) {
double a, b, ans = 0;
string[] data;
while (true) {
data = Console.ReadLine().Split(" ".ToCharArray());
a = double.Parse(data[0]);
b = double.Parse(data[2]);
if (string.Compare(data[1],... | [["+", 0, 213, 3, 4, 0, 28, 0, 74, 0, 24], ["+", 0, 213, 3, 4, 0, 28, 0, 74, 39, 199], ["+", 0, 213, 3, 4, 0, 28, 0, 74, 0, 25]] | 8 | 174 |
using System;
namespace Test {
class MainClass {
public static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
var a = int.Parse(input[0]);
var op = input[1];
var b = int.Parse(input[2]);
var result = 0;
switch (op) {
case "+":
result = a + b;
break;
... | using System;
namespace Test {
class MainClass {
public static void Main(string[] args) {
while (true) {
var input = Console.ReadLine().Split(' ');
var a = int.Parse(input[0]);
var op = input[1];
var b = int.Parse(input[2]);
var result = 0;
switch (op) {
case "+":
... | [["+", 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, 195, 8, 196, 0, 52, 8, 196, 0, 46]] | 8 | 147 |
using System;
class program {
public static int Main() {
bool flag = true;
while (flag) {
var str = Console.ReadLine();
var a = int.Parse(str.Split(' ')[0]);
var op = str.Split(' ')[1];
var b = int.Parse(str.Split(' ')[1]);
switch (op) {
case "+":
Console.WriteLin... | using System;
class program {
public static int Main() {
bool flag = true;
while (flag) {
var str = Console.ReadLine();
var a = int.Parse(str.Split(' ')[0]);
var op = str.Split(' ')[1];
var b = int.Parse(str.Split(' ')[2]);
switch (op) {
case "+":
Console.WriteLin... | [["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]] | 8 | 174 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimpleCalculator {
class Program {
static void Main(string[] args) {
while (true) {
string line = Console.ReadLine();
string[] strs = line.Split(' ');
int lValue = int.Parse(strs[0]);
string op... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimpleCalculator {
class Program {
static void Main(string[] args) {
while (true) {
string line = Console.ReadLine();
string[] strs = line.Split(' ');
int lValue = int.Parse(strs[0]);
string op... | [["-", 0, 195, 8, 196, 0, 37, 0, 16, 17, 72], ["+", 0, 195, 8, 196, 0, 37, 0, 16, 17, 33]] | 8 | 299 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
String op = str[1];
int b = int.Parse(str[2]);
int x = 0;
while (op !=... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
String op = str[1];
int b = int.Parse(str[2]);
int x = 0;
while (op !=... | [["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 79], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 60], ["-", 0, 57, 75, 57, 75, 57, 15, 16, 17, 79], ["+", 0, 57, 75, 57, 75, 57, 15, 16, 17, 60], ["-", 75, 57, 75, 57, 75, 57, 15, 16, 17, 79], ["+", 75, 57, 75, 57, 75, 57, 15, 16, 17, 60]] | 8 | 221 |
using System;
namespace AizuOnLine {
class Program {
static void Main(string[] args) {
var data = Console.ReadLine().Split(' ');
var num1 = Convert.ToInt32(data[0]);
var num2 = Convert.ToInt32(data[2]);
var op = data[1];
if (op == "?") {
return;
}
int ans = 0;
if (op == "+") {... | using System;
namespace AizuOnLine {
class Program {
static void Main(string[] args) {
while (true) {
var data = Console.ReadLine().Split(' ');
var num1 = Convert.ToInt32(data[0]);
var num2 = Convert.ToInt32(data[2]);
var op = data[1];
if (op == "?") {
return;
}
... | [["+", 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, 195, 8, 196, 0, 52, 8, 196, 0, 46]] | 8 | 155 |
using System;
namespace CA {
class Program {
static void Main(string[] args) {
while (true) {
string[] s = Console.ReadLine().Split(' ');
if (s[2] == "?")
break;
decimal a = int.Parse(s[0]), b = int.Parse(s[2]);
switch (s[1]) {
case "+":
Console.WriteLine(a + b);
... | using System;
namespace CA {
class Program {
static void Main(string[] args) {
while (true) {
string[] s = Console.ReadLine().Split(' ');
if (s[1] == "?")
break;
int a = int.Parse(s[0]), b = int.Parse(s[2]);
switch (s[1]) {
case "+":
Console.WriteLine(a + b);
... | [["-", 15, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["+", 15, 16, 31, 204, 206, 207, 0, 28, 0, 203], ["-", 0, 52, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 52, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 157 |
using System;
class P {
public static void Main() {
bool y = true;
int z;
while (y) {
//????????????????????????
var x = Console.ReadLine().Split(' ');
//??????????????????
int a = Int32.Parse(x[0]);
int b = Int32.Parse(x[2]);
string op = x[1];
if (op == "+") ... | using System;
class P {
public static void Main() {
bool y = true;
int z;
while (y) {
//????????????????????????
var x = Console.ReadLine().Split(' ');
//??????????????????
int a = Int32.Parse(x[0]);
int b = Int32.Parse(x[2]);
string op = x[1];
if (op == "+") ... | [["-", 3, 4, 0, 28, 0, 213, 63, 214, 205, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 205, 22]] | 8 | 199 |
using System;
class aizu_judge {
static void Main() {
while (true) {
string[] cal = Console.ReadLine().Split();
int a = Convert.ToInt32(cal[0]);
int b = Convert.ToInt32(cal[2]);
bool endFlg = false;
switch (cal[1]) {
case "+":
Console.WriteLine(a + b);
break;
... | using System;
class aizu_judge {
static void Main() {
while (true) {
string[] cal = Console.ReadLine().Split();
int a = Convert.ToInt32(cal[0]);
int b = Convert.ToInt32(cal[2]);
bool endFlg = false;
switch (cal[1]) {
case "+":
Console.WriteLine(a + b);
break;
... | [["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 33], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 17, 48]] | 8 | 153 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
//[summary]ITP1_4_D 最小値、最大値、合計値
//コンソールの設定を変更
Console.SetIn(new StreamReader(Console.OpenStandardInput(131072),
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
//[summary]ITP1_4_D 最小値、最大値、合計値
//コンソールの設定を変更
Console.SetIn(new StreamReader(Console.OpenStandardInput(131072),
... | [["-", 0, 212, 0, 230, 39, 236, 237, 238, 0, 199], ["+", 0, 212, 0, 230, 39, 236, 237, 238, 0, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 200 |
using System;
using System.Linq;
namespace ITP1_4_D {
class Program {
static void Main() {
long[] x =
Console.ReadLine().Split(' ', '\r', '\n').Select(long.Parse).ToArray();
Console.WriteLine("{0} {1} {2}", x.Min(), x.Max(), x.Sum());
}
}
}
| using System;
using System.Linq;
namespace ITP1_4_D {
class Program {
static void Main() {
Console.ReadLine();
long[] x =
Console.ReadLine().Split(' ', '\r', '\n').Select(long.Parse).ToArray();
Console.WriteLine("{0} {1} {2}", x.Min(), x.Max(), x.Sum());
}
}
}
| [["+", 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]] | 8 | 87 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Min__Max_and_Sum {
class Program {
static void Main(string[] args) {
int num = int.Parse(Console.ReadLine());
var ary = new int[num];
int min = 1000000;
int ... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Min__Max_and_Sum {
class Program {
static void Main(string[] args) {
int num = int.Parse(Console.ReadLine());
var ary = new int[num];
int min = 1000000;
int ... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 210 |
using System;
using System.Linq;
namespace AOJ_Practice {
class Program {
static void Main(string[] args) {
var itemCount = int.Parse(Console.ReadLine());
var terms = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
var max = terms.Max();
var min = terms.Min();
var sum = terms.Sum();
... | using System;
using System.Linq;
namespace AOJ_Practice {
class Program {
static void Main(string[] args) {
var itemCount = int.Parse(Console.ReadLine());
var terms = Console.ReadLine().Split(' ').Select(long.Parse).ToList();
var max = terms.Max();
var min = terms.Min();
var sum = terms.Sum();
... | [["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]] | 8 | 114 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Prac {
class Program {
static void Main(string[] args) {
Console.ReadLine();
List<int> ai = new List<int>();
ai = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
Console.WriteLine(Min(ai) + " " +... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Prac {
class Program {
static void Main(string[] args) {
Console.ReadLine();
List<int> ai = new List<int>();
ai = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
Console.WriteLine(Min(ai) + " " +... | [["-", 8, 201, 0, 235, 8, 201, 0, 195, 39, 199], ["+", 8, 201, 0, 235, 8, 201, 0, 195, 39, 199], ["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 275 |
using System;
namespace SimpleCalc {
class MainClass {
public static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
;
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
int max, min, sum;
max = min = sum = int.Parse(tmp[0]);
for (int i = 1; i < n; i++) {
int... | using System;
namespace SimpleCalc {
class MainClass {
public static void Main(string[] args) {
long n = long.Parse(Console.ReadLine());
;
string[] tmp = Console.ReadLine().Split(" ".ToCharArray());
long max, min, sum;
max = min = sum = long.Parse(tmp[0]);
for (int i = 1; i < n; i++) {
... | [["-", 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], ["-", 12, 11, 12, 11, 12, 213, 63, 214, 205, 199], ["+", 12, 11, 12, 11, 12, 213, 63, 214, 205, 199], ["-", 0, 7, 8, 196, 0... | 8 | 151 |
using System;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
string str1 = Console.ReadLine();
int n = int.Parse(str1);
int[] a = new int[n];
string[] str2 = Console.ReadLine().Split(' ');
for (int i = 0; i < n; i++) {
a[i] = int.Parse(str2[i]);
}
int min ... | using System;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
string str1 = Console.ReadLine();
int n = int.Parse(str1);
int[] a = new int[n];
string[] str2 = Console.ReadLine().Split(' ');
for (int i = 0; i < n; i++) {
a[i] = int.Parse(str2[i]);
}
int min ... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 224 |
using System;
namespace Test {
class MainClass {
public static void Main(string[] args) {
Console.ReadLine();
var inputs = Console.ReadLine().Split(' ');
var nums = Array.ConvertAll(inputs, int.Parse);
Array.Sort(nums);
var sum = 0;
Array.ForEach(nums, x => sum += x);
Console.WriteLine(... | using System;
namespace Test {
class MainClass {
public static void Main(string[] args) {
Console.ReadLine();
var inputs = Console.ReadLine().Split(' ');
var nums = Array.ConvertAll(inputs, int.Parse);
Array.Sort(nums);
var sum = 0L;
Array.ForEach(nums, x => sum += x);
Console.WriteLine... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203]] | 8 | 109 |
using System;
using System.Linq;
namespace Test {
class MainClass {
public static void Main(string[] args) {
Console.ReadLine();
var inputs = Console.ReadLine().Split(' ');
var nums = Array.ConvertAll(inputs, int.Parse);
var sum = nums.Sum();
var min = nums.Min();
var max = nums.Max();
... | using System;
using System.Linq;
namespace Test {
class MainClass {
public static void Main(string[] args) {
Console.ReadLine();
var inputs = Console.ReadLine().Split(' ');
var nums = Array.ConvertAll(inputs, long.Parse);
var sum = nums.Sum();
var min = nums.Min();
var max = nums.Max();
... | [["-", 0, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 0, 213, 3, 4, 0, 28, 0, 214, 205, 199]] | 8 | 106 |
using System;
class program {
public static void Main() {
int length = int.Parse(Console.ReadLine());
var str = Console.ReadLine().Split(' ');
int min = int.Parse(str[0]), max = int.Parse(str[0]),
sum = int.Parse(str[0]);
for (int i = 1; i < length; i++) {
min = min > int.Parse(str[i]... | using System;
class program {
public static void Main() {
int length = int.Parse(Console.ReadLine());
var str = Console.ReadLine().Split(' ');
long min = long.Parse(str[0]), max = long.Parse(str[0]),
sum = long.Parse(str[0]);
for (int i = 1; i < length; i++) {
min = min > int.Parse(s... | [["-", 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 | 177 |
using System;
using System.Linq;
namespace Aizu {
class OnlineJudge {
public static void Main() {
Console.ReadLine();
var input = Console.ReadLine().Split().Select(p => int.Parse(p));
Console.WriteLine("{0} {1} {2}", input.Min(), input.Max(), input.Sum());
}
}
} | using System;
using System.Linq;
namespace Aizu {
class OnlineJudge {
public static void Main() {
Console.ReadLine();
var input = Console.ReadLine().Split().Select(p => long.Parse(p));
Console.WriteLine("{0} {1} {2}", input.Min(), input.Max(), input.Sum());
}
}
} | [["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199]] | 8 | 82 |
using System;
namespace AizuOnLine {
class Program {
static void Main(string[] args) {
Console.ReadLine();
var data = Console.ReadLine().Split(' ');
int min = 1000000;
int max = -1000000;
int sum = 0;
for (int i = 0; i < data.Length; i++) {
int num = Convert.ToInt32(data[i]);
s... | using System;
namespace AizuOnLine {
class Program {
static void Main(string[] args) {
Console.ReadLine();
var data = Console.ReadLine().Split(' ');
int min = 1000000;
int max = -1000000;
long sum = 0;
for (int i = 0; i < data.Length; i++) {
int num = Convert.ToInt32(data[i]);
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 136 |
using System;
namespace AOJ.ITP {
public class MinMaxSum {
public static void Main() {
int num_cnt = int.Parse(Console.ReadLine());
var input = Console.ReadLine().Split(' ');
int min_val = int.MaxValue;
int max_val = int.MinValue;
int sum = 0;
for (int i = 0; i < num_cnt; i++... | using System;
namespace AOJ.ITP {
public class MinMaxSum {
public static void Main() {
int num_cnt = int.Parse(Console.ReadLine());
var input = Console.ReadLine().Split(' ');
int min_val = int.MaxValue;
int max_val = int.MinValue;
long sum = 0;
for (int i = 0; i < num_cnt; i+... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 146 |
using System;
using System.Collections.Generic;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
int len = Convert.ToInt32(Console.ReadLine());
List<int> numbers = new List<int>(len);
String[] inputs = Console.ReadLine().Split(' ');
for (int i = 0; i < len; i++)
numbers... | using System;
using System.Collections.Generic;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
int len = Convert.ToInt32(Console.ReadLine());
List<long> numbers = new List<long>(len);
String[] inputs = Console.ReadLine().Split(' ');
for (int i = 0; i < len; i++)
numbe... | [["-", 0, 197, 0, 198, 39, 236, 237, 238, 0, 199], ["+", 0, 197, 0, 198, 39, 236, 237, 238, 0, 199], ["-", 0, 212, 0, 230, 39, 236, 237, 238, 0, 199], ["+", 0, 212, 0, 230, 39, 236, 237, 238, 0, 199], ["-", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["+", 3, 4, 0, 28, 0, 213, 63, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 19... | 8 | 154 |
public partial class IntroductionToProgramming {
public static void Main() {
System.Console.ReadLine();
string[] line = System.Console.ReadLine().Split(' ');
decimal min = 10000;
decimal max = -10000;
decimal sum = 0;
foreach (string s in line) {
decimal decS = decimal.Parse(s);
... | public partial class IntroductionToProgramming {
public static void Main() {
System.Console.ReadLine();
string[] line = System.Console.ReadLine().Split(' ');
decimal min = 1000000;
decimal max = -1000000;
decimal sum = 0;
foreach (string s in line) {
decimal decS = decimal.Parse(s);
... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 198, 0, 200, 0, 212, 0, 241, 0, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 241, 0, 203]] | 8 | 143 |
using System;
using System.Linq;
class ITP1 {
static void Main() {
{
int a = int.Parse(Console.ReadLine());
string[] num = Console.ReadLine().Split(' ');
int max = int.Parse(num[0]);
int min = max;
int sum = 0;
for (int i = 0; i < a; i++) {
int b = int.Parse(num[i]);
... | using System;
using System.Linq;
class ITP1 {
static void Main() {
{
int a = int.Parse(Console.ReadLine());
string[] num = Console.ReadLine().Split(' ');
int max = int.Parse(num[0]);
int min = max;
long sum = 0;
for (int i = 0; i < a; i++) {
int b = int.Parse(num[i]);
... | [["-", 8, 196, 0, 196, 0, 197, 0, 198, 39, 199], ["+", 8, 196, 0, 196, 0, 197, 0, 198, 39, 199]] | 8 | 148 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String str = Console.ReadLine();
int n = int.Parse(str);
String[] Array = Console.ReadLine().Split(' ');
int[] dateArray = new int[A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String str = Console.ReadLine();
int n = int.Parse(str);
String[] Array = Console.ReadLine().Split(' ');
int[] dateArray = new int[A... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 233 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_4D {
class Program {
static void Main(string[] args) {
string inputText = Console.ReadLine();
int n = int.Parse(inputText);
inputText = Console.ReadLine();
string[] words = inputText.Split(' ');
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_4D {
class Program {
static void Main(string[] args) {
string inputText = Console.ReadLine();
int n = int.Parse(inputText);
inputText = Console.ReadLine();
string[] words = inputText.Split(' ');
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 231 |
using System;
class Program {
static void Main() {
Console.ReadLine();
int a = 0;
string[] sD = Console.ReadLine().Split(' ');
int[] D = new int[sD.Length];
for (int i = 0; i < sD.Length; i++) {
D[i] = int.Parse(sD[i]);
}
Array.Sort(D);
for (int i = 0; i < D.Length; i++) {
... | using System;
class Program {
static void Main() {
Console.ReadLine();
long a = 0;
string[] sD = Console.ReadLine().Split(' ');
int[] D = new int[sD.Length];
for (int i = 0; i < sD.Length; i++) {
D[i] = int.Parse(sD[i]);
}
Array.Sort(D);
for (int i = 0; i < D.Length; i++) {
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 146 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
// n??¨ai?????????????????????
string s = Console.ReadLine();
string[] ai = Console.ReadLine().Split(' ');
int n = int.Parse(s);
int first = int.Par... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
// n??¨ai?????????????????????
string s = Console.ReadLine();
string[] ai = Console.ReadLine().Split(' ');
int n = int.Parse(s);
int first = int.Par... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 0, 21], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 179 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication4 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine(); //?????????
int count = int.Parse(s); // 5
int max = int.MinValue;
int min = int.MaxValue;
long total = 0;
st... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication4 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine(); //?????????
int count = int.Parse(s); // 5
int max = int.MinValue;
int min = int.MaxValue;
long total = 0;
st... | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 0, 28, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 28, 0, 16, 31, 16, 31, 16, 12, 22]] | 8 | 166 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication7 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
int n = int.Parse(s);
int max = int.MinValue;
int min = int.MaxValue;
long total = 0;
string[] ss = Console.Rea... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication7 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
int n = int.Parse(s);
int max = int.MinValue;
int min = int.MaxValue;
long total = 0;
string[] ss = Console.Rea... | [["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 0, 28, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 28, 0, 16, 31, 16, 31, 16, 12, 22]] | 8 | 168 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
String[] str = Console.ReadLine().Split(' ');
long[] a = new long[n];
long max = long.MinValue, min = long.MaxVa... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
String[] str = Console.ReadLine().Split(' ');
long[] a = new long[n];
long max = long.MinValue, min = long.MaxVa... | [["-", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95], ["-", 0, 7, 8, 196, 0, 57, 75, 57, 0, 95]] | 8 | 236 |
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
int n = int.Parse(s);
string[] t = Console.ReadLine().Split();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = int.Parse(t[i]);
}
int max = int.M... | using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
int n = int.Parse(s);
string[] t = Console.ReadLine().Split();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = int.Parse(t[i]);
}
int max = int.M... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 195 |
using System;
using System.Linq;
class main {
public static void Main() {
int n = int.Parse(Console.ReadLine());
int[] a = new int[n];
string[] e = Console.ReadLine().Split(' ');
for (int i = 0; i < n; i++)
a[i] = int.Parse(e[i]);
Console.WriteLine("{0} {1} {2}", a.Min(), a.Max(), a.Sum())... | using System;
using System.Linq;
class main {
public static void Main() {
int n = int.Parse(Console.ReadLine());
long[] a = new long[n];
string[] e = Console.ReadLine().Split(' ');
for (int i = 0; i < n; i++)
a[i] = long.Parse(e[i]);
Console.WriteLine("{0} {1} {2}", a.Min(), a.Max(), a.Sum... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 8, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 8, 1, 0, 11, 12, 213, 63, 214, 205, 199]] | 8 | 119 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
String strCount = Console.ReadLine();
int count = int.Parse(strCount);
String[] str = Console.ReadLine().Split(' ');
int max = int.Parse(str[0]);
int min = int.Parse(str[0]);
int sum = 0;
... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
String strCount = Console.ReadLine();
int count = int.Parse(strCount);
String[] str = Console.ReadLine().Split(' ');
int max = int.Parse(str[0]);
int min = int.Parse(str[0]);
long sum = 0;
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 192 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int.Parse(Console.ReadLine());
int[] nums =
Array.ConvertAll(Console.ReadLine().Split(' '),
new Converter<s... | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int.Parse(Console.ReadLine());
long[] nums =
Array.ConvertAll(Console.ReadLine().Split(' '),
new Converter<... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 28, 0, 230, 39, 236, 237, 238, 0, 199], ["+", 0, 28, 0, 230, 39, 236, 237, 238, 0, 199], ["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199]] | 8 | 118 |
using System;
using System.Linq;
public class Hello {
public static void Main() {
string tmp = System.Console.ReadLine();
int max_index = Convert.ToInt32(tmp);
string line = System.Console.ReadLine();
string[] ab = line.Split(' ');
int[] a = new int[max_index];
for (int i = 0; i < max_index; i... | using System;
using System.Linq;
public class Hello {
public static void Main() {
string tmp = System.Console.ReadLine();
int max_index = Convert.ToInt32(tmp);
string line = System.Console.ReadLine();
string[] ab = line.Split(' ');
long[] a = new long[max_index];
for (int i = 0; i < max_index;... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 141, 22], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 141, 22], ["-", 0, 195, 8, 196, 0, 197,... | 8 | 151 |
using System;
using System.Collections.Generic;
namespace ConsoleApplication18 {
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
int n = int.Parse(str);
string[] str2 = Console.ReadLine().Split(' ');
int total = 0;
int min = int.Parse(str2[0]);
int max = i... | using System;
using System.Collections.Generic;
namespace ConsoleApplication18 {
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
int n = int.Parse(str);
string[] str2 = Console.ReadLine().Split(' ');
long total = 0;
int min = int.Parse(str2[0]);
int max = ... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 171 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] arggs) {
System.Console.ReadLine();
var r = System.Console.ReadLine()
.Split(new char[] { ' ' })
.Select(s => int.Par... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] arggs) {
System.Console.ReadLine();
var r = System.Console.ReadLine()
.Split(new char[] { ' ' })
.Select(s => long.Pa... | [["-", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["+", 0, 28, 0, 218, 8, 213, 63, 214, 205, 199], ["-", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199], ["+", 0, 213, 63, 214, 141, 236, 237, 238, 0, 199]] | 8 | 119 |
using System;
public class Test {
public static void Main() {
// your code goes here
Console.ReadLine();
string[] s = Console.ReadLine().Split(' ');
int[] n = new int[s.Length];
for (int i = 0; i < s.Length; i++) {
n[i] = int.Parse(s[i]);
}
Array.Sort(n);
int sum = 0;
forea... | using System;
public class Test {
public static void Main() {
// your code goes here
Console.ReadLine();
string[] s = Console.ReadLine().Split(' ');
long[] n = new long[s.Length];
for (int i = 0; i < s.Length; i++) {
n[i] = long.Parse(s[i]);
}
Array.Sort(n);
long sum = 0;
f... | [["-", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["+", 8, 196, 0, 197, 0, 198, 39, 224, 39, 199], ["-", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["+", 0, 200, 0, 212, 0, 227, 39, 224, 39, 199], ["-", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["+", 0, 1, 0, 11, 12, 213, 63, 214, 205, 199], ["-", 0, 195, 8, 196, 0, 19... | 8 | 137 |
using System;
class Program {
static void Main(string[] args) {
// Input CInput = new Input();
// double input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int) Input.Define.MAX_ArraySize, (int)
// Input.Define.ArraySize2d]; int num = 0; input = CInpu... | using System;
class Program {
static void Main(string[] args) {
// Input CInput = new Input();
// double input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int) Input.Define.MAX_ArraySize, (int)
// Input.Define.ArraySize2d]; int num = 0; input = CInpu... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 0, 21], ["+", 8, 201, 0, 195, 8, 196, 0, 197, 0, 35], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 22]] | 8 | 621 |
using System;
using System.Linq;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
int number = int.Parse(Console.ReadLine());
int[] data = new int[number];
data =
Console.ReadLine().Split(' ').Select(x => Convert.ToInt32(x)).ToArray();
int max = int.MinValue;
int min... | using System;
using System.Linq;
namespace ITP1_4_D {
class Program {
static void Main(string[] args) {
int number = int.Parse(Console.ReadLine());
int[] data = new int[number];
data =
Console.ReadLine().Split(' ').Select(x => Convert.ToInt32(x)).ToArray();
int max = int.MinValue;
int min... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 154 |
using System;
class Program {
static void Main() {
int i = 0, Max = 0, Min = 0;
ulong Sum = 0;
int n = int.Parse(Console.ReadLine());
string[] a = Console.ReadLine().Split(' ');
do {
int x = int.Parse(a[i]);
if (i == 0) {
Max = x;
Min = x;
Sum += (ulong)x;
... | using System;
class Program {
static void Main() {
int i = 0, Max = 0, Min = 0;
long Sum = 0;
int n = int.Parse(Console.ReadLine());
string[] a = Console.ReadLine().Split(' ');
do {
int x = int.Parse(a[i]);
if (i == 0) {
Max = x;
Min = x;
Sum += (long)x;
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 64, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["+", 64, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["-", 75, 57, 75, 1, 0, 11, 12, 74, 39, 199], ["+", 75, 57, 75, 1, 0, 11, 12, 74, 39, 199]] | 8 | 184 |
using System;
using System.Collections.Generic;
namespace ITP1_4_D {
class Problem {
public static List<string[]> getinputdata() {
List<string[]> list_temp = new List<string[]>();
string strdata = Console.ReadLine();
while (strdata != null) {
string[] s_temp = strdata.Split(' ');
list_tem... | using System;
using System.Collections.Generic;
namespace ITP1_4_D {
class Problem {
public static List<string[]> getinputdata() {
List<string[]> list_temp = new List<string[]>();
string strdata = Console.ReadLine();
while (strdata != null) {
string[] s_temp = strdata.Split(' ');
list_tem... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199]] | 8 | 275 |
using System;
using System.Linq;
namespace Ex160424_1 {
public class Program {
public static void Main(string[] args) {
Console.ReadLine();
var an = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
Console.WriteLine("{0} {1} {2}", an.Min(), an.Max(), an.Sum());
}
}
} | using System;
using System.Linq;
namespace Ex160424_1 {
public class Program {
public static void Main(string[] args) {
Console.ReadLine();
var an = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
Console.WriteLine("{0} {1} {2}", an.Min(), an.Max(), an.Sum());
}
}
} | [["-", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199], ["+", 205, 213, 3, 4, 0, 28, 0, 214, 205, 199]] | 8 | 89 |