buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k | change_count int64 0 100 |
|---|---|---|---|---|---|
using System;
class main {
public static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]), b = int.Parse(s[1]), c = int.Parse(s[2]);
int count = 0;
for (int i = a; i < b; i++)
if (c % i == 0)
count += 1;
Console.WriteLine(count);
}
} | using System;
class main {
public static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]), b = int.Parse(s[1]), c = int.Parse(s[2]);
int count = 0;
for (int i = a; i <= b; i++)
if (c % i == 0)
count += 1;
Console.WriteLine(count);
}
} | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 108 | 2 |
using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
String[] aryStr = Console.ReadLine().Split(' ');
int a = int.Parse(aryStr[0]);
int b = int.Parse(aryStr[1]);
int c = int.Parse(aryStr[2]);
int count = 0;
for (int i = a; i < b; i++) {
i... | using System;
using System.Collections.Generic;
class Program {
static void Main(string[] args) {
String[] aryStr = Console.ReadLine().Split(' ');
int a = int.Parse(aryStr[0]);
int b = int.Parse(aryStr[1]);
int c = int.Parse(aryStr[2]);
int count = 0;
for (int i = a; i <= b; i++) {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 123 | 2 |
using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
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 = CInput.Line1_int(' ', 3);
//... | using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
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 = CInput.Line1_int(' ', 3);
//... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 513 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp8 {
class Program {
public static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp8 {
class Program {
public static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 141 | 2 |
using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
{
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int a = int.Parse(temp_string[0]), b = int.Parse(temp_string[1]),
c = int.Parse(temp_string[2]), ans = 0;
for (int i = a; i <= b;... | using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
{
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int a = int.Parse(temp_string[0]), b = int.Parse(temp_string[1]),
c = int.Parse(temp_string[2]), ans = 0;
for (int i = a; i <= b;... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22]] | 8 | 122 | 4 |
using System;
class MainClass {
public static void Main(string[] args) {
string str = Console.ReadLine();
string[] spStr = str.Split(' ');
int a = int.Parse(spStr[0]);
int b = int.Parse(spStr[1]);
int c = int.Parse(spStr[2]);
int x = 0;
for (int i = a; i < b; i++) {
if (c % i == 0... | using System;
class MainClass {
public static void Main(string[] args) {
string str = Console.ReadLine();
string[] spStr = str.Split(' ');
int a = int.Parse(spStr[0]);
int b = int.Parse(spStr[1]);
int c = int.Parse(spStr[2]);
int x = 0;
for (int i = a; i <= b; i++) {
if (c % i == ... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 122 | 2 |
using System;
class ITP1_3_D {
public static void Main() {
string[] Input = Console.ReadLine().Split(' ');
int a = int.Parse(Input[0]);
int b = int.Parse(Input[1]);
int c = int.Parse(Input[2]);
int count = 0;
for (; a < b; a++) {
if (c % a == 0)
count++;
}
Console.Wr... | using System;
class ITP1_3_D {
public static void Main() {
string[] Input = Console.ReadLine().Split(' ');
int a = int.Parse(Input[0]);
int b = int.Parse(Input[1]);
int c = int.Parse(Input[2]);
int count = 0;
for (; a <= b; a++) {
if (c % a == 0)
count++;
}
Console.W... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 107 | 2 |
using System;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
int a, b, c, d;
string[] input = Console.ReadLine().Split(' ');
a = int.Parse(input[0]);
b = int.Parse(input[1]);
c = int.Parse(input[2]);
d = 0;
for (; a < b; a++) {
if (c % a == 0) {
... | using System;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args) {
int a, b, c, d;
string[] input = Console.ReadLine().Split(' ');
a = int.Parse(input[0]);
b = int.Parse(input[1]);
c = int.Parse(input[2]);
d = 0;
for (; a <= b; a++) {
if (c % a == 0) {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 121 | 2 |
using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
string s = Console.ReadLine();
string[] sar = s.Split(' ');
int a, b, c;
a = int.Parse(sar[0]);
b = int.Parse(sar[1]);
c = int.Parse(sar[2]);
int number = 0;
for (int i = a; i <= b; i++) {
... | using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
string s = Console.ReadLine();
string[] sar = s.Split(' ');
int a, b, c;
a = int.Parse(sar[0]);
b = int.Parse(sar[1]);
c = int.Parse(sar[2]);
int number = 0;
for (int i = a; i <= b; i++) {
... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 22]] | 8 | 130 | 4 |
using System;
class A {
public static void Main() {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
int count = 0;
for (int i = a; i < b; i++) {
if ((c % i) == 0) {
count++;
}
}
... | using System;
class A {
public static void Main() {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
int count = 0;
for (int i = a; i <= b; i++) {
if ((c % i) == 0) {
count++;
}
}
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 115 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace StartFinish {
class Program {
static void Main(string[] args) {
int[] abc = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int count = 0;
for (int i = abc[0]; i < abc[1]; i++) {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace StartFinish {
class Program {
static void Main(string[] args) {
int[] abc = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int count = 0;
for (int i = abc[0]; i <= abc[1]; i++) ... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 123 | 2 |
// ITP1_3_D
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
//?????????????????????????????????int??????iaaray????????????????????\
int[] iarray = Array.ConvertAll<string, int>(
... | // ITP1_3_D
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
//?????????????????????????????????int??????iaaray????????????????????\
int[] iarray = Array.ConvertAll<string, int>(
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 124 | 2 |
using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int a = int.Parse(input.Split(' ')[0]);
int b = int.Parse(input.Split(' ')[1]);
int c = int.Parse(input.Split(' ')[2]);
int answer = 0;
for (int i = a; i < b; i += 1) {
... | using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int a = int.Parse(input.Split(' ')[0]);
int b = int.Parse(input.Split(' ')[1]);
int c = int.Parse(input.Split(' ')[2]);
int answer = 0;
for (int i = a; i <= b; i += 1) {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 134 | 2 |
using System;
using System.Linq;
public class Hello {
public static void Main() {
int[] num = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int count = 0;
for (int i = num[0]; i < num[1]; i++) {
if (num[2] % i == 0) {
count++;
}
}
Console.WriteLine(count);
}
} | using System;
using System.Linq;
public class Hello {
public static void Main() {
int[] num = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int count = 0;
for (int i = num[0]; i <= num[1]; i++) {
if (num[2] % i == 0) {
count++;
}
}
Console.WriteLine(count);
}
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 100 | 2 |
using System;
using System.Collections.Generic;
public class HowManyDivisors {
//????????????????????????
//a~b?????????c????´???°??????????????????????????????
static void Main(string[] args) {
/*---??£?¨???¨---*/
int i;
string[] unit_num;
int[] num = new int[3]; // a, b, c = num1, num2, num3
... | using System;
using System.Collections.Generic;
public class HowManyDivisors {
//????????????????????????
//a~b?????????c????´???°??????????????????????????????
static void Main(string[] args) {
/*---??£?¨???¨---*/
int i;
string[] unit_num;
int[] num = new int[3]; // a, b, c = num[0], num[1], num... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 161 | 2 |
using System;
using System.CodeDom;
using System.Linq;
using System.Text;
namespace paizaTest {
internal class Program {
private static void Main(string[] args) {
var oneLine = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
var count = 0;
for (int i = oneLine[0]; i < oneLine[1]; i++) {
... | using System;
using System.CodeDom;
using System.Linq;
using System.Text;
namespace paizaTest {
internal class Program {
private static void Main(string[] args) {
var oneLine = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
var count = 0;
for (int i = oneLine[0]; i <= oneLine[1]; i++) {
... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 120 | 2 |
using System;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
var nums = Converter(Console.ReadLine());
Console.WriteLine(Calc(nums));
}
static int[] Converter(string str) {
return Array.ConvertAll(str.Split(' '), int.Parse);
}
static int Calc(int[] array) {
in... | using System;
namespace AizuOnlineJudge {
class Program {
static void Main(string[] args) {
var nums = Converter(Console.ReadLine());
Console.WriteLine(Calc(nums));
}
static int[] Converter(string str) {
return Array.ConvertAll(str.Split(' '), int.Parse);
}
static int Calc(int[] array) {
in... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 127 | 2 |
using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
// 0:a, 1:b, 2:c
int[] i = new int[s.Length];
int c = 0;
for (int j = 0; j < s.Length; j++)
i[j] = int.Parse(s[j]);
for (int j = i[0]; j < i[1]; j++) {
if ((i[2] % j) == 0)
c++... | using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
// 0:a, 1:b, 2:c
int[] i = new int[s.Length];
int c = 0;
for (int j = 0; j < s.Length; j++)
i[j] = int.Parse(s[j]);
for (int j = i[0]; j <= i[1]; j++) {
if ((i[2] % j) == 0)
c+... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 131 | 2 |
using System;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
int a = 0, b = 0, c = 0, count = 0;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
for (; a < b; a++) {
if (c % a == 0)
cou... | using System;
namespace ConsoleApp2 {
class Program {
static void Main(string[] args) {
int a = 0, b = 0, c = 0, count = 0;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
for (; a < b + 1; a++) {
if (c % a == 0)
... | [["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 203]] | 8 | 127 | 2 |
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]);
int c = int.Parse(str[2]);
int count = 0;
for (var i = a; i < b; i++) {
if (c % i == 0) {
... | 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]);
int c = int.Parse(str[2]);
int count = 0;
for (var i = a; i <= b; i++) {
if (c % i == 0) {... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 124 | 2 |
using System;
namespace ConsoleApplication16 {
class Program {
static void Main(string[] args) {
int a, b;
double d, r, f;
string[] s = Console.ReadLine().Split(' ');
a = int.Parse(s[0]);
b = int.Parse(s[1]);
d = a / b;
r = a % b;
f = a % b + 0.5;
Console.WriteLine(d + " " + r ... | using System;
namespace ConsoleApplication16 {
class Program {
static void Main(string[] args) {
int a, b;
double d, r, f;
string[] s = Console.ReadLine().Split(' ');
a = int.Parse(s[0]);
b = int.Parse(s[1]);
d = a / b;
r = a % b;
f = (double)a / b;
Console.WriteLine(d + " " + ... | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 39, 199], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 72], ["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 250]] | 8 | 122 | 7 |
using System;
namespace ITP1_4_A {
class Program {
static void Main(string[] args) {
string[] strAry = Console.ReadLine().Split(' ');
int v0, v1;
double v2;
v0 = int.Parse(strAry[0]) / int.Parse(strAry[1]);
v1 = int.Parse(strAry[0]) % int.Parse(strAry[1]);
// v2 = 1.0 * int.Parse(strAry[0]) ... | using System;
namespace ITP1_4_A {
class Program {
static void Main(string[] args) {
string[] strAry = Console.ReadLine().Split(' ');
int v0, v1;
double v2;
v0 = int.Parse(strAry[0]) / int.Parse(strAry[1]);
v1 = int.Parse(strAry[0]) % int.Parse(strAry[1]);
v2 = double.Parse(strAry[0]) / doub... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 130 | 2 |
using System;
class Program {
static void Main() {
string[] ab = Console.ReadLine().Split(' ');
int a = int.Parse(ab[0]);
int b = int.Parse(ab[1]);
int d = a / b;
int r = a % b;
double f = a / b;
Console.WriteLine("{0} {1} {2:f5}", d, r, f);
}
} | using System;
class Program {
static void Main() {
string[] ab = Console.ReadLine().Split(' ');
int a = int.Parse(ab[0]);
int b = int.Parse(ab[1]);
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
Console.WriteLine("{0} {1} {2:f5}", d, r, f);
}
} | [["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 31, 74, 0, 25], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 0, 24], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 39, 199], ["+", 0, 200, 0, 212, 0, 16, 12, 74, 0, 25]] | 8 | 94 | 6 |
using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int a = int.Parse(input.Split(' ')[0]);
int b = int.Parse(input.Split(' ')[1]);
long af = a;
long bf = b;
Console.WriteLine("{0} {1} {2}", a / b, a % b,
... | using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
int a = int.Parse(input.Split(' ')[0]);
int b = int.Parse(input.Split(' ')[1]);
double af = a;
double bf = b;
Console.WriteLine("{0} {1} {2}", a / b, a % b,
... | [["-", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 111 | 6 |
using System;
namespace ConsoleApp7 {
class Program {
static void Main(string[] args) {
var A = Console.ReadLine().Split(' ');
int a = int.Parse(A[0]);
int b = int.Parse(A[1]);
double c = a;
double d = b;
Console.Write("{0} ,{1} ", a / b, a % b);
Console.WriteLine((c / d).ToString("0.0000... | using System;
namespace ConsoleApp7 {
class Program {
static void Main(string[] args) {
var A = Console.ReadLine().Split(' ');
int a = int.Parse(A[0]);
int b = int.Parse(A[1]);
double c = a;
double d = b;
Console.Write("{0} {1} ", a / b, a % b);
Console.WriteLine((c / d).ToString("0.00000... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 115 | 2 |
using System;
class ABProblem {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
Console.WriteLine("{0} {1} {2.8}", d, r, f);
}
} | using System;
class ABProblem {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
Console.WriteLine("{0} {1} {2:f5}", d, r, f);
}
} | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 104 | 2 |
using System;
using System.Linq;
namespace Number {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
double[] n = s.Split(' ').Select(e => double.Parse(e)).ToArray();
double a = n[0];
double b = n[1];
Console.WriteLine("{0} {1} {2}", (int)(a / b), (int)(a % b),
... | using System;
using System.Linq;
namespace Number {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
double[] n = s.Split(' ').Select(e => double.Parse(e)).ToArray();
double a = n[0];
double b = n[1];
Console.WriteLine("{0} {1} {2}", (int)(a / b), (int)(a % b),
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 122 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace aoj1 {
class Program {
static void Main() {
int[] num = IntInput();
int a = num[0];
int b = num[1];
Console.WriteLine("{0} {1} {2:f}", a / b, a % b, (double)a / (double)b);
}
static int[] IntInput() {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace aoj1 {
class Program {
static void Main() {
int[] num = IntInput();
int a = num[0];
int b = num[1];
Console.WriteLine("{0} {1} {2:f6}", a / b, a % b, (double)a / (double)b);
}
static int[] IntInput() ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 163 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Circle {
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
Console.WriteLine("{0:f6}, {1:f6}", Math.PI * r * r, 2 * Math.PI * r);
}
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Circle {
class Program {
static void Main(string[] args) {
double r = double.Parse(Console.ReadLine());
Console.WriteLine("{0:f6} {1:f6}", Math.PI * r * r, 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 | 85 | 2 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace radius {
class Program {
static void Main(string[] args) {
double r, area, circumference;
r = double.Parse(Console.ReadLine());
area = r * r * 3.14;
circumference = 2 * Math.PI * r;
Console.WriteLine("... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace radius {
class Program {
static void Main(string[] args) {
double r, area, circumference;
r = double.Parse(Console.ReadLine());
area = r * r * Math.PI;
circumference = 2 * Math.PI * r;
Console.WriteLin... | [["-", 8, 196, 0, 1, 0, 11, 12, 16, 12, 250], ["+", 0, 1, 0, 11, 12, 16, 12, 214, 205, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 214, 0, 131], ["+", 0, 1, 0, 11, 12, 16, 12, 214, 141, 22]] | 8 | 90 | 4 |
using System;
class program {
public static int Main() {
var r = double.Parse(Console.ReadLine());
var pi = System.Math.PI;
Console.WriteLine("{0:f6} {1:f6}", 2 * r * pi, r * r * pi);
return 0;
}
} | using System;
class program {
public static int Main() {
var r = double.Parse(Console.ReadLine());
var pi = System.Math.PI;
Console.WriteLine("{0:f6} {1:f6}", r * r * pi, 2 * r * pi);
return 0;
}
} | [["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 203], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 28, 0, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 28, 0, 16, 31, 16, 31, 203]] | 8 | 62 | 4 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
double r = double.Parse(s);
double pi = 3.14159275;
double area = r * r * pi;
double ensyu = r * pi * 2;
string ... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
double r = double.Parse(s);
double pi = 3.14159265358979323846;
double area = r * r * pi;
double ensyu = r * pi * 2;... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250]] | 8 | 117 | 2 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String str = Console.ReadLine();
double r = double.Parse(str);
double x, y;
x = 2.0 * Math.PI * r;
y = Math.PI * r * r;
Console.WriteLine(x.To... | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String str = Console.ReadLine();
double r = double.Parse(str);
double x, y;
x = 2.0 * Math.PI * r;
y = Math.PI * r * r;
Console.WriteLine(y.To... | [["-", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["-", 31, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 31, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 28, 0, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 16, 12, 213, 63, 214, 205, 22], ["-", 12, 213, 3, 4, 0, 28, 0, 5, 0, 22... | 8 | 105 | 8 |
using System;
namespace ConsoleApplication13 {
class Program {
static void Main(string[] args) {
double x, y;
String s = Console.ReadLine();
double r = double.Parse(s);
x = 2 * 3.141592653589 * r;
y = 3.141592653589 * r * r;
Console.WriteLine(x.ToString("F6") + " " + y.ToString("F6"));
}
... | using System;
namespace ConsoleApplication13 {
class Program {
static void Main(string[] args) {
double x, y;
String s = Console.ReadLine();
double r = double.Parse(s);
x = 2 * 3.141592653589 * r;
y = 3.141592653589 * r * r;
Console.WriteLine(y.ToString("F6") + " " + x.ToString("F6"));
}
... | [["-", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["+", 0, 16, 31, 16, 31, 213, 63, 214, 205, 22], ["-", 0, 28, 0, 16, 12, 213, 63, 214, 205, 22], ["+", 0, 28, 0, 16, 12, 213, 63, 214, 205, 22]] | 8 | 89 | 4 |
using System;
namespace test {
class program {
static void Main() {
double r = double.Parse(Console.ReadLine());
double s = r * r * 3.14159265;
double l = 2 * r * 3.14159265;
Console.WriteLine("{0:f6} {1:f6}", s, l);
}
}
} | using System;
namespace test {
class program {
static void Main() {
double r = double.Parse(Console.ReadLine());
double s = r * r * 3.141592653589;
double l = 2 * r * 3.141592653589;
Console.WriteLine("{0:f6} {1:f6}", s, l);
}
}
} | [["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 250], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 250]] | 8 | 63 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
double a = double.Parse(Console.ReadLine());
double d = a * 2 * Math.PI;
double b = a * a * Math.PI;
Console.WriteLine("{0:F10} {1:F1... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
double a = double.Parse(Console.ReadLine());
double d = a * 2 * Math.PI;
double b = a * a * Math.PI;
Console.WriteLine("{0:F10} {1:F1... | [["-", 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 | 88 | 4 |
using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
{
var read = Console.ReadLine();
// var temp_string = read.Split(' ');
double radius = double.Parse(read);
double area = radius * radius * 3.14, Circumference = radius * 2 * 3.14;
Console.WriteLine(ar... | using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
{
var read = Console.ReadLine();
// var temp_string = read.Split(' ');
double radius = double.Parse(read);
double area = radius * radius * Math.PI,
Circumference = radius * 2 * Math.PI;
C... | [["-", 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 | 74 | 8 |
using System;
class ITP1_4_B {
public static void Main() {
double r = double.Parse(Console.ReadLine());
double area = r * r * 3.141592653;
double length = r * 2 * 3.141592653;
Console.WriteLine(area + " " + length);
}
} | using System;
class ITP1_4_B {
public static void Main() {
double r = double.Parse(Console.ReadLine());
double area = r * r * Math.PI;
double length = r * 2 * Math.PI;
Console.WriteLine(area + " " + length);
}
} | [["-", 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 | 60 | 8 |
using System;
public class Class1 {
public static void Main(String[] args) {
double r = double.Parse(Console.ReadLine());
double a = 2d * r * Math.PI;
double b = r * r * Math.PI;
Console.WriteLine("{0:f5} {1:f5}", a, b);
}
} | using System;
public class Class1 {
public static void Main(String[] args) {
double r = double.Parse(Console.ReadLine());
double b = 2d * r * Math.PI;
double a = r * r * Math.PI;
Console.WriteLine("{0} {1}", a, b);
}
} | [["-", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["+", 8, 196, 0, 197, 0, 198, 0, 200, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 69 | 6 |
using System;
class Program {
static void Main() {
double r = double.Parse(Console.ReadLine());
double length = r * 2 * Math.PI;
double area = r * r * Math.PI;
Console.WriteLine("{0:f6} {1:f6}", length, area);
}
} | using System;
class Program {
static void Main() {
double r = double.Parse(Console.ReadLine());
double length = r * 2 * Math.PI;
double area = r * r * Math.PI;
Console.WriteLine("{0:f6} {1:f6}", area, length);
}
} | [["-", 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 | 63 | 4 |
using System;
class P {
public static void Main() {
//????????????????????????
double r = Double.Parse(Console.ReadLine());
//?????¨???
double pi = 3.1516926;
//??¢???
double S = pi * r * r;
//?????¨
double L = 2 * pi * r;
//??¨???
Console.WriteLine("{0:f5} {1:f5}", S, L);
... | using System;
class P {
public static void Main() {
//????????????????????????
double r = Double.Parse(Console.ReadLine());
//?????¨???
double pi = Math.PI;
//??¢???
double S = pi * r * r;
//?????¨
double L = 2 * pi * r;
//??¨???
Console.WriteLine("{0:f5} {1:f5}", S, L);
}... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 205, 22], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 0, 131], ["+", 0, 198, 0, 200, 0, 212, 0, 214, 141, 22]] | 8 | 70 | 4 |
// ITP1_4_B
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
//?????????????????????????????????int??????iaaray????????????????????\
double r = double.Parse(Console.ReadLine());
dou... | // ITP1_4_B
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
//?????????????????????????????????int??????iaaray????????????????????\
double r = double.Parse(Console.ReadLine());
dou... | [["-", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250], ["+", 0, 197, 0, 198, 0, 200, 0, 212, 0, 250]] | 8 | 92 | 2 |
using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
double a = double.Parse(input.Split(' ')[0]);
Console.WriteLine("{0} {1}", (2 * a * Math.PI).ToString("F6"),
(a * a * Math.PI).ToString("F6"));
}
}
} | using System;
namespace Sample1 {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
double a = double.Parse(input.Split(' ')[0]);
Console.WriteLine("{1} {0}", (2 * a * Math.PI).ToString("F6"),
(a * a * Math.PI).ToString("F6"));
}
}
} | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 94 | 2 |
using System;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string bar = "####################";
int[] checklist = new int[120];
for (int i = 0; i < n; i++) {
string[] data = Console.ReadLine().Split(' ');
int b = int.Parse(data[0]);
int f =... | using System;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
string bar = "####################";
int[] checklist = new int[120];
for (int i = 0; i < n; i++) {
string[] data = Console.ReadLine().Split(' ');
int b = int.Parse(data[0]);
int f =... | [["+", 8, 196, 0, 57, 15, 16, 31, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 79], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 255 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Prac {
class Program {
static void Main(string[] args) {
var House = new int[10, 3, 4];
for (var i = 0; i < 10; i++)
for (var j = 0; j < 3; j++)
for (var k = 4; k < 4; k++)
House[i, j, k] =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Prac {
class Program {
static void Main(string[] args) {
var House = new int[10, 3, 4];
for (var i = 0; i < 10; i++)
for (var j = 0; j < 3; j++)
for (var k = 4; k < 4; k++)
House[i, j, k] =... | [["+", 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, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 280 | 6 |
using System;
namespace AOJ_ITP16_OfficialHouse {
class MainClass {
public static void Main(string[] args) {
int[,,] room = new int[4, 3, 10]; // [棟][階][部屋]
for (int i = 0; i < 4; i++)
for (int j = 0; j < 3; j++)
for (int k = 0; k < 10; k++)
room[i, j, k] = 0;
int b, f, r, v; // ... | using System;
namespace AOJ_ITP16_OfficialHouse {
class MainClass {
public static void Main(string[] args) {
int[,,] room = new int[4, 3, 10]; // [棟][階][部屋]
for (int i = 0; i < 4; i++)
for (int j = 0; j < 3; j++)
for (int k = 0; k < 10; k++)
room[i, j, k] = 0;
int b, f, r, v; // ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 311 | 2 |
using System;
namespace OfficialHouse {
class MainClass {
public static void Main(string[] args) {
int[,,] room = new int[4, 3, 10];
int b, f, r, v;
string inputn = Console.ReadLine();
int n = int.Parse(inputn);
for (int i = 0; i < n; i++) {
string[] str = Console.ReadLine().Split(' ');
... | using System;
namespace OfficialHouse {
class MainClass {
public static void Main(string[] args) {
int[,,] room = new int[4, 3, 10];
int b, f, r, v;
string inputn = Console.ReadLine();
int n = int.Parse(inputn);
for (int i = 0; i < n; i++) {
string[] str = Console.ReadLine().Split(' ');
... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 257 | 2 |
using System;
using System.Text;
public class Test {
static public void Main() {
int n = int.Parse(Console.ReadLine());
int[,,] oh = new int[4, 3, 10];
for (int i = 0; i < n; i++) {
string[] strs = Console.ReadLine().Split(' ');
int b = int.Parse(strs[0]) - 1;
int f = int.Parse(strs[1])... | using System;
using System.Text;
public class Test {
static public void Main() {
int n = int.Parse(Console.ReadLine());
int[,,] oh = new int[4, 3, 10];
for (int i = 0; i < n; i++) {
string[] strs = Console.ReadLine().Split(' ');
int b = int.Parse(strs[0]) - 1;
int f = int.Parse(strs[1])... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 262 | 2 |
using System;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int[,,] Total = new int[4, 3, 10];
for (int z = 0; z < 4; z++) {
for (int y = 0; y < 3; y++) {
for (int x = 0; x < 10; x++) {
Total[z, y, x] = 0;
}
}
}
String N = Cons... | using System;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int[,,] Total = new int[4, 3, 10];
for (int z = 0; z < 4; z++) {
for (int y = 0; y < 3; y++) {
for (int x = 0; x < 10; x++) {
Total[z, y, x] = 0;
}
}
}
String N = Cons... | [["+", 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, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 397 | 6 |
using System;
class MainClass {
public static void Main() {
int width = 10;
int height = 15;
int n = int.Parse(Console.ReadLine());
string[] infoArray = new string[n];
string[,] allArray = new string[height, width];
// Init allArray, infoArray
for (int i = 0; i < height; i++) {
for... | using System;
class MainClass {
public static void Main() {
int width = 10;
int height = 15;
int n = int.Parse(Console.ReadLine());
string[] infoArray = new string[n];
string[,] allArray = new string[height, width];
// Init allArray, infoArray
for (int i = 0; i < height; i++) {
for... | [["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["-", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 0, 1, 0, 11, 12, 16, 31, 5, 0, 62], ["+", 0, 1, 0, 11, 12, 16, 31, 5, 0, 222], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 72]] | 8 | 398 | 8 |
using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// EasyTask CEasyTask = new EasyTask();
// int input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int)Input.Define.MAX_ArraySize,
// (int)Input.Define.Arra... | using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// EasyTask CEasyTask = new EasyTask();
// int input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int)Input.Define.MAX_ArraySize,
// (int)Input.Define.Arra... | [["+", 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, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 749 | 6 |
using System;
class InOut {
int[,,] univ = new int[4, 3, 10];
public InOut(int n) {
for (int i = 0; i < n; i++) {
string[] s = Console.ReadLine().Split(' ');
int building = int.Parse(s[0]);
int floor = int.Parse(s[1]);
int room = int.Parse(s[2]);
int person = int.Parse(s[3]);
... | using System;
class InOut {
int[,,] univ = new int[4, 3, 10];
public InOut(int n) {
for (int i = 0; i < n; i++) {
string[] s = Console.ReadLine().Split(' ');
int building = int.Parse(s[0]);
int floor = int.Parse(s[1]);
int room = int.Parse(s[2]);
int person = int.Parse(s[3]);
... | [["+", 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, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 300 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Threading.Tasks;
namespace ITP1_6C {
class Program {
static void Main(string[] args) {
// n????????????
// b?£?f??????r???????????¨?±????v???
//????????????????????????building[4][3][10]?????????
in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Threading.Tasks;
namespace ITP1_6C {
class Program {
static void Main(string[] args) {
// n????????????
// b?£?f??????r???????????¨?±????v???
//????????????????????????building[4][3][10]?????????
in... | [["+", 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, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 330 | 6 |
using System;
namespace CA {
class Program {
static void Main(string[] args) {
int i = int.Parse(Console.ReadLine());
int[,,] r = new int[4, 3, 10];
while (i-- != 0) {
string[] s = Console.ReadLine().Split(' ');
r[int.Parse(s[0]), int.Parse(s[1]), int.Parse(s[2])] += int.Parse(s[3]);
}
... | using System;
namespace CA {
class Program {
static void Main(string[] args) {
int i = int.Parse(Console.ReadLine());
int[,,] r = new int[4, 3, 10];
while (i-- != 0) {
string[] s = Console.ReadLine().Split(' ');
r[int.Parse(s[0]) - 1, int.Parse(s[1]) - 1, int.Parse(s[2]) - 1] +=
int... | [["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 211 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main() {
int[,,] a = new int[4, 3, 10];
int b = int.Parse(Console.ReadLine());
for (int c = 0; c < b; c++) {
int[] d = Console.ReadLine().Split().Select(int.Parse).ToArray();
a[d[... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
static void Main() {
int[,,] a = new int[4, 3, 10];
int b = int.Parse(Console.ReadLine());
for (int c = 0; c < b; c++) {
int[] d = Console.ReadLine().Split().Select(int.Parse).ToArray();
a[d[... | [["+", 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 | 214 | 6 |
using System;
namespace ITP1_6_C {
class Program {
static void Main(string[] args) {
int num = int.Parse(Console.ReadLine());
int[] bld11 = new int[10];
int[] bld12 = new int[10];
int[] bld13 = new int[10];
int[] bld21 = new int[10];
int[] bld22 = new int[10];
int[] bld23 = new int[10];
... | using System;
namespace ITP1_6_C {
class Program {
static void Main(string[] args) {
int num = int.Parse(Console.ReadLine());
int[] bld11 = new int[10];
int[] bld12 = new int[10];
int[] bld13 = new int[10];
int[] bld21 = new int[10];
int[] bld22 = new int[10];
int[] bld23 = new int[10];
... | [["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]] | 8 | 931 | 2 |
using System;
using System.Text;
class Program {
//--------------------------------------------------
static void Main(string[] args) {
University university = new University();
university.Read();
university.Print();
}
//--------------------------------------------------
public class University... | using System;
using System.Text;
class Program {
//--------------------------------------------------
static void Main(string[] args) {
University university = new University();
university.Read();
university.Print();
}
//--------------------------------------------------
public class University... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 464 | 2 |
using System;
class Program {
static void Main() {
int[,,] house = new int[4, 3, 10];
for (int i = 0; i < 4; i++)
for (int j = 0; j < 3; j++)
for (int k = 0; k < 10; k++) {
house[i, j, k] = 0;
}
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++) {
... | using System;
class Program {
static void Main() {
int[,,] house = new int[4, 3, 10];
for (int i = 0; i < 4; i++)
for (int j = 0; j < 3; j++)
for (int k = 0; k < 10; k++) {
house[i, j, k] = 0;
}
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++) {
... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 298 | 2 |
using System;
public class ITP1_6_C {
static void Main() {
int[,,] house = new int[4, 3, 10];
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 3; j++) {
for (int k = 0; k < 0; k++) {
house[i, j, k] = 0;
}
}
}
int c = int.Parse(Console.ReadLine());
int b, f,... | using System;
public class ITP1_6_C {
static void Main() {
int[,,] house = new int[4, 3, 10];
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 3; j++) {
for (int k = 0; k < 10; k++) {
house[i, j, k] = 0;
}
}
}
int c = int.Parse(Console.ReadLine());
int b, f... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 203], ["-", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203], ["+", 0, 28, 0, 204, 206, 207, 0, 28, 0, 203]] | 8 | 303 | 10 |
using System;
namespace aoj6c {
class Program {
static void Main(string[] args) {
/*b?£?f??????r???????????¨?±????v???*/
int[,,] member =
new int[5, 4, 11]; // 4?£????3????????????10??¨?±? [0]????????¨?????????
int n = int.Parse(Console.ReadLine());
for (int i = 1; i <= n; i++) {
strin... | using System;
namespace aoj6c {
class Program {
static void Main(string[] args) {
/*b?£?f??????r???????????¨?±????v???*/
int[,,] member =
new int[5, 4, 11]; // 4?£????3????????????10??¨?±? [0]????????¨?????????
int n = int.Parse(Console.ReadLine());
for (int i = 1; i <= n; i++) {
strin... | [["+", 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]] | 8 | 239 | 4 |
using System;
using System.Linq;
using System.Text;
namespace ITP1_6_C {
class Program {
static Building[] Buildings;
static void Main(string[] args) {
Buildings = new Building[4];
for (int i = 0; i < Buildings.Length; i++)
Buildings[i] = new Building();
int count = Convert.ToInt32(Console.ReadL... | using System;
using System.Linq;
using System.Text;
namespace ITP1_6_C {
class Program {
static Building[] Buildings;
static void Main(string[] args) {
Buildings = new Building[4];
for (int i = 0; i < Buildings.Length; i++)
Buildings[i] = new Building();
int count = Convert.ToInt32(Console.ReadL... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 521 | 2 |
using System;
using System.Collections.Generic;
class Program {
static void Main() {
int[,,] Kosha = new int[4, 3, 10];
int count = int.Parse(Console.ReadLine());
for (int i = 0; i < count; i++) {
string[] str = Console.ReadLine().Split(' ');
int number = int.Parse(str[0]);
int floor... | using System;
using System.Collections.Generic;
class Program {
static void Main() {
int[,,] Kosha = new int[4, 3, 10];
int count = int.Parse(Console.ReadLine());
for (int i = 0; i < count; i++) {
string[] str = Console.ReadLine().Split(' ');
int number = int.Parse(str[0]);
int floor... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 308 | 2 |
using System;
using System.Linq;
namespace Array {
class Official_House {
static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
var data = new int[4, 3, 10];
for (int i = 0; i < n; i++) {
var array =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
... | using System;
using System.Linq;
namespace Array {
class Official_House {
static void Main(string[] args) {
var n = int.Parse(Console.ReadLine());
var data = new int[4, 3, 10];
for (int i = 0; i < n; i++) {
var array =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
... | [["+", 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]] | 8 | 236 | 4 |
using System;
public class OfficialHouse {
// 4?£?????????¬???????????\?±?????????±?????\????????????
static void Main(string[] args) {
/*---??£?¨???¨---*/
int i;
int buildIndex;
int floorIndex;
int roomIndex;
int count;
//???????????¬?????§3???????????????????????¢????????¨?±???¨??????... | using System;
public class OfficialHouse {
// 4?£?????????¬???????????\?±?????????±?????\????????????
static void Main(string[] args) {
/*---??£?¨???¨---*/
int i;
int buildIndex;
int floorIndex;
int roomIndex;
int count;
//???????????¬?????§3???????????????????????¢????????¨?±???¨??????... | [["+", 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, 79], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 25]] | 8 | 288 | 6 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[,,] room = new int[4, 3, 10];
for (int i = 0; i < n; i+... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
class Program {
static void Main(string[] args) {
int n = int.Parse(Console.ReadLine());
int[,,] room = new int[4, 3, 10];
for (int i = 0; i < n; i+... | [["+", 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, 201, 0, 195, 8, 196, 0, 37, 0, 38], ["-", 8, 201, 0, 195, 8, 196, 0, 37, 0, 35]] | 8 | 250 | 6 |
using System;
using System.Linq;
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine());
string[] s = null;
int b, f, r, v;
int[][,] rr = new int [4][,] { new int[3, 10], new int[3, 10],
new int[3, 10], new int[3, 10] };
for (int i = 0; i <... | using System;
using System.Linq;
class Program {
static void Main() {
int n = int.Parse(Console.ReadLine());
string[] s = null;
int b, f, r, v;
int[][,] rr = new int [4][,] { new int[3, 10], new int[3, 10],
new int[3, 10], new int[3, 10] };
for (int i = 0; i <... | [["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 308 | 2 |
using System;
using System.Linq;
namespace ConsoleApp_ITP1_6_C {
class Program {
static void Main(string[] args) {
var n = Int32.Parse(Console.ReadLine());
int[,,] output = new[,,] { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
... | using System;
using System.Linq;
namespace ConsoleApp_ITP1_6_C {
class Program {
static void Main(string[] args) {
var n = Int32.Parse(Console.ReadLine());
int[,,] output = new[,,] { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
... | [["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 511 | 2 |
using System;
class Program {
static void Main(string[] args) {
int[,,] array = new int[4, 3, 10];
int n, b, f, r, v;
//配列初期化
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 3; j++) {
for (int k = 0; k < 10; k++) {
array[i, j, k] = 0;
}
}
}
//入居件数受け取り... | using System;
class Program {
static void Main(string[] args) {
int[,,] array = new int[4, 3, 10];
int n, b, f, r, v;
//配列初期化
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 3; j++) {
for (int k = 0; k < 10; k++) {
array[i, j, k] = 0;
}
}
}
//入居件数受け取り... | [["-", 0, 239, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 239, 0, 1, 0, 11, 0, 202, 0, 107]] | 8 | 437 | 8 |
using System;
class Program {
static void Main() {
int[,,] hause = new int[4, 3, 10];
int inputnum = int.Parse(Console.ReadLine());
for (int i = 0; i < inputnum; i++) {
int[] line = TypeConverter.arrayStrToInt(Console.ReadLine().Split(' '));
hause[line[0], line[1], line[2]] += line[3];
}
... | using System;
class Program {
static void Main() {
int[,,] hause = new int[4, 3, 10];
int inputnum = int.Parse(Console.ReadLine());
for (int i = 0; i < inputnum; i++) {
int[] line = TypeConverter.arrayStrToInt(Console.ReadLine().Split(' '));
hause[line[0] - 1, line[1] - 1, line[2] - 1] += lin... | [["+", 31, 204, 206, 207, 0, 28, 0, 16, 17, 33], ["+", 31, 204, 206, 207, 0, 28, 0, 16, 12, 203]] | 8 | 291 | 6 |
using System;
class program {
public static void Main() {
// row column
var strs = Console.ReadLine().Split(' ');
var row = int.Parse(strs[0]);
var column = int.Parse(strs[1]);
int[,] A = new int[row, column];
int[] b = new int[column];
for (int i = 0; i < row; i++) {
strs = Conso... | using System;
class program {
public static void Main() {
// row column
var strs = Console.ReadLine().Split(' ');
var row = int.Parse(strs[0]);
var column = int.Parse(strs[1]);
int[,] A = new int[row, column];
int[] b = new int[column];
for (int i = 0; i < row; i++) {
strs = Conso... | [["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 23, 0, 24], ["+", 8, 196, 0, 1, 0, 11, 12, 23, 0, 25]] | 8 | 237 | 4 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Matrix_Vector_Multiplication {
class Program {
static void Main(string[] args) {
string line = Console.ReadLine();
string[] strs = line.Split(' ');
int n = int.Parse(strs[0]);
int m = int.Parse(strs[1]);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Matrix_Vector_Multiplication {
class Program {
static void Main(string[] args) {
string line = Console.ReadLine();
string[] strs = line.Split(' ');
int n = int.Parse(strs[0]);
int m = int.Parse(strs[1]);
... | [["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 203], ["-", 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, 203]] | 8 | 620 | 4 |
using System;
using System.Linq;
namespace Test {
class MainClass {
public static void Main(string[] args) {
while (true) {
var inputs = Console.ReadLine().Split(' ');
var m = int.Parse(inputs[0]);
var f = int.Parse(inputs[1]);
var r = int.Parse(inputs[2]);
if ((m == -1) && (f == -1... | using System;
using System.Linq;
namespace Test {
class MainClass {
public static void Main(string[] args) {
while (true) {
var inputs = Console.ReadLine().Split(' ');
var m = int.Parse(inputs[0]);
var f = int.Parse(inputs[1]);
var r = int.Parse(inputs[2]);
if ((m == -1) && (f == -1... | [["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]] | 8 | 258 | 2 |
using System;
using System.Collections.Generic;
class program {
public static void Main() {
List<char> rlist = new List<char>();
while (true) {
var strs = Console.ReadLine().Split(' ');
var m = int.Parse(strs[0]);
var f = int.Parse(strs[1]);
var r = int.Parse(strs[2]);
if (m ... | using System;
using System.Collections.Generic;
class program {
public static void Main() {
List<char> rlist = new List<char>();
while (true) {
var strs = Console.ReadLine().Split(' ');
var m = int.Parse(strs[0]);
var f = int.Parse(strs[1]);
var r = int.Parse(strs[2]);
if (m ... | [["-", 75, 57, 75, 57, 15, 16, 31, 16, 12, 22], ["+", 75, 57, 75, 57, 15, 16, 31, 16, 12, 22]] | 8 | 257 | 2 |
using System;
class Program {
static void Main() {
string D1;
while ((D1 = Console.ReadLine()) != "-1 -1 -1") {
string[] D2 = D1.Split(' ');
int m = int.Parse(D2[0]), f = int.Parse(D2[1]), r = int.Parse(D2[2]);
if (m == -1 || f == -1 || m + f < 30) {
Console.WriteLine("F");
}
... | using System;
class Program {
static void Main() {
string D1;
while ((D1 = Console.ReadLine()) != "-1 -1 -1") {
string[] D2 = D1.Split(' ');
int m = int.Parse(D2[0]), f = int.Parse(D2[1]), r = int.Parse(D2[2]);
if (m == -1 || f == -1 || m + f < 30) {
Console.WriteLine("F");
} ... | [["+", 8, 196, 0, 52, 8, 196, 0, 57, 0, 95], ["+", 0, 52, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 0, 57, 64, 196, 0, 57, 75, 196, 0, 46]] | 8 | 229 | 3 |
using System;
using System.Collections.Generic;
using System.Collections;
namespace ConsoleApplication21 {
class Program {
static void Main(string[] args) {
ArrayList T = new ArrayList();
for (int i = 0; i < i + 1; i++) {
String[] input = Console.ReadLine().Split(' ');
int m = int.Parse(input[0]... | using System;
using System.Collections.Generic;
using System.Collections;
namespace ConsoleApplication21 {
class Program {
static void Main(string[] args) {
ArrayList T = new ArrayList();
for (int i = 0; i < i + 1; i++) {
String[] input = Console.ReadLine().Split(' ');
int m = int.Parse(input[0]... | [["-", 0, 57, 75, 57, 15, 16, 31, 16, 17, 98], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 106], ["-", 15, 16, 31, 16, 12, 16, 12, 241, 0, 33], ["-", 15, 16, 31, 16, 12, 16, 12, 241, 0, 203], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 106], ["-", 0, 57, 75, 57, 15, 16, 12, 16, 31, 22], ["-", 0, 57, 75, 57, 15, 16, 12, 16, 1... | 8 | 298 | 7 |
using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// EasyTask CEasyTask = new EasyTask();
// int input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int)Input.Define.MAX_ArraySize,
// (int)Input.Define.Arra... | using System;
class Program {
static void Main(string[] args) {
Input CInput = new Input();
// EasyTask CEasyTask = new EasyTask();
// int input = 0;
// int[] input = new int[(int)Input.Define.MAX_ArraySize];
// int[,] input = new int[(int)Input.Define.MAX_ArraySize,
// (int)Input.Define.Arra... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 955 | 2 |
using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int m = int.Parse(temp_string[0]), r = int.Parse(temp_string[1]),
f = int.Parse(temp_string[2]);
if (m == -1 && r ==... | using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int m = int.Parse(temp_string[0]), r = int.Parse(temp_string[1]),
f = int.Parse(temp_string[2]);
if (m == -1 && r ==... | [["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 19], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 20], ["-", 0, 57, 75, 57, 75, 57, 15, 16, 17, 19], ["+", 0, 57, 75, 57, 75, 57, 15, 16, 17, 20], ["-", 75, 57, 75, 57, 75, 57, 15, 16, 17, 19], ["+", 75, 57, 75, 57, 75, 57, 15, 16, 17, 20], ["-", 75, 57, 64, 196, 0, 57, 15, 16, 17,... | 8 | 236 | 10 |
using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int hyo;
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == x[1] && x[1] == x[2] && x[0] == -1) {
break;
} else {
hyo = x[1] + x[0];
if ((x[1]... | using System;
using System.Linq;
class Program {
static void Main(string[] args) {
int hyo;
while (true) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[0] == x[1] && x[1] == x[2] && x[0] == -1) {
break;
} else {
hyo = x[1] + x[0];
if ((x[1]... | [["-", 75, 57, 75, 57, 15, 16, 12, 16, 12, 203], ["+", 75, 57, 75, 57, 15, 16, 12, 16, 12, 203], ["-", 75, 57, 75, 57, 75, 57, 15, 16, 12, 203], ["+", 75, 57, 75, 57, 75, 57, 15, 16, 12, 203]] | 8 | 273 | 4 |
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[] mfr = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int m = mfr[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[] mfr = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int m = mfr[0];
... | [["+", 0, 57, 15, 16, 12, 16, 12, 241, 0, 33]] | 8 | 283 | 1 |
using System;
using System.Collections.Generic;
class program {
static void Main() {
List<int> Sdate = new List<int> {};
Sdate = Dateinp();
int[,] Date = DateArray(Sdate);
for (int i = 0; i < Date.GetLength(0) - 1; i++) {
if ((Date[i, 0] == -1) || (Date[i, 1] == -1))
Console.WriteLin... | using System;
using System.Collections.Generic;
class program {
static void Main() {
List<int> Sdate = new List<int> {};
Sdate = Dateinp();
int[,] Date = DateArray(Sdate);
for (int i = 0; i < Date.GetLength(0) - 1; i++) {
if ((Date[i, 0] == -1) || (Date[i, 1] == -1)) {
Console.WriteL... | [["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 0, 7, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95], ["+", 0, 7, 8, 196, 0, 57, 75, 196, 0, 45], ["-", 0, 57, 75, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 57, 75, 196, 0, 57, 15, 16, 12, 203], ["+", 0, 57, 75, 196, 0, 57, 75, 196, 0, 46]] | 8 | 510 | 7 |
using System;
using System.Linq;
namespace Structured_Program_II {
class Grading {
static void Main(string[] args) {
while (true) {
var array =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
var m = array[0];
var f = array[1];
var r = array[2];
var sum ... | using System;
using System.Linq;
namespace Structured_Program_II {
class Grading {
static void Main(string[] args) {
while (true) {
var array =
Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
var m = array[0];
var f = array[1];
var r = array[2];
var sum ... | [["-", 75, 57, 75, 57, 15, 16, 31, 16, 12, 203], ["+", 75, 57, 75, 57, 15, 16, 31, 16, 12, 203], ["-", 75, 57, 75, 57, 15, 16, 12, 16, 12, 203], ["+", 75, 57, 75, 57, 15, 16, 12, 16, 12, 203]] | 8 | 238 | 4 |
using System;
namespace AOJ {
class Program {
static void Main() {
string[] data;
int m, f, r, mf;
char g;
while (true) {
data = Console.ReadLine().Split(' ');
m = int.Parse(data[0]);
f = int.Parse(data[1]);
r = int.Parse(data[2]);
if (m == -1 && f == -1 && r == -1)
... | using System;
namespace AOJ {
class Program {
static void Main() {
string[] data;
int m, f, r, mf;
char g;
while (true) {
data = Console.ReadLine().Split(' ');
m = int.Parse(data[0]);
f = int.Parse(data[1]);
r = int.Parse(data[2]);
if (m == -1 && f == -1 && r == -1)
... | [["-", 0, 57, 75, 57, 75, 57, 15, 16, 17, 47], ["+", 0, 57, 75, 57, 75, 57, 15, 16, 17, 20]] | 8 | 196 | 2 |
using System;
class Program {
static void Main() {
int i = 0, j;
int[] m = new int[256];
int[] f = new int[256];
int[] r = new int[256];
while (true) {
string inp = Console.ReadLine();
string[] data = inp.Split(' ');
m[i] = int.Parse(data[0]);
f[i] = int.Parse(data[1]);
... | using System;
class Program {
static void Main() {
int i = 0, j;
int[] m = new int[256];
int[] f = new int[256];
int[] r = new int[256];
while (true) {
string inp = Console.ReadLine();
string[] data = inp.Split(' ');
m[i] = int.Parse(data[0]);
f[i] = int.Parse(data[1]);
... | [["+", 8, 196, 0, 7, 8, 196, 0, 57, 0, 95]] | 8 | 341 | 1 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Threading.Tasks;
namespace IPT1_7B {
class Program {
static void Main(string[] args) {
int ans;
Boolean ansNoDuplicate;
// loop true
while (true) {
ans = 0;
// input n x
String[] in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// using System.Threading.Tasks;
namespace IPT1_7B {
class Program {
static void Main(string[] args) {
int ans;
Boolean ansNoDuplicate;
// loop true
while (true) {
ans = 0;
// input n x
String[] in... | [["+", 39, 224, 225, 226, 0, 16, 31, 16, 17, 48], ["+", 39, 224, 225, 226, 0, 16, 31, 16, 12, 22], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 17, 48], ["+", 0, 227, 39, 224, 225, 226, 0, 16, 12, 22]] | 8 | 385 | 4 |
using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int n = int.Parse(temp_string[0]), x = int.Parse(temp_string[1]),
count = 0;
if (n == 0 && x == 0) {
break;
... | using System;
namespace AOJ {
class Program {
static void Main(string[] args) {
while (true) {
var read = Console.ReadLine();
var temp_string = read.Split(' ');
int n = int.Parse(temp_string[0]), x = int.Parse(temp_string[1]),
count = 0;
if (n == 0 && x == 0) {
break;
... | [["-", 0, 52, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 52, 8, 196, 0, 7, 15, 16, 17, 19]] | 8 | 170 | 2 |
using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
while (true) {
string s = Console.ReadLine();
string[] sar = s.Split(' ');
int n = int.Parse(sar[0]);
int x = int.Parse(sar[1]);
if (n == 0 && x == 0) {
break;
}
int coun... | using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
while (true) {
string s = Console.ReadLine();
string[] sar = s.Split(' ');
int n = int.Parse(sar[0]);
int x = int.Parse(sar[1]);
if (n == 0 && x == 0) {
break;
}
int coun... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 12, 203]] | 8 | 169 | 8 |
// ITP1_7_B
//???????????? 45???
using System;
using System.Collections.Generic;
class ITP1_7_B {
static void Main(string[] args) {
int count = 0;
int[] result = new int[30];
while (true) {
int[] st = Array.ConvertAll<string, int>(
(Console.ReadLine().Split(' ')),
delegate(s... | // ITP1_7_B
//???????????? 45???
using System;
using System.Collections.Generic;
class ITP1_7_B {
static void Main(string[] args) {
int count = 0;
int[] result = new int[100];
while (true) {
int[] st = Array.ConvertAll<string, int>(
(Console.ReadLine().Split(' ')),
delegate(... | [["-", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["+", 0, 212, 0, 227, 39, 224, 225, 226, 0, 203], ["-", 0, 52, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 17, 98]] | 8 | 243 | 4 |
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();
var n = nums[0];
var x = nums[1];
if (n... | 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();
var n = nums[0];
var x = nums[1];
if (n... | [["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 31, 22], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 17, 72], ["+", 10, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 1, 0, 213, 63, 214, 205, 214, 205, 22], ["+", 0, 1, 0, 213, 63, 214, 205, 214, 0, 131]] | 8 | 425 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ITP1_7_B {
class Program {
// 161700
static void Main(string[] args) {
List<int> map = new List<int>(161700);
string[] input;
int num;
int total;
while ((input = Console.ReadLine().Split(' ')).All(s => s != "0")) {
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ITP1_7_B {
class Program {
static void Main(string[] args) {
List<int> map = new List<int>(161700);
string[] input;
int num;
int total;
while (!(input = Console.ReadLine().Split(' ')).All(s => s == "0")) {
map.Cl... | [["+", 0, 195, 8, 196, 0, 52, 15, 241, 0, 111], ["-", 3, 4, 0, 28, 0, 218, 8, 16, 17, 79], ["+", 3, 4, 0, 28, 0, 218, 8, 16, 17, 60]] | 8 | 207 | 3 |
using System;
public class Program {
public static void Main(string[] args) {
while (true) {
string[] read = Console.ReadLine().Split(' ');
int range = int.Parse(read[0]);
int total = int.Parse(read[1]);
int count = 0;
if (range == 0 && total == 0)
break;
for (int i = ... | using System;
public class Program {
public static void Main(string[] args) {
while (true) {
string[] read = Console.ReadLine().Split(' ');
int range = int.Parse(read[0]);
int total = int.Parse(read[1]);
int count = 0;
if (range == 0 && total == 0)
break;
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 | 181 | 6 |
using System;
namespace ITP1_8_C {
class Program {
static void Main(string[] args) {
int[] counter = new int[26];
while (true) {
string str1 = Console.ReadLine();
if (str1 == "")
break;
if (1200 <= str1.Length)
Environment.Exit(0);
string str = str1.ToLower();
... | using System;
namespace ITP1_8_C {
class Program {
static void Main(string[] args) {
int[] counter = new int[26];
while (true) {
string str1 = Console.ReadLine();
if (str1 == null)
break;
if (1200 <= str1.Length)
Environment.Exit(0);
string str = str1.ToLower();
... | [["-", 8, 196, 0, 57, 15, 16, 12, 5, 0, 62], ["+", 0, 52, 8, 196, 0, 57, 15, 16, 12, 215]] | 8 | 187 | 3 |
using System;
public class Hello {
static int[] ans = new int[100];
public static void aiueo(string str) {
for (int i = 0; i < str.Length; i++) {
if ((int)str[i] <= 90 && (int)str[i] >= 65)
ans[(int)str[i] - 65]++;
else if ((int)str[i] >= 97 && (int)str[i] <= 122)
ans[(int)str[i] ... | using System;
public class Hello {
static int[] ans = new int[100];
public static void aiueo(string str) {
for (int i = 0; i < str.Length; i++) {
if ((int)str[i] <= 90 && (int)str[i] >= 65)
ans[(int)str[i] - 65]++;
else if ((int)str[i] >= 97 && (int)str[i] <= 122)
ans[(int)str[i] ... | [["-", 8, 196, 0, 7, 15, 16, 12, 5, 0, 62], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 215]] | 8 | 200 | 3 |
using System;
namespace ConsoleApplication41 {
class Program {
static void Main(string[] args) {
//??¢???????????????????????????
string[] array = { "a", "b", "c", "d", "e", "f", "j", "h", "i",
"g", "k", "l", "m", "n", "o", "p", "q", "r",
"s", "t", "u", "v", "w",... | using System;
namespace ConsoleApplication41 {
class Program {
static void Main(string[] args) {
//??¢???????????????????????????
string[] array = { "a", "b", "c", "d", "e", "f", "g", "h", "i",
"j", "k", "l", "m", "n", "o", "p", "q", "r",
"s", "t", "u", "v", "w",... | [["-", 0, 200, 0, 212, 0, 229, 0, 5, 0, 222], ["+", 0, 200, 0, 212, 0, 229, 0, 5, 0, 222]] | 8 | 386 | 4 |
using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
int[] count = new int[26];
int a = (int)'a';
while (true) {
string s = Console.ReadLine();
if (s == null)
break;
string ss = s.ToLower();
char[] c = new char[s.Length];
for ... | using System;
namespace Project {
class MainClass {
public static void Main(string[] args) {
int[] count = new int[26];
int a = (int)'a';
while (true) {
string s = Console.ReadLine();
if (s == null)
break;
string ss = s.ToLower();
char[] c = new char[s.Length];
for ... | [["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]] | 8 | 204 | 2 |
using System;
public class Class1 {
public static void Main() {
string line;
int[] alphabet = new int[26];
while ((line = Console.ReadLine()) != null) {
char[] cs = line.ToCharArray();
for (int i = 0; i < cs.Length; i++) {
if (char.IsLetter(cs[i])) {
if (char.IsUpper(cs[i])... |
using System;
public class Class1 {
public static void Main() {
string line;
int[] alphabet = new int[26];
while ((line = Console.ReadLine()) != null) {
char[] cs = line.ToCharArray();
for (int i = 0; i < cs.Length; i++) {
if (char.IsLetter(cs[i])) {
if (char.IsUpper(cs[i]... | [["+", 0, 28, 0, 16, 31, 16, 31, 74, 39, 199], ["+", 0, 28, 0, 16, 31, 16, 31, 74, 0, 25], ["+", 0, 16, 31, 16, 31, 74, 51, 23, 0, 24]] | 8 | 174 | 3 |
using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
char[] letter = str.ToArray();
string input = Console.ReadLine();
char[] inputletter = input.ToArray();
var index = new List<int>();
for (in... | using System;
using System.Collections.Generic;
using System.Linq;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
char[] letter = str.ToArray();
string input = Console.ReadLine();
char[] inputletter = input.ToArray();
var index = new List<int>();
for (in... | [["-", 0, 198, 0, 200, 0, 212, 0, 211, 0, 146], ["+", 0, 198, 0, 200, 0, 212, 0, 211, 0, 147]] | 8 | 259 | 2 |
using System;
namespace ITP1_8_D {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string p = Console.ReadLine();
string Ans = "No";
s = s + s;
for (int i = 0; i < (s.Length - p.Length); ++i) {
for (int j = 0; j < p.Length; ++j) {
if (s[i + j] != p... | using System;
namespace ITP1_8_D {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string p = Console.ReadLine();
string Ans = "No";
s = s + s;
for (int i = 0; i < (s.Length - p.Length); ++i) {
for (int j = 0; j < p.Length; ++j) {
if (s[i + j] != p... | [["-", 75, 57, 64, 1, 0, 11, 12, 5, 0, 222], ["+", 75, 57, 64, 1, 0, 11, 12, 5, 0, 222]] | 8 | 139 | 2 |
using System;
class ITP1 {
static void Main() {
string str = Console.ReadLine();
str += str;
string str2 = Console.ReadLine();
char[] ch = str.ToCharArray();
char[] ch2 = str2.ToCharArray();
int cnt = 0;
for (int i = 0; i < ch.Length / 2; i++) {
if (ch2[0] == ch[i]) {
for (i... | using System;
class ITP1 {
static void Main() {
string str = Console.ReadLine();
str += str;
string str2 = Console.ReadLine();
char[] ch = str.ToCharArray();
char[] ch2 = str2.ToCharArray();
int cnt = 0;
for (int i = 0; i < ch.Length / 2; i++) {
cnt = 0;
if (ch2[0] == ch[i]) {... | [["+", 0, 7, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 7, 8, 196, 0, 1, 0, 11, 12, 203], ["+", 8, 196, 0, 7, 8, 196, 0, 1, 0, 35], ["-", 0, 57, 64, 196, 0, 57, 15, 16, 17, 20], ["+", 0, 57, 64, 196, 0, 57, 15, 16, 17, 60]] | 8 | 166 | 6 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_8_D {
class Program {
static void Main(string[] args) {
var target = Console.ReadLine();
var word = Console.ReadLine();
target = target + target.Substring(0, word.Length - 1);
// var find = target.Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITP1_8_D {
class Program {
static void Main(string[] args) {
var target = Console.ReadLine();
var word = Console.ReadLine();
target = target + target.Substring(0, word.Length - 1);
// var find = target.Co... | [["-", 0, 7, 15, 16, 12, 23, 0, 16, 17, 33], ["+", 0, 7, 15, 16, 12, 23, 0, 16, 17, 72]] | 8 | 183 | 2 |
using System;
namespace ConsoleApplication43 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string p = Console.ReadLine();
string ss = s + s;
int a = 0;
for (int i = 0; i < s.Length; i++) {
if (p[0].Equals(ss[i])) {
if (s.Length > (i + p.Length - ... | using System;
namespace ConsoleApplication43 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string p = Console.ReadLine();
string ss = s + s;
int a = 0;
for (int i = 0; i < s.Length; i++) {
if (p[0].Equals(ss[i])) {
if (ss.Length > (i + p.Length -... | [["-", 64, 196, 0, 57, 15, 16, 31, 214, 205, 22], ["+", 64, 196, 0, 57, 15, 16, 31, 214, 205, 22]] | 8 | 165 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.