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;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Competitive {
internal class Solution {
public int N, Q;
public void Run() {
{
var line = Input.ReadIntArray();
N = line[0];
Q = line[1];
}
var S = new SegTree(N);
for (int i = 0; i < Q; i++) {
var line = Input.ReadIntArray();
int C = line[0];
if (C == 0) {
int s = line[1] - 1;
int t = line[2] - 1;
int x = line[3];
if (C == 0)
S.Update(s, t + 1, x);
} else {
int id = line[1] - 1;
Console.WriteLine(S.Query(id));
}
}
}
}
// libs ----------
internal class SegTree {
public static bool DEBUG = true;
public int N;
public int NCells;
public int[] Data;
public int[] KL; // 範囲のbegin
public int[] KR; // 範囲のend(そのセルは含まない)
public const int Dummy = -1;
public SegTree(int _n) { Init(_n); }
private int GetN(int _n) {
int n = 1;
while (n < _n) {
n *= 2;
}
return n;
}
private void Init(int _n, int initialValue = 0) {
N = GetN(_n);
NCells = 2 * N - 1;
Data = new int[NCells];
KL = new int[NCells];
KR = new int[NCells];
// KL, KRの初期化
for (int k = 0; k < NCells; k++) {
if (IsRoot(k)) {
KL[k] = 0;
KR[k] = N;
} else {
if (IsChildL(k)) {
KL[k] = KL[Parent(k)];
KR[k] = (KL[Parent(k)] + KR[Parent(k)]) / 2;
} else {
KL[k] = (KL[Parent(k)] + KR[Parent(k)]) / 2;
KR[k] = KR[Parent(k)];
}
}
}
// 値の初期化
for (int k = 0; k < NCells; k++)
Data[k] = initialValue;
}
// i番目のみの値を保持するセル
public int Pos(int i) { return i + N - 1; }
// 親セル・子セル
public int Parent(int k) { return (k - 1) / 2; }
public int ChildL(int k) { return k * 2 + 1; }
public int ChildR(int k) { return k * 2 + 2; }
// 根かどうか
public bool IsRoot(int k) { return k == 0; }
// 左側の子かどうか
public bool IsChildL(int k) {
if (IsRoot(k))
return false;
return ChildL(Parent(k)) == k;
}
// Update - top down
public void Update(int il, int ir, int a) {
update(il, ir, 0, a);
if (DEBUG) {
Console.WriteLine("--------------");
int c = 2;
for (int i = 0; i < NCells; i++) {
if (i == c - 1) {
Console.WriteLine();
c *= 2;
}
Console.Write(Data[i] + " ");
}
Console.WriteLine();
Console.WriteLine("--------------");
}
}
private void update(int il, int ir, int k, int a) {
int kl = KL[k];
int kr = KR[k];
if (kr <= il || ir <= kl)
return;
// 完全に重複している場合にその値を加算
if (il <= kl && kr <= ir)
Data[k] += a;
else {
// 子の処理を行う
update(il, ir, ChildL(k), a);
update(il, ir, ChildR(k), a);
}
}
// Query - bottom up
public int Query(int i) { return query(i, i + 1, 0); }
private int query(int il, int ir, int k) {
int kl = KL[k];
int kr = KR[k];
if (kr <= il || ir <= kl)
return 0;
if (il <= kl && kr <= ir)
return Data[k];
else {
Data[ChildL(k)] += Data[k];
Data[ChildR(k)] += Data[k];
Data[k] = 0;
return query(il, ir, ChildL(k)) + query(il, ir, ChildR(k));
}
}
}
// common ----------
internal static class Input {
public static string ReadString() {
string line = Console.ReadLine();
return line;
}
public static int ReadInt() {
string line = Console.ReadLine();
return int.Parse(line);
}
public static int[] ReadIntArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(int.Parse).ToArray();
}
public static long ReadLong() {
string line = Console.ReadLine();
return long.Parse(line);
}
public static long[] ReadLongArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(long.Parse).ToArray();
}
public static double[] ReadDoubleArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(double.Parse).ToArray();
}
}
internal class Program {
public static void Main(string[] args) {
var s = new Solution();
s.Run();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Competitive {
internal class Solution {
public int N, Q;
public void Run() {
{
var line = Input.ReadIntArray();
N = line[0];
Q = line[1];
}
var S = new SegTree(N);
for (int i = 0; i < Q; i++) {
var line = Input.ReadIntArray();
int C = line[0];
if (C == 0) {
int s = line[1] - 1;
int t = line[2] - 1;
int x = line[3];
if (C == 0)
S.Update(s, t + 1, x);
} else {
int id = line[1] - 1;
Console.WriteLine(S.Query(id));
}
}
}
}
// libs ----------
internal class SegTree {
public static bool DEBUG = false;
public int N;
public int NCells;
public int[] Data;
public int[] KL; // 範囲のbegin
public int[] KR; // 範囲のend(そのセルは含まない)
public const int Dummy = -1;
public SegTree(int _n) { Init(_n); }
private int GetN(int _n) {
int n = 1;
while (n < _n) {
n *= 2;
}
return n;
}
private void Init(int _n, int initialValue = 0) {
N = GetN(_n);
NCells = 2 * N - 1;
Data = new int[NCells];
KL = new int[NCells];
KR = new int[NCells];
// KL, KRの初期化
for (int k = 0; k < NCells; k++) {
if (IsRoot(k)) {
KL[k] = 0;
KR[k] = N;
} else {
if (IsChildL(k)) {
KL[k] = KL[Parent(k)];
KR[k] = (KL[Parent(k)] + KR[Parent(k)]) / 2;
} else {
KL[k] = (KL[Parent(k)] + KR[Parent(k)]) / 2;
KR[k] = KR[Parent(k)];
}
}
}
// 値の初期化
for (int k = 0; k < NCells; k++)
Data[k] = initialValue;
}
// i番目のみの値を保持するセル
public int Pos(int i) { return i + N - 1; }
// 親セル・子セル
public int Parent(int k) { return (k - 1) / 2; }
public int ChildL(int k) { return k * 2 + 1; }
public int ChildR(int k) { return k * 2 + 2; }
// 根かどうか
public bool IsRoot(int k) { return k == 0; }
// 左側の子かどうか
public bool IsChildL(int k) {
if (IsRoot(k))
return false;
return ChildL(Parent(k)) == k;
}
// Update - top down
public void Update(int il, int ir, int a) {
update(il, ir, 0, a);
if (DEBUG) {
Console.WriteLine("--------------");
int c = 2;
for (int i = 0; i < NCells; i++) {
if (i == c - 1) {
Console.WriteLine();
c *= 2;
}
Console.Write(Data[i] + " ");
}
Console.WriteLine();
Console.WriteLine("--------------");
}
}
private void update(int il, int ir, int k, int a) {
int kl = KL[k];
int kr = KR[k];
if (kr <= il || ir <= kl)
return;
// 完全に重複している場合にその値を加算
if (il <= kl && kr <= ir)
Data[k] += a;
else {
// 子の処理を行う
update(il, ir, ChildL(k), a);
update(il, ir, ChildR(k), a);
}
}
// Query - bottom up
public int Query(int i) { return query(i, i + 1, 0); }
private int query(int il, int ir, int k) {
int kl = KL[k];
int kr = KR[k];
if (kr <= il || ir <= kl)
return 0;
if (il <= kl && kr <= ir)
return Data[k];
else {
Data[ChildL(k)] += Data[k];
Data[ChildR(k)] += Data[k];
Data[k] = 0;
return query(il, ir, ChildL(k)) + query(il, ir, ChildR(k));
}
}
}
// common ----------
internal static class Input {
public static string ReadString() {
string line = Console.ReadLine();
return line;
}
public static int ReadInt() {
string line = Console.ReadLine();
return int.Parse(line);
}
public static int[] ReadIntArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(int.Parse).ToArray();
}
public static long ReadLong() {
string line = Console.ReadLine();
return long.Parse(line);
}
public static long[] ReadLongArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(long.Parse).ToArray();
}
public static double[] ReadDoubleArray() {
string line = Console.ReadLine();
return line.Split(' ').Select(double.Parse).ToArray();
}
}
internal class Program {
public static void Main(string[] args) {
var s = new Solution();
s.Run();
}
}
}
|
[["-", 0, 198, 0, 200, 0, 212, 0, 211, 0, 146], ["+", 0, 198, 0, 200, 0, 212, 0, 211, 0, 147]]
| 8
| 1,179
| 2
|
using System;
class main {
static void Main(string[] args) {
int seconds = 0, minutes = 0, hours = 0;
int input = int.Parse(Console.ReadLine());
if (input < 60) {
seconds = input;
} else if (input < 3600) {
seconds = input % 60;
minutes = (input - seconds) % 3600;
} else {
seconds = input % 60;
minutes = ((input % 3600) - seconds) / 60;
hours = (input - seconds - minutes * 60) / 3600;
}
Console.WriteLine(hours.ToString() + ':' + minutes.ToString() + ':' +
seconds.ToString());
}
}
|
using System;
class main {
static void Main(string[] args) {
int seconds = 0, minutes = 0, hours = 0;
int input = int.Parse(Console.ReadLine());
if (input < 60) {
seconds = input;
} else if (input < 3600) {
seconds = input % 60;
minutes = ((input % 3600) - seconds) / 60;
} else {
seconds = input % 60;
minutes = ((input % 3600) - seconds) / 60;
hours = (input - seconds - minutes * 60) / 3600;
}
Console.WriteLine(hours.ToString() + ':' + minutes.ToString() + ':' +
seconds.ToString());
}
}
|
[["+", 12, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["+", 31, 23, 0, 16, 31, 23, 0, 16, 17, 109], ["+", 31, 23, 0, 16, 31, 23, 0, 16, 12, 203], ["+", 12, 16, 31, 23, 0, 16, 31, 23, 0, 25], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 17, 109], ["-", 64, 196, 0, 1, 0, 11, 12, 16, 12, 203], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 64, 196, 0, 1, 0, 11, 12, 16, 12, 203]]
| 8
| 150
| 8
|
using System;
using System.Linq;
namespace AOJ {
class Program {
public static void Main(string[] args) {
var a = int.Parse(Console.ReadLine());
Console.WriteLine("{0}:{1}:{2}", a / 3600, a / 60 % 60, a % 3600);
}
}
}
|
using System;
using System.Linq;
namespace AOJ {
class Program {
public static void Main(string[] args) {
var a = int.Parse(Console.ReadLine());
Console.WriteLine("{0}:{1}:{2}", a / 3600, a / 60 % 60, a % 60);
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203], ["+", 0, 213, 3, 4, 0, 28, 0, 16, 12, 203]]
| 8
| 65
| 2
|
using System;
class AOJ {
public static void Main() {
var input = int.Parse(Console.ReadLine().Trim());
int h = input / 3600;
input = input % 3600;
int m = input / 60;
int s = input % 60;
Console.WriteLine(string.Format("{0}:{1}:{2}"), h, m, s);
}
}
|
using System;
class AOJ {
public static void Main() {
int input = int.Parse(Console.ReadLine().Trim());
int h = input / 3600;
input = input % 3600;
int m = input / 60;
int s = input % 60;
Console.WriteLine(string.Format("{0}:{1}:{2}", h, m, s));
}
}
|
[["-", 8, 196, 0, 197, 0, 198, 39, 216, 0, 217], ["+", 0, 195, 8, 196, 0, 197, 0, 198, 39, 199], ["-", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25], ["+", 3, 4, 0, 28, 0, 213, 3, 4, 0, 25]]
| 8
| 80
| 4
|
using System;
class Untitled {
static void Main(string[] args) {
bool parsed = false;
int seconds = 0;
string s = Console.ReadLine();
if (!String.IsNullOrEmpty(s)) {
parsed = Int32.TryParse(s, out seconds);
}
if (parsed && 0 <= seconds && seconds < 86400) {
TimeSpan time = TimeSpan.FromSeconds(seconds);
string answer = string.Format("{0:D2}:{1:D2}:{2:D2}", time.Hours,
time.Minutes, time.Seconds);
System.Console.WriteLine(answer);
}
}
}
|
using System;
class Untitled {
static void Main(string[] args) {
bool parsed = false;
int seconds = 0;
string s = Console.ReadLine();
if (!String.IsNullOrEmpty(s)) {
parsed = Int32.TryParse(s, out seconds);
}
if (parsed && 0 <= seconds && seconds < 86400) {
TimeSpan time = TimeSpan.FromSeconds(seconds);
string answer = string.Format("{0:D}:{1:D}:{2:D}", time.Hours,
time.Minutes, time.Seconds);
System.Console.WriteLine(answer);
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 118
| 2
|
using System;
namespace Hi {
class Program {
static void Main() {
int x = int.Parse(Console.ReadLine());
int h = 0, m = 0, s = 0;
while (x >= 3600) {
x -= 3600;
h++;
}
while (x >= 60) {
x -= 60;
m++;
}
Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
}
|
using System;
namespace Hi {
class Program {
static void Main() {
int x = int.Parse(Console.ReadLine());
int h = 0, m = 0, s = 0;
while (x >= 3600) {
x -= 3600;
h++;
}
while (x >= 60) {
x -= 60;
m++;
}
s = x;
Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
}
|
[["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 1, 0, 35]]
| 8
| 90
| 4
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
int b = a / 3600;
int c = a % 3600;
Console.WriteLine("{0} {1} {2}", b, c / 60, c % 60);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp5 {
class Program {
static void Main(string[] args) {
// var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
// int a = ab[0];
// int b = ab[1];
// Console.WriteLine("{0} {1}", a * b, a*2+b*2);
int a = int.Parse(Console.ReadLine());
int b = a / 3600;
int c = a % 3600;
Console.WriteLine("{0}:{1}:{2}", b, c / 60, c % 60);
}
}
}
|
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 86
| 4
|
using System;
namespace p3 {
class prg {
static void Main() {
ushort h = ushort.Parse(Console.ReadLine());
ushort m, s;
s = (ushort)(h % 60);
h -= s;
h /= 60;
m = (ushort)(h % 60);
h -= m;
h /= 60;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
}
|
using System;
namespace p3 {
class prg {
static void Main() {
uint h = uint.Parse(Console.ReadLine());
uint m, s;
s = (uint)(h % 60);
h -= s;
h /= 60;
m = (uint)(h % 60);
h -= m;
h /= 60;
Console.WriteLine(h + ":" + m + ":" + 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, 196, 0, 1, 0, 11, 12, 74, 39, 199], ["+", 8, 196, 0, 1, 0, 11, 12, 74, 39, 199]]
| 8
| 94
| 10
|
using System;
class Wacth {
static void Main() {
int time = int.Parse(Console.ReadLine());
int h = time / 3600;
int h2 = time % 3600;
int m = h2 / 60;
int m2 = h2 % 60;
int s = m2;
Console.WriteLine(h + " : " + m + " : " + s);
}
}
|
using System;
class Wacth {
static void Main() {
int time = int.Parse(Console.ReadLine());
int h = time / 3600;
int h2 = time % 3600;
int m = h2 / 60;
int m2 = h2 % 60;
int s = m2;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
|
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["-", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222], ["+", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222]]
| 8
| 80
| 4
|
using System;
class Program {
static void Main(string[] args) {
int s = int.Parse(Console.ReadLine());
int h = s / 3600;
s %= 3600;
int m = s / 60;
s %= 60;
Console.WriteLine("{0} : {1} : {2}", h, m, s);
}
}
|
using System;
class Program {
static void Main(string[] args) {
int s = int.Parse(Console.ReadLine());
int h = s / 3600;
s %= 3600;
int m = s / 60;
s %= 60;
Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 69
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication32 {
class Program {
static void Main() {
int a = int.Parse(Console.ReadLine());
int b = a / 3600;
int c = (a % 3600) / 60;
int d = a - b * 3600 - b * 60;
Console.WriteLine("{0}:{1}:{2}", b, c, d);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication32 {
class Program {
static void Main() {
int a = int.Parse(Console.ReadLine());
int b = a / 3600;
int c = (a % 3600) / 60;
int d = a - b * 3600 - c * 60;
Console.WriteLine("{0}:{1}:{2}", b, c, d);
}
}
}
|
[["-", 0, 200, 0, 212, 0, 16, 12, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 31, 22]]
| 8
| 95
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Watch {
class Program {
static void Main(string[] args) {
int S = int.Parse(Console.ReadLine());
int h = S / 1440;
int m = S / 60;
int s = S % 60;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Watch {
class Program {
static void Main(string[] args) {
int S = int.Parse(Console.ReadLine());
int h = S / 3600;
int m = S / 60 - h * 60;
int s = S % 60;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
}
|
[["-", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 12, 203], ["+", 0, 200, 0, 212, 0, 16, 31, 16, 12, 203], ["+", 0, 198, 0, 200, 0, 212, 0, 16, 17, 33], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 31, 22], ["+", 0, 200, 0, 212, 0, 16, 12, 16, 17, 48]]
| 8
| 93
| 6
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
int S;
int h;
int m;
int s;
S = int.Parse(System.Console.ReadLine());
if (0 <= S || S <= 86400) {
h = S / 3600;
if (S % 3600 == 0) {
m = 0;
s = 0;
} else {
m = (S % 3600) / 60;
s = m % 60;
}
System.Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
int S;
int h;
int m;
int s;
S = int.Parse(System.Console.ReadLine());
if (0 <= S || S <= 86400) {
h = S / 3600;
if (S % 3600 == 0) {
m = 0;
s = 0;
} else {
m = (S % 3600) / 60;
s = (S % 3600) % 60;
}
System.Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
}
}
|
[["-", 75, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 203], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]]
| 8
| 133
| 6
|
using System;
namespace ConsoleApp1 {
class Program {
static void Main() {
var S = int.Parse(Console.ReadLine());
int h, m, s;
h = S / 3600;
m = (S % 3600) / 60;
s = (S % 60);
Console.WriteLine("h = (0), m = {1},s = {2}", h, m, s);
}
}
}
|
using System;
namespace ConsoleApp1 {
class Program {
static void Main() {
var S = int.Parse(Console.ReadLine());
int h, m, s;
h = S / 3600;
m = (S % 3600) / 60;
s = (S % 60);
Console.WriteLine("{0}:{1}:{2}", h, m, s);
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 78
| 2
|
using System;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
int second = int.Parse(str);
int h, m, s;
h = second / 3600;
second %= 3600;
m = second % 60;
second %= 60;
s = second;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
|
using System;
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
int second = int.Parse(str);
int h, m, s;
h = second / 3600;
second %= 3600;
m = second / 60;
second %= 60;
s = second;
Console.WriteLine(h + ":" + m + ":" + s);
}
}
|
[["-", 8, 196, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 85]]
| 8
| 87
| 2
|
using System;
namespace ConsoleApp7 {
class Program {
public const int HOUR = 3600;
public const int MIN = 60;
static void Main(string[] args) {
int NUM = int.Parse(Console.ReadLine());
int H = NUM / 3600;
int ret = NUM % 3600;
int M = ret / 60;
int S = ret % 60;
Console.WriteLine("{0};{1};{2}", H, M, S);
}
}
}
|
using System;
namespace ConsoleApp7 {
class Program {
public const int HOUR = 3600;
public const int MIN = 60;
static void Main(string[] args) {
int NUM = int.Parse(Console.ReadLine());
int H = NUM / 3600;
int ret = NUM % 3600;
int M = ret / 60;
int S = ret % 60;
Console.WriteLine("{0}:{1}:{2}", H, M, S);
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 93
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJ1_1_E {
class Program {
static void Main(string[] args) {
string[] number = Console.ReadLine().Split(' ');
int a = int.Parse(number[0]);
int b = int.Parse(number[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJ1_1_E {
class Program {
static void Main(string[] args) {
string[] number = Console.ReadLine().Split(' ');
int a = int.Parse(number[0]);
int b = int.Parse(number[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 137
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJHelloWorld1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a <= b) {
Console.WriteLine("a < b");
} else if (a == b) {
Console.WriteLine("a == b");
} else {
Console.WriteLine("a > b");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJHelloWorld1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 19], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 18], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 60], ["+", 8, 196, 0, 57, 75, 57, 15, 16, 17, 47], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 137
| 8
|
using System;
class program {
public static int Main() {
var In = Console.ReadLine();
var a = int.Parse(In.Split(' ')[0]);
var b = int.Parse(In.Split(' ')[1]);
string sign = "==";
if (a > b) {
sign = ">";
} else if (a < b) {
sign = "<";
}
Console.WriteLine("a {1} b", sign);
return 0;
}
}
|
using System;
class program {
public static int Main() {
var In = Console.ReadLine();
var a = int.Parse(In.Split(' ')[0]);
var b = int.Parse(In.Split(' ')[1]);
string sign = "==";
if (a > b) {
sign = ">";
} else if (a < b) {
sign = "<";
}
Console.WriteLine("a {0} b", sign);
return 0;
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 114
| 2
|
using System;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
namespace aizu {
public class EntryPoint {
public static int[] Split(string line) {
return Regex.Split(line, " ").Select(x => int.Parse(x)).ToArray();
}
public static void Main() {
var line = Console.ReadLine();
var v = Split(line);
if (v[0] < v[1]) {
Console.WriteLine("a < b");
} else if (v[0] > v[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
namespace aizu {
public class EntryPoint {
public static int[] Split(string line) {
return Regex.Split(line, " ").Select(x => int.Parse(x)).ToArray();
}
public static void Main() {
var line = Console.ReadLine();
var v = Split(line);
if (v[0] < v[1]) {
Console.WriteLine("a < b");
} else if (v[0] > v[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 153
| 2
|
using System;
class Program {
private static int Main() {
var input = Console.ReadLine();
var values = input.Split(' ');
int a = int.Parse(values[0]);
int b = int.Parse(values[1]);
string mark;
if (a < b) {
mark = "<";
} else if (a > b) {
mark = ">";
} else {
mark = "==";
}
var output = string.Format("{0} {1} {2}", a, mark, b);
Console.WriteLine(output);
return 0;
}
}
|
using System;
class Program {
private static int Main() {
var input = Console.ReadLine();
var values = input.Split(' ');
int a = int.Parse(values[0]);
int b = int.Parse(values[1]);
string mark;
if (a < b) {
mark = "<";
} else if (a > b) {
mark = ">";
} else {
mark = "==";
}
var output = string.Format("a {0} b", mark);
Console.WriteLine(output);
return 0;
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["-", 0, 200, 0, 212, 0, 213, 3, 4, 0, 21], ["-", 0, 212, 0, 213, 3, 4, 0, 28, 0, 22]]
| 8
| 131
| 6
|
using System;
namespace tes {
class Program {
public static void Main() {
String str = Console.ReadLine();
String[] num = str.Split(' ');
if (int.Parse(num[0]) < int.Parse(num[1])) {
Console.WriteLine("a <b");
} else if (int.Parse(num[0]) > int.Parse(num[1])) {
Console.WriteLine("a> b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
using System;
namespace tes {
class Program {
public static void Main() {
String str = Console.ReadLine();
String[] num = str.Split(' ');
if (int.Parse(num[0]) < int.Parse(num[1])) {
Console.WriteLine("a < b");
} else if (int.Parse(num[0]) > int.Parse(num[1])) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 121
| 4
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
void Calc() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
if (a == b) {
Console.WriteLine("a == b");
} else if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a > b");
}
}
static void Main() { new Program().Calc(); }
class Scanner {
string[] s = new string[0];
int i = 0;
char[] cs = new char[] { ' ' };
public string Next() {
if (i < s.Length)
return s[i++];
s = Console.ReadLine().Split(cs, StringSplitOptions.RemoveEmptyEntries);
i = 0;
return s[i++];
}
public int NextInt() { return int.Parse(Next()); }
public long NextLong() { return long.Parse(Next()); }
public double NextDouble() { return double.Parse(Next()); }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program {
void Calc() {
var sc = new Scanner();
int a = sc.NextInt();
int b = sc.NextInt();
if (a == b) {
Console.WriteLine("a == b");
} else if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
}
}
static void Main() { new Program().Calc(); }
class Scanner {
string[] s = new string[0];
int i = 0;
char[] cs = new char[] { ' ' };
public string Next() {
if (i < s.Length)
return s[i++];
s = Console.ReadLine().Split(cs, StringSplitOptions.RemoveEmptyEntries);
i = 0;
return s[i++];
}
public int NextInt() { return int.Parse(Next()); }
public long NextLong() { return long.Parse(Next()); }
public double NextDouble() { return double.Parse(Next()); }
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 261
| 2
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 113
| 2
|
using System;
namespace ConsoleApplication11 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a < b) {
Console.WriteLine("a<b");
}
if (a > b) {
Console.WriteLine("a>b");
}
if (a == b) {
Console.WriteLine("a==b");
}
}
}
}
|
using System;
namespace ConsoleApplication11 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a < b) {
Console.WriteLine("a < b");
}
if (a > b) {
Console.WriteLine("a > b");
}
if (a == b) {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 117
| 6
|
using System;
class main {
public static int Main() {
string x = Console.ReadLine();
string[] str = x.Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
}
if (a > b) {
Console.WriteLine("a > b");
}
else {
Console.WriteLine("a == b");
}
return 0;
}
}
|
using System;
class main {
public static int Main() {
string x = Console.ReadLine();
string[] str = x.Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
}
if (a > b) {
Console.WriteLine("a > b");
}
if (a == b) {
Console.WriteLine("a == b");
}
return 0;
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25]]
| 8
| 113
| 7
|
using System;
using System.Collections.Generic;
class Program {
public void Proc() {
string[] inpt = Console.ReadLine().Split(' ');
int a = int.Parse(inpt[0]);
int b = int.Parse(inpt[1]);
string kigo = "";
if (a == b) {
kigo = "=";
} else if (a > b) {
kigo = ">";
} else {
kigo = "<";
}
Console.WriteLine("a " + kigo + " b");
}
static void Main(string[] args)
{
Program prg = new Program();
prg.Proc();
}
}
|
using System;
using System.Collections.Generic;
class Program {
public void Proc() {
string[] inpt = Console.ReadLine().Split(' ');
int a = int.Parse(inpt[0]);
int b = int.Parse(inpt[1]);
string kigo = "";
if (a == b) {
kigo = "==";
} else if (a > b) {
kigo = ">";
} else {
kigo = "<";
}
Console.WriteLine("a " + kigo + " b");
}
static void Main(string[] args)
{
Program prg = new Program();
prg.Proc();
}
}
|
[["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 222]]
| 8
| 149
| 2
|
using System;
class main {
public static void Main() {
string[] str = Console.ReadLine().Split();
int a = int.Parse(str[0]), b = int.Parse(str[1]);
if ((a < b)) {
Console.WriteLine("a<b");
} else if (a > b) {
Console.WriteLine("a>b");
} else
Console.WriteLine("a==b");
}
}
|
using System;
class main {
public static void Main() {
string[] str = Console.ReadLine().Split();
int a = int.Parse(str[0]), b = int.Parse(str[1]);
if ((a < b)) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else
Console.WriteLine("a == b");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 102
| 6
|
using System;
using System.Linq;
namespace SorLorE {
class Program {
static void Main(string[] args) {
int[] data =
Console.ReadLine().Split(' ').Select(x => Convert.ToInt32(x)).ToArray();
Conpare.Judje(data[0], data[1]);
}
}
class Conpare {
static public void Judje(int a, int b) {
string relation;
if (a > b)
relation = ">";
else if (a < b)
relation = "<";
else
relation = "==";
Console.WriteLine(a + " " + relation + " " + b);
}
}
}
|
using System;
using System.Linq;
namespace SorLorE {
class Program {
static void Main(string[] args) {
int[] data =
Console.ReadLine().Split(' ').Select(x => Convert.ToInt32(x)).ToArray();
Conpare.Judje(data[0], data[1]);
}
}
class Conpare {
static public void Judje(int a, int b) {
string relation;
if (a > b)
relation = ">";
else if (a < b)
relation = "<";
else
relation = "==";
Console.WriteLine("a " + relation + " b");
}
}
}
|
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 72], ["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 222], ["+", 0, 28, 0, 16, 31, 16, 31, 5, 0, 222], ["-", 0, 28, 0, 16, 31, 16, 12, 5, 0, 222], ["+", 3, 4, 0, 28, 0, 16, 12, 5, 0, 222], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 17, 72], ["-", 0, 213, 3, 4, 0, 28, 0, 16, 12, 22]]
| 8
| 147
| 8
|
using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a == b)
Console.WriteLine("a == b");
else if (a > b)
Console.WriteLine("a>b");
else if (a < b)
Console.WriteLine("a<b");
}
}
|
using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
if (a == b)
Console.WriteLine("a == b");
else if (a > b)
Console.WriteLine("a > b");
else if (a < b)
Console.WriteLine("a < b");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 105
| 4
|
using System;
using System.Collections.Generic;
namespace Lesson04 {
class MainClass {
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_temp.Add(s_temp);
strdata = Console.ReadLine();
}
return list_temp;
}
public static void Main(string[] args) {
List<string[]> arr_result = new List<string[]>();
arr_result = getinputdata();
int a = int.Parse(arr_result[0][0]);
int b = int.Parse(arr_result[0][1]);
if (a == b) {
Console.WriteLine("a==b");
} else if (a > b) {
Console.WriteLine("a>b");
} else if (a < b) {
Console.WriteLine("a<b");
}
}
}
}
|
using System;
using System.Collections.Generic;
namespace Lesson04 {
class MainClass {
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_temp.Add(s_temp);
strdata = Console.ReadLine();
}
return list_temp;
}
public static void Main(string[] args) {
List<string[]> arr_result = new List<string[]>();
arr_result = getinputdata();
int a = int.Parse(arr_result[0][0]);
int b = int.Parse(arr_result[0][1]);
if (a == b) {
Console.WriteLine("a == b");
} else if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 219
| 6
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
var ab = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray();
var a = ab[0];
var b = ab[1];
if (a < b) {
Console.WriteLine("a < b");
} else {
if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
var ab = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray();
var a = ab[0];
var b = ab[1];
if (a < b) {
Console.WriteLine("a < b");
} else {
if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 133
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp5 {
class Program {
static void Main(string[] args) {
var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
int a = ab[0];
int b = ab[1];
if (a == b) {
Console.WriteLine("a==b");
} else if (a < b) {
Console.WriteLine("a<b");
} else {
Console.WriteLine("a>b");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp5 {
class Program {
static void Main(string[] args) {
var ab = Console.ReadLine().Split().Select(int.Parse).ToArray();
int a = ab[0];
int b = ab[1];
if (a == b) {
Console.WriteLine("a == b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a > b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 126
| 6
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a, b;
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a, b;
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 116
| 2
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String x = Console.ReadLine();
//???????????????????????£??\
String[] array = x.Split(' ');
//??°???????????´????????£??\
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
//??????????????¨???
if (a == b) {
Console.WriteLine("a == b");
}
if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a < b");
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String x = Console.ReadLine();
//???????????????????????£??\
String[] array = x.Split(' ');
//??°???????????´????????£??\
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
//??????????????¨???
if (a == b) {
Console.WriteLine("a == b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a < b");
}
}
}
}
|
[["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95]]
| 8
| 120
| 1
|
using System;
class ITP1_2 {
public static void Main() {
string[] Input = Console.ReadLine().Split(' ');
int a = int.Parse(Input[0]);
int b = int.Parse(Input[1]);
Console.Write("a ");
if (a > b)
Console.Write(">");
if (a == b)
Console.Write("=");
if (a < b)
Console.Write("<");
Console.WriteLine(" b");
}
}
|
using System;
class ITP1_2 {
public static void Main() {
string[] Input = Console.ReadLine().Split(' ');
int a = int.Parse(Input[0]);
int b = int.Parse(Input[1]);
Console.Write("a ");
if (a > b)
Console.Write(">");
if (a == b)
Console.Write("==");
if (a < b)
Console.Write("<");
Console.WriteLine(" 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.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[1] > x[0]) {
Console.WriteLine("a > b");
} else if (x[0] > x[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
using System;
using System.Linq;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
if (x[1] > x[0]) {
Console.WriteLine("a < b");
} else if (x[0] > x[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 112
| 2
|
using System;
class aizu {
public static int Main() {
int[] n = new int[100];
string[] str = new string[100];
str = Console.ReadLine().Split(' ');
n[0] = int.Parse(str[0]);
n[1] = int.Parse(str[1]);
if (n[0] - n[1] > 0)
Console.WriteLine("a > b");
else if (n[0] - n[1] < 0)
Console.WriteLine("a < b");
else if (n[0] - n[1] < 0)
Console.WriteLine("a == b");
return 0;
}
}
|
using System;
class aizu {
public static int Main() {
int[] n = new int[100];
string[] str = new string[100];
str = Console.ReadLine().Split(' ');
n[0] = int.Parse(str[0]);
n[1] = int.Parse(str[1]);
if (n[0] - n[1] > 0)
Console.WriteLine("a > b");
else if (n[0] - n[1] < 0)
Console.WriteLine("a < b");
else if (n[0] - n[1] == 0)
Console.WriteLine("a == b");
return 0;
}
}
|
[["-", 0, 57, 75, 57, 75, 57, 15, 16, 17, 18], ["+", 0, 57, 75, 57, 75, 57, 15, 16, 17, 60]]
| 8
| 156
| 2
|
using System;
class EntryPoint {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
Calc c = new Calc();
c.Compare(a, b);
}
}
class Calc {
public void Compare(int a, int b) {
if (a < b)
Console.WriteLine("a < b");
else if (a > b)
Console.WriteLine("a > b");
else
Console.WriteLine("a = b");
}
}
|
using System;
class EntryPoint {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
Calc c = new Calc();
c.Compare(a, b);
}
}
class Calc {
public void Compare(int a, int b) {
if (a < b)
Console.WriteLine("a < b");
else if (a > b)
Console.WriteLine("a > b");
else
Console.WriteLine("a == b");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 132
| 2
|
public class Small_Large_or_Equal {
static void Main(string[] args) {
var line = System.Console.ReadLine().Trim().Split(' ');
int a = int.Parse(line[0]);
int b = int.Parse(line[1]);
string str = "a";
if (a < b) {
str += "<b";
} else if (a == b) {
str += "==b";
} else {
str += ">b";
}
System.Console.WriteLine(str);
}
}
|
public class Small_Large_or_Equal {
static void Main(string[] args) {
var line = System.Console.ReadLine().Trim().Split(' ');
int a = int.Parse(line[0]);
int b = int.Parse(line[1]);
string str = "a ";
if (a < b) {
str += "< b";
} else if (a == b) {
str += "== b";
} else {
str += "> b";
}
System.Console.WriteLine(str);
}
}
|
[["-", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["+", 0, 198, 0, 200, 0, 212, 0, 5, 0, 222], ["-", 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]]
| 8
| 118
| 8
|
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[] ab = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (ab[0] == ab[1]) {
Console.WriteLine("a==b");
} else if (ab[0] > ab[1]) {
Console.WriteLine("a>b");
} else {
Console.WriteLine("a<b");
}
}
}
}
|
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[] ab = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
if (ab[0] == ab[1]) {
Console.WriteLine("a == b");
} else if (ab[0] > ab[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a < b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 132
| 6
|
using System;
class AOJ {
public static void Main() {
String[] st = Console.ReadLine().Split(' ');
int a = int.Parse(st[0]);
int b = int.Parse(st[1]);
if (a == b)
Console.WriteLine("a = b");
else if (a < b)
Console.WriteLine("a < b");
else
Console.WriteLine("a > b");
}
}
|
using System;
class AOJ {
public static void Main() {
String[] st = Console.ReadLine().Split(' ');
int a = int.Parse(st[0]);
int b = int.Parse(st[1]);
if (a == b)
Console.WriteLine("a == b");
else if (a < b)
Console.WriteLine("a < b");
else
Console.WriteLine("a > b");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 100
| 2
|
using System;
using System.Collections.Generic;
// using System.Linq;
// using System.Text;
// using System.Threading.Tasks;
// namespace _2_A
//{
class Program {
static void Main(string[] args) {
//????????????
string a = Console.ReadLine();
string[] b = a.Split(' ');
int x = int.Parse(b[0]);
int y = int.Parse(b[1]);
//?????¶??????
if (x < y) {
Console.WriteLine("a < b");
} else if (x > y) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
//}
|
using System;
using System.Collections.Generic;
// using System.Linq;
// using System.Text;
// using System.Threading.Tasks;
// namespace _2_A
//{
class Program {
static void Main(string[] args) {
//????????????
string a = Console.ReadLine();
string[] b = a.Split(' ');
int x = int.Parse(b[0]);
int y = int.Parse(b[1]);
//?????¶??????
if (x < y) {
Console.WriteLine("a < b");
} else if (x > y) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
//}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 129
| 2
|
using System;
using System.Linq;
class aizu_judge {
static void Main() {
int[] num = System.Console.ReadLine().Split().Select(int.Parse).ToArray();
int result = num[0] - num[1];
if (result > 0)
Console.WriteLine("a > b");
else if (result < 0)
Console.WriteLine("a < b");
else
Console.WriteLine("a = b");
}
}
|
using System;
using System.Linq;
class aizu_judge {
static void Main() {
int[] num = System.Console.ReadLine().Split().Select(int.Parse).ToArray();
int result = num[0] - num[1];
if (result > 0)
Console.WriteLine("a > b");
else if (result < 0)
Console.WriteLine("a < b");
else
Console.WriteLine("a == b");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 101
| 2
|
using System;
public class Program {
public static void Main(string[] args) {
var ss = new StreamScanner();
//---------------------------------
var x = ss.Next<int>();
var y = ss.Next<int>();
if (x > y) {
Console.WriteLine("a>b");
} else if (x < y) {
Console.WriteLine("a<b");
} else {
Console.WriteLine("a==b");
}
/*
//????????????int, double, string?????????????????£????????????
int i = ss.Next<int>();
double d = ss.Next<double>();
string s = ss.Next<string>();
//?????°???????????????????????¨?????????????????????????????????????????????????´???????
int[] array = ss.Next<int>(10);
*/
//---------------------------------
}
}
public class StreamScanner {
private readonly char[] _c = { ' ' };
private int _index = -1;
private string[] _input = new string[0];
private readonly System.IO.StreamReader _sr =
new System.IO.StreamReader(Console.OpenStandardInput());
public T Next<T>() {
if (_index == _input.Length - 1) {
_index = -1;
while (true) {
string rl = _sr.ReadLine();
if (rl == null) {
if (typeof(T).IsClass)
return default(T);
return (T) typeof(T).GetField("MinValue").GetValue(null);
}
if (rl != "") {
_input = rl.Split(_c, StringSplitOptions.RemoveEmptyEntries);
break;
}
}
}
return (T)Convert.ChangeType(
_input[++_index], typeof(T),
System.Globalization.CultureInfo.InvariantCulture);
}
public T[] Next<T>(int x) {
var ret = new T[x];
for (var i = 0; i < x; ++i)
ret[i] = Next<T>();
return ret;
}
public T[][] Next<T>(int x, int y) {
var ret = new T[y][];
for (var i = 0; i < y; ++i)
ret[i] = Next<T>(x);
return ret;
}
}
|
using System;
public class Program {
public static void Main(string[] args) {
var ss = new StreamScanner();
//---------------------------------
var x = ss.Next<int>();
var y = ss.Next<int>();
if (x > y) {
Console.WriteLine("a > b");
} else if (x < y) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
/*
//????????????int, double, string?????????????????£????????????
int i = ss.Next<int>();
double d = ss.Next<double>();
string s = ss.Next<string>();
//?????°???????????????????????¨?????????????????????????????????????????????????´???????
int[] array = ss.Next<int>(10);
*/
//---------------------------------
}
}
public class StreamScanner {
private readonly char[] _c = { ' ' };
private int _index = -1;
private string[] _input = new string[0];
private readonly System.IO.StreamReader _sr =
new System.IO.StreamReader(Console.OpenStandardInput());
public T Next<T>() {
if (_index == _input.Length - 1) {
_index = -1;
while (true) {
string rl = _sr.ReadLine();
if (rl == null) {
if (typeof(T).IsClass)
return default(T);
return (T) typeof(T).GetField("MinValue").GetValue(null);
}
if (rl != "") {
_input = rl.Split(_c, StringSplitOptions.RemoveEmptyEntries);
break;
}
}
}
return (T)Convert.ChangeType(
_input[++_index], typeof(T),
System.Globalization.CultureInfo.InvariantCulture);
}
public T[] Next<T>(int x) {
var ret = new T[x];
for (var i = 0; i < x; ++i)
ret[i] = Next<T>();
return ret;
}
public T[][] Next<T>(int x, int y) {
var ret = new T[y][];
for (var i = 0; i < y; ++i)
ret[i] = Next<T>(x);
return ret;
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 412
| 6
|
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
String s = Console.ReadLine();
String[] sarray = s.Split(' '); //?????????????????????????´?
int a = int.Parse(sarray[0]);
int b = int.Parse(sarray[1]);
// a??¨b???????´?????????????
if (a > b) {
Console.WriteLine("a > b");
}
if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
|
using System;
using System.Collections.Generic;
/*using System.Linq;
using System.Text;
using System.Threading.Tasks;*/
class Program {
static void Main(string[] args) {
String s = Console.ReadLine();
String[] sarray = s.Split(' '); //?????????????????????????´?
int a = int.Parse(sarray[0]);
int b = int.Parse(sarray[1]);
// a??¨b???????´?????????????
if (a > b) {
Console.WriteLine("a > b");
}
if (a < b) {
Console.WriteLine("a < b");
}
if (a == b) {
Console.WriteLine("a == b");
}
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 31, 22], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 12, 22], ["+", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25]]
| 8
| 123
| 7
|
using System;
class Compare {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
|
using System;
class Compare {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);
int b = int.Parse(str[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 109
| 2
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace LogicSummoner {
class Program {
static void Main(string[] args) {
var nums = GetNumbers();
var operate = string.Empty;
if (nums[0] < nums[1]) {
operate = "<";
} else if (nums[0] > nums[1]) {
operate = ">";
} else {
operate = "==";
}
Console.WriteLine(string.Format("a {0} {b}", operate));
}
static int GetNumber() { return int.Parse(Console.ReadLine().Trim()); }
static List<int> GetNumbers() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.Select(x => int.Parse(x))
.ToList();
}
static List<string> GetStrings() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.ToList();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace LogicSummoner {
class Program {
static void Main(string[] args) {
var nums = GetNumbers();
var operate = string.Empty;
if (nums[0] < nums[1]) {
operate = "<";
} else if (nums[0] > nums[1]) {
operate = ">";
} else {
operate = "==";
}
Console.WriteLine(string.Format("a {0} b", operate));
}
static int GetNumber() { return int.Parse(Console.ReadLine().Trim()); }
static List<int> GetNumbers() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.Select(x => int.Parse(x))
.ToList();
}
static List<string> GetStrings() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.ToList();
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 246
| 2
|
using System;
class Program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
double a = double.Parse(str[0]);
double b = double.Parse(str[1]);
if (a > b) {
Console.WriteLine("a < b");
} else {
if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
using System;
class Program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
double a = double.Parse(str[0]);
double b = double.Parse(str[1]);
if (a > b) {
Console.WriteLine("a > b");
} else {
if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 107
| 2
|
using System;
namespace Branch_on_Condition {
class Small__Large__or_Equal {
static void Main(string[] args) {
var token = Console.ReadLine().Split(' ');
int a = int.Parse(token[0]);
int b = int.Parse(token[1]);
if (a > b)
Console.WriteLine("a>b");
if (a < b)
Console.WriteLine("a<b");
if (a == b)
Console.WriteLine("a==b");
}
}
}
|
using System;
namespace Branch_on_Condition {
class Small__Large__or_Equal {
static void Main(string[] args) {
var token = Console.ReadLine().Split(' ');
int a = int.Parse(token[0]);
int b = int.Parse(token[1]);
if (a > b)
Console.WriteLine("a > b");
if (a < b)
Console.WriteLine("a < b");
if (a == b)
Console.WriteLine("a == b");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 109
| 6
|
using System;
using System.Linq;
namespace BigOrSmall {
public class Program {
static void Main(string[] args) {
var InputValue = Console.ReadLine()
.Split(' ')
.Select(x => Convert.ToInt32(x))
.ToList<int>();
if (InputValue[0] < InputValue[1]) {
Console.WriteLine("a < b");
}
if (InputValue[0] > InputValue[1]) {
Console.WriteLine("a > b");
}
if (InputValue[0] == InputValue[1]) {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
using System.Linq;
namespace BigOrSmall {
public class Program {
static void Main(string[] args) {
var InputValue = Console.ReadLine()
.Split(' ')
.Select(x => Convert.ToInt32(x))
.ToList<int>();
if (InputValue[0] < InputValue[1]) {
Console.WriteLine("a < b");
}
if (InputValue[0] > InputValue[1]) {
Console.WriteLine("a > b");
}
if (InputValue[0] == InputValue[1]) {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 132
| 2
|
using System;
namespace AizuOnline {
class Program {
static void Main() {
char[] c = new char[] { ' ' };
string[] ab = Console.ReadLine().Split(c);
short a = Int16.Parse(ab[0]);
short b = Int16.Parse(ab[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine();
}
}
}
}
|
using System;
namespace AizuOnline {
class Program {
static void Main() {
char[] c = new char[] { ' ' };
string[] ab = Console.ReadLine().Split(c);
short a = Int16.Parse(ab[0]);
short b = Int16.Parse(ab[1]);
if (a > b) {
Console.WriteLine("a > b");
} else if (a < b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 62], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 119
| 3
|
using System;
using System.Linq;
class TestClass {
static void Main(string[] args) {
int[] num =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
if (num[0] < num[1]) {
Console.WriteLine("a < b");
} else if (num[0] > num[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
|
using System;
using System.Linq;
class TestClass {
static void Main(string[] args) {
int[] num =
Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();
if (num[0] < num[1]) {
Console.WriteLine("a < b");
} else if (num[0] > num[1]) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 116
| 2
|
using System;
class Program {
static void Main() {
int a, b;
string inp = Console.ReadLine();
string[] data = inp.Split(' ');
a = int.Parse(data[0]);
b = int.Parse(data[1]);
if (a >= -1000 && b <= 1000) {
if (a == b) {
Console.WriteLine("a == b");
} else if (a < b) {
Console.WriteLine("a <b");
} else if (a > b) {
Console.WriteLine("a > b");
}
}
}
}
|
using System;
class Program {
static void Main() {
int a, b;
string inp = Console.ReadLine();
string[] data = inp.Split(' ');
a = int.Parse(data[0]);
b = int.Parse(data[1]);
if (a >= -1000 && b <= 1000) {
if (a == b) {
Console.WriteLine("a == b");
} else if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 132
| 2
|
using System;
class test {
static void Main() {
int a, b;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a < b");
} else {
Console.WriteLine("a == b");
}
}
}
|
using System;
class test {
static void Main() {
int a, b;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 108
| 2
|
using System;
namespace ConsoleApp_ITP1_2_A {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
string[] value = input.Split(' ');
int a = Int32.Parse(value[0]);
int b = Int32.Parse(value[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a = b");
}
}
}
}
|
using System;
namespace ConsoleApp_ITP1_2_A {
class Program {
static void Main(string[] args) {
string input = Console.ReadLine();
string[] value = input.Split(' ');
int a = Int32.Parse(value[0]);
int b = Int32.Parse(value[1]);
if (a < b) {
Console.WriteLine("a < b");
} else if (a > b) {
Console.WriteLine("a > b");
} else {
Console.WriteLine("a == b");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 118
| 2
|
using System;
namespace _2_1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a, b;
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a > b)
Console.WriteLine("a>b");
else if (a < b)
Console.WriteLine("a < b");
else if (a == b)
Console.WriteLine("a==b");
}
}
}
|
using System;
namespace _2_1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int a, b;
a = int.Parse(str[0]);
b = int.Parse(str[1]);
if (a > b)
Console.WriteLine("a > b");
else if (a < b)
Console.WriteLine("a < b");
else if (a == b)
Console.WriteLine("a == b");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 116
| 4
|
using System;
class Program {
static void Main(string[] args) {
String[] compare = Console.ReadLine().Split(' ');
int a = int.Parse(compare[0]);
int b = int.Parse(compare[1]);
int c = int.Parse(compare[2]);
if (a < b || b < c) {
Console.WriteLine("Yes");
}
else {
Console.WriteLine("No");
}
}
}
|
using System;
class Program {
static void Main(string[] args) {
String[] compare = Console.ReadLine().Split(' ');
int a = int.Parse(compare[0]);
int b = int.Parse(compare[1]);
int c = int.Parse(compare[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
|
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]]
| 8
| 108
| 2
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
if (a < b && b < c) // ??????
{
Console.WriteLine("YES");
} else {
Console.WriteLine("NO");
}
// if(a<b||b<c) // ?????????
//{
//}
// else
//{
//}
// int a = int.Parse(s[0]);
// int b = int.Parse(s[1]);
// if (a < b)
//{
// Console.WriteLine("a < b");
//}
// else if (a >b)
//{
// Console.WriteLine("a > b");
//}
// else if (a == b)
//{
// Console.WriteLine("a == b");
//}
// int n = int.Parse(s);
// int h = n / 3600;
// int m = (n - h * 3600) / 60;
// int s2 = n % 60;
// Console.WriteLine(h+":"+m+":"+s2);
// int tate = int.Parse(s[0]);
// int yoko = int.Parse(s[1]);
// int area = tate * yoko;
// int rect = (tate + yoko )* 2;
// Console.WriteLine(area + " "+rect);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
if (a < b && b < c) // ??????
{
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
// if(a<b||b<c) // ?????????
//{
//}
// else
//{
//}
// int a = int.Parse(s[0]);
// int b = int.Parse(s[1]);
// if (a < b)
//{
// Console.WriteLine("a < b");
//}
// else if (a >b)
//{
// Console.WriteLine("a > b");
//}
// else if (a == b)
//{
// Console.WriteLine("a == b");
//}
// int n = int.Parse(s);
// int h = n / 3600;
// int m = (n - h * 3600) / 60;
// int s2 = n % 60;
// Console.WriteLine(h+":"+m+":"+s2);
// int tate = int.Parse(s[0]);
// int yoko = int.Parse(s[1]);
// int area = tate * yoko;
// int rect = (tate + yoko )* 2;
// Console.WriteLine(area + " "+rect);
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 155
| 4
|
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]);
int b = int.Parse(str[1]);
int c = int.Parse(str[2]);
if (a < b && b < c) {
Console.WriteLine("No");
} else {
Console.WriteLine("No");
}
}
}
}
|
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]);
int b = int.Parse(str[1]);
int c = int.Parse(str[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 124
| 2
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
if ((a < b) & (a < c) & (b < c)) {
Console.WriteLine("YES");
} else {
Console.WriteLine("NO");
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
if ((a < b) & (a < c) & (b < c)) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 122
| 4
|
using System;
namespace ConsoleApplication17 {
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]);
if (a < b && b < c) {
Console.WriteLine("YES");
} else {
Console.WriteLine("NO");
}
}
}
}
|
using System;
namespace ConsoleApplication17 {
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]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 112
| 4
|
using System;
namespace Aizu {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var inputs = input.Split(' ');
var a = int.Parse(inputs[0]);
var b = int.Parse(inputs[1]);
var c = int.Parse(inputs[2]);
if (a < b) {
if (b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
}
|
using System;
namespace Aizu {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine();
var inputs = input.Split(' ');
var a = int.Parse(inputs[0]);
var b = int.Parse(inputs[1]);
var c = int.Parse(inputs[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["-", 0, 57, 64, 196, 0, 57, 75, 196, 0, 46]]
| 8
| 119
| 6
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args)
{
var abc = Console.ReadLine().Split().Select(int.Parse).ToArray();
var a = abc[0];
var b = abc[1];
var c = abc[2];
if (a < b && b < c) {
Console.WriteLine("yes");
} else
Console.WriteLine("no");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args)
{
var abc = Console.ReadLine().Split().Select(int.Parse).ToArray();
var a = abc[0];
var b = abc[1];
var c = abc[2];
if (a < b && b < c) {
Console.WriteLine("Yes");
} else
Console.WriteLine("No");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 118
| 4
|
using System;
class ITP1_2_B {
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]);
if (a < b && b < c)
Console.WriteLine("YES");
else
Console.WriteLine("NO");
}
}
|
using System;
class ITP1_2_B {
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]);
if (a < b && b < c)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 101
| 4
|
using System;
namespace ITP1_2_B {
class Program {
static void Main(string[] args) {
string[] strs = Console.ReadLine().Split(' ');
int a = int.Parse(strs[0]);
int b = int.Parse(strs[1]);
int c = int.Parse(strs[2]);
if (a > b && b > c)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
using System;
namespace ITP1_2_B {
class Program {
static void Main(string[] args) {
string[] strs = Console.ReadLine().Split(' ');
int a = int.Parse(strs[0]);
int b = int.Parse(strs[1]);
int c = int.Parse(strs[2]);
if (a < b && b < c)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18]]
| 8
| 108
| 4
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string ABC = Console.ReadLine();
string[] abc = (ABC.Split(' '));
int a = int.Parse(abc[0]);
int b = int.Parse(abc[1]);
int c = int.Parse(abc[2]);
//?????¶????¨???\
if (a < b)
{
if (b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string ABC = Console.ReadLine();
string[] abc = (ABC.Split(' '));
int a = int.Parse(abc[0]);
int b = int.Parse(abc[1]);
int c = int.Parse(abc[2]);
//?????¶????¨???\
if (a < b && b < c)
{ Console.WriteLine("Yes"); }
else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 24], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98], ["-", 0, 57, 64, 196, 0, 57, 75, 196, 0, 46]]
| 8
| 124
| 6
|
using System;
namespace ConsoleApp9 {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a > b && b > c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
Console.ReadKey();
}
}
}
|
using System;
namespace ConsoleApp9 {
class Program {
static void Main(string[] args) {
var input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
Console.ReadKey();
}
}
}
|
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 18], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18]]
| 8
| 116
| 4
|
using System;
namespace test {
class Program {
static void Main(string[] args) {
int a, b, c;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
if (a < b || b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
namespace test {
class Program {
static void Main(string[] args) {
int a, b, c;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 195, 8, 196, 0, 57, 15, 16, 17, 106], ["+", 0, 195, 8, 196, 0, 57, 15, 16, 17, 98]]
| 8
| 116
| 2
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace LogicSummoner {
class Program {
static void Main(string[] args) {
var nums = GetNumbers();
var flag = true;
for (int i = 0; i < nums.Count - 1; i++) {
flag |= nums[i] < nums[i + 1];
}
if (flag) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
static int GetNumber() { return int.Parse(Console.ReadLine().Trim()); }
static List<int> GetNumbers() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.Select(x => int.Parse(x))
.ToList();
}
static List<string> GetStrings() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.ToList();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace LogicSummoner {
class Program {
static void Main(string[] args) {
var nums = GetNumbers();
var flag = true;
for (int i = 0; i < nums.Count - 1; i++) {
flag &= nums[i] < nums[i + 1];
}
if (flag) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
static int GetNumber() { return int.Parse(Console.ReadLine().Trim()); }
static List<int> GetNumbers() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.Select(x => int.Parse(x))
.ToList();
}
static List<string> GetStrings() {
return Console.ReadLine()
.Trim()
.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
.ToList();
}
}
}
|
[["-", 8, 196, 0, 1, 0, 11, 0, 202, 0, 160], ["+", 8, 196, 0, 1, 0, 11, 0, 202, 0, 161]]
| 8
| 239
| 2
|
using System;
public class hello {
public static void Main() {
string[] line = Console.ReadLine().Trim().Split(' ');
var a = int.Parse(line[0]);
var b = int.Parse(line[1]);
var c = int.Parse(line[2]);
if (a < b && b < c)
Console.WriteLine("Ok");
else
Console.WriteLine("No");
}
}
|
using System;
public class hello {
public static void Main() {
string[] line = Console.ReadLine().Trim().Split(' ');
var a = int.Parse(line[0]);
var b = int.Parse(line[1]);
var c = int.Parse(line[2]);
if (a < b && b < c)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 106
| 2
|
using System;
using System.Linq;
namespace paizaTest {
internal class Program {
private static void Main(string[] args) {
var readLine = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
var resultFlag = true;
for (var i = 0; i < readLine.Count() - 1; i++) {
if (readLine[i] > readLine[i + 1]) {
resultFlag = false;
}
}
Console.WriteLine(resultFlag ? "Yes" : "No");
}
}
}
|
using System;
using System.Linq;
namespace paizaTest {
internal class Program {
private static void Main(string[] args) {
var readLine = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
var resultFlag = true;
for (var i = 0; i < readLine.Count() - 1; i++) {
if (readLine[i] >= readLine[i + 1]) {
resultFlag = false;
}
}
Console.WriteLine(resultFlag ? "Yes" : "No");
}
}
}
|
[["-", 0, 7, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 16, 17, 20]]
| 8
| 118
| 2
|
using System;
namespace AizuOnline {
internal class Program {
private static void Main(string[] args) {
var x = Console.ReadLine().Split(' ');
var a = Convert.ToInt32(x[0]);
var b = Convert.ToInt32(x[1]);
var c = Convert.ToInt32(x[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else if (a < b) {
Console.WriteLine("No");
}
}
}
}
|
using System;
namespace AizuOnline {
internal class Program {
private static void Main(string[] args) {
var x = Console.ReadLine().Split(' ');
var a = Convert.ToInt32(x[0]);
var b = Convert.ToInt32(x[1]);
var c = Convert.ToInt32(x[2]);
if (a < b && b < c) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 121], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 24], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 31, 22], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 17, 18], ["-", 8, 196, 0, 57, 75, 57, 15, 16, 12, 22], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 25]]
| 8
| 118
| 6
|
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]);
string s = "";
if (a < b && b < c) {
s = "YES";
} else {
s = "NO";
}
Console.WriteLine(s);
}
}
|
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]);
string s = "";
if (a < b && b < c) {
s = "Yes";
} else {
s = "No";
}
Console.WriteLine(s);
}
}
|
[["-", 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]]
| 8
| 122
| 4
|
using System;
namespace ITP_1_2_B {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a < b && b < c)
Console.WriteLine("YES");
else
Console.WriteLine("NO");
}
}
}
|
using System;
namespace ITP_1_2_B {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a < b && b < c)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 108
| 4
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
int temp = 0;
if (a > b) {
temp = b;
b = a;
a = temp;
}
if (b > c) {
c = temp;
c = b;
b = temp;
}
if (a > b) {
temp = b;
b = a;
a = temp;
}
Console.WriteLine(a + " " + b + " " + c);
// int n =int.Parse(s);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int a = int.Parse(s[0]);
int b = int.Parse(s[1]);
int c = int.Parse(s[2]);
int temp = 0;
if (a > b) {
temp = b;
b = a;
a = temp;
}
if (b > c) {
temp = c;
c = b;
b = temp;
}
if (a > b) {
temp = b;
b = a;
a = temp;
}
Console.WriteLine(a + " " + b + " " + c);
// int n =int.Parse(s);
}
}
}
|
[["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22]]
| 8
| 176
| 4
|
using System;
namespace ConsoleApplication35 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string[] ss = s.Split(' ');
int a = int.Parse(ss[0]);
int b = int.Parse(ss[1]);
int c = int.Parse(ss[2]);
int d = 0;
if (a > b) {
d = a;
a = b;
b = c;
c = d;
}
if (b > c) {
d = a;
a = b;
b = c;
c = d;
}
if (a > b) {
d = a;
a = b;
b = d;
}
Console.WriteLine(a + " " + b + " " + c);
}
}
}
|
using System;
namespace ConsoleApplication35 {
class Program {
static void Main(string[] args) {
string s = Console.ReadLine();
string[] ss = s.Split(' ');
int a = int.Parse(ss[0]);
int b = int.Parse(ss[1]);
int c = int.Parse(ss[2]);
int d = 0;
if (a > b) {
d = a;
a = b;
b = c;
c = d;
}
if (b > c) {
d = b;
b = c;
c = d;
}
if (a > b) {
d = a;
a = b;
b = d;
}
Console.WriteLine(a + " " + b + " " + c);
}
}
}
|
[["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 22], ["-", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 31, 22], ["-", 64, 196, 0, 1, 0, 11, 0, 202, 0, 32]]
| 8
| 176
| 4
|
using System;
namespace test {
class program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int[] num = new int[3];
num[0] = int.Parse(str[0]);
num[1] = int.Parse(str[1]);
num[2] = int.Parse(str[2]);
// Array????????????Sort??????????????§????????????
Array.Sort(num);
Console.WriteLine(num[0] + ' ' + num[1] + ' ' + num[2]);
}
}
}
|
using System;
namespace test {
class program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int[] num = new int[3];
num[0] = int.Parse(str[0]);
num[1] = int.Parse(str[1]);
num[2] = int.Parse(str[2]);
// Array????????????Sort??????????????§????????????
Array.Sort(num);
Console.WriteLine(num[0] + " " + num[1] + " " + num[2]);
}
}
}
|
[["-", 31, 16, 31, 16, 31, 16, 12, 252, 0, 104], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["-", 0, 28, 0, 16, 31, 16, 12, 252, 0, 104], ["+", 0, 28, 0, 16, 31, 16, 12, 5, 0, 62]]
| 8
| 128
| 8
|
using System;
class Program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int[] ans = new int[3];
ans[0] = int.Parse(str[0]);
ans[1] = int.Parse(str[1]);
ans[2] = int.Parse(str[2]);
// Sort
Array.Sort(str);
// Output
Console.WriteLine("{0} {1} {2}", ans[0], ans[1], ans[2]);
}
}
|
using System;
class Program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int[] ans = new int[3];
ans[0] = int.Parse(str[0]);
ans[1] = int.Parse(str[1]);
ans[2] = int.Parse(str[2]);
// Sort
Array.Sort(ans);
// Output
Console.WriteLine("{0} {1} {2}", ans[0], ans[1], ans[2]);
}
}
|
[["-", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22], ["+", 0, 1, 0, 213, 3, 4, 0, 28, 0, 22]]
| 8
| 121
| 2
|
using System;
namespace shimada {
class Program {
static void Main(string[] args) {
String x = Console.ReadLine();
String[] array = x.Split(' ');
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int[] temp = new int[3] { a, b, c };
for (int i = 0; i < 3; i++) {
for (int j = 1; j > 3; j++) {
if (temp[i] > temp[j]) {
int w = temp[i];
temp[i] = temp[j];
temp[j] = w;
}
}
}
Console.WriteLine(temp[0] + " " + temp[1] + " " + temp[2]);
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String x = Console.ReadLine();
//???????????????????????£??\
String[] array = x.Split(' ');
//??°???????????´????????£??\
int a = int.Parse(array[0]);
int b = int.Parse(array[1]);
int c = int.Parse(array[2]);
int[] temp = new int[3] { a, b, c };
for (int i = 0; i < 3; i++) {
for (int j = 2; j > i; j--) {
if (temp[i] > temp[j]) {
int w = temp[i];
temp[i] = temp[j];
temp[j] = w;
}
}
}
Console.WriteLine(temp[0] + " " + temp[1] + " " + temp[2]);
}
}
}
|
[["-", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["+", 36, 36, 36, 36, 0, 208, 0, 209, 141, 22], ["-", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["+", 0, 7, 10, 198, 0, 200, 0, 212, 0, 203], ["-", 0, 7, 8, 196, 0, 7, 15, 16, 12, 203], ["+", 0, 7, 8, 196, 0, 7, 15, 16, 12, 22], ["-", 0, 7, 8, 196, 0, 7, 26, 223, 0, 29], ["+", 0, 7, 8, 196, 0, 7, 26, 223, 0, 68]]
| 8
| 201
| 8
|
using System;
public class Class1 {
static void Main() {
string abc = Console.ReadLine();
string[] abcArray = abc.Split();
int a = int.Parse(abcArray[0]);
int b = int.Parse(abcArray[1]);
int c = int.Parse(abcArray[2]);
int s = 0;
if (a < b) {
if (a > c) // c<a<b
{
s = a;
a = c;
c = b;
b = s;
} else if (c < b) // a<c<b
{
s = c;
c = b;
b = s;
}
} else if (a > b) // b<a
{
if (c < b) // c<b<a
{
s = c;
c = a;
a = s;
} else if (a < c) // b<a<c
{
s = b;
b = a;
a = s;
} else // b<c<a
{
s = b;
b = c;
c = a;
a = s;
}
}
Console.WriteLine("{0}{2,1}{2,1}", a, b, c);
}
}
|
using System;
public class Class1 {
static void Main() {
string abc = Console.ReadLine();
string[] abcArray = abc.Split();
int a = int.Parse(abcArray[0]);
int b = int.Parse(abcArray[1]);
int c = int.Parse(abcArray[2]);
int s = 0;
if (a < b) {
if (a > c) // c<a<b
{
s = a;
a = c;
c = b;
b = s;
} else if (c < b) // a<c<b
{
s = c;
c = b;
b = s;
}
} else if (a > b) // b<a
{
if (c < b) // c<b<a
{
s = c;
c = a;
a = s;
} else if (a < c) // b<a<c
{
s = b;
b = a;
a = s;
} else // b<c<a
{
s = b;
b = c;
c = a;
a = s;
}
}
Console.WriteLine("{0} {1} {2}", a, b, c);
}
}
|
[["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 222
| 2
|
using System;
namespace test {
class Swap {
public void swap(ref int x, ref int y) {
int t = x;
x = y;
y = t;
}
}
class Program {
static void Main(string[] args) {
Swap ob = new Swap();
int a, b, c;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
if (a > b) {
ob.swap(ref a, ref b);
if (b > c) {
ob.swap(ref b, ref c);
if (a > b) {
ob.swap(ref a, ref b);
}
}
}
Console.WriteLine("{0} {1} {2}", a, b, c);
}
}
}
|
using System;
namespace test {
class Swap {
public void swap(ref int x, ref int y) {
int t = x;
x = y;
y = t;
}
}
class Program {
static void Main(string[] args) {
Swap ob = new Swap();
int a, b, c;
string[] str = Console.ReadLine().Split(' ');
a = int.Parse(str[0]);
b = int.Parse(str[1]);
c = int.Parse(str[2]);
if (a > b) {
ob.swap(ref a, ref b);
}
if (b > c) {
ob.swap(ref b, ref c);
}
if (a > b) {
ob.swap(ref a, ref b);
}
Console.WriteLine("{0} {1} {2}", a, b, c);
}
}
}
|
[["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 0, 57, 64, 196, 0, 57, 64, 196, 0, 46]]
| 8
| 194
| 4
|
using System;
class Program {
static void Main(string[] args) {
string[] num = Console.ReadLine().Split(' ');
int a, b, c, d;
a = int.Parse(num[0]);
b = int.Parse(num[1]);
c = int.Parse(num[2]);
if (a > b) {
d = a;
a = b;
b = d;
} else if (b > c) {
d = b;
b = c;
c = d;
} else if (a > b) {
d = a;
a = b;
b = d;
}
Console.WriteLine(a + " " + b + " " + c);
}
}
|
using System;
class Program {
static void Main(string[] args) {
string[] num = Console.ReadLine().Split(' ');
int a, b, c, d;
a = int.Parse(num[0]);
b = int.Parse(num[1]);
c = int.Parse(num[2]);
if (a > b) {
d = a;
a = b;
b = d;
}
if (b > c) {
d = b;
b = c;
c = d;
}
if (a > b) {
d = a;
a = b;
b = d;
}
Console.WriteLine(a + " " + b + " " + c);
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 95]]
| 8
| 162
| 2
|
using System;
namespace ITP_1_2_C {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a > b) {
int tmp = b;
b = a;
a = tmp;
} else if (b > c) {
int tmp = c;
c = b;
b = tmp;
} else if (a > b) {
int tmp = b;
b = a;
a = tmp;
}
Console.WriteLine("{0} {1} {2}", a, b, c);
}
}
}
|
using System;
namespace ITP_1_2_C {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int c = int.Parse(input[2]);
if (a > b) {
int tmp = b;
b = a;
a = tmp;
}
if (b > c) {
int tmp = c;
c = b;
b = tmp;
}
if (a > b) {
int tmp = b;
b = a;
a = tmp;
}
Console.WriteLine("{0} {1} {2}", a, b, c);
}
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 95], ["-", 0, 195, 8, 196, 0, 57, 75, 57, 0, 95]]
| 8
| 159
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ITP1_2_D {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ITP1_2_D {
class Program {
static void Main(string[] args) {
string[] input = Console.ReadLine().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 174
| 8
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJHelloWorld1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x + r < W || x - r > 0 || y + r < H || y - r > 0) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOJHelloWorld1 {
class Program {
static void Main(string[] args) {
string[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x + r > W || x - r < 0 || y + r > H || y - r < 0) {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
}
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["-", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222], ["+", 0, 213, 3, 4, 0, 28, 0, 5, 0, 222]]
| 8
| 178
| 12
|
using System;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int W, H, x, y, r;
W = int.Parse(s[0]);
H = int.Parse(s[1]);
x = int.Parse(s[2]);
y = int.Parse(s[3]);
r = int.Parse(s[4]);
if (W >= x + r && 0 < x - r && H >= y + r && 0 < y - r)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
|
using System;
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int W, H, x, y, r;
W = int.Parse(s[0]);
H = int.Parse(s[1]);
x = int.Parse(s[2]);
y = int.Parse(s[3]);
r = int.Parse(s[4]);
if (W >= x + r && 0 <= x - r && H >= y + r && 0 <= y - r)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 152
| 4
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CirRec {
class Program {
static void Main(string[] args) {
String[] input = Console.ReadLine().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (0 < (x - r) && 0 < (y - r) && W > (x + r) && H > (y + r)) {
System.Console.WriteLine("Yes");
} else {
System.Console.WriteLine("No");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CirRec {
class Program {
static void Main(string[] args) {
String[] input = Console.ReadLine().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (0 <= (x - r) && 0 <= (y - r) && W >= (x + r) && H >= (y + r)) {
System.Console.WriteLine("Yes");
} else {
System.Console.WriteLine("No");
}
}
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20]]
| 8
| 183
| 8
|
using System;
class AOJ {
public static void Main() {
var input = Console.ReadLine().Trim().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (x - r < 0 || x + r >= W) {
Console.WriteLine("No");
} else if (y - r < 0 || y + r >= H) {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
}
}
|
using System;
class AOJ {
public static void Main() {
var input = Console.ReadLine().Trim().Split(' ');
int W = int.Parse(input[0]);
int H = int.Parse(input[1]);
int x = int.Parse(input[2]);
int y = int.Parse(input[3]);
int r = int.Parse(input[4]);
if (x - r < 0 || x + r > W) {
Console.WriteLine("No");
} else if (y - r < 0 || y + r > H) {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
}
}
|
[["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 47], ["-", 0, 57, 75, 57, 15, 16, 12, 16, 17, 20], ["+", 0, 57, 75, 57, 15, 16, 12, 16, 17, 47]]
| 8
| 163
| 4
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
string[] str2 = str.Split();
int W = int.Parse(str2[0]);
int H = int.Parse(str2[1]);
int x = int.Parse(str2[2]);
int y = int.Parse(str2[3]);
int r = int.Parse(str2[4]);
if (x - r < 0 || W < x + r || y - r < 0 || H < y + x) {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
Console.ReadLine();
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string str = Console.ReadLine();
string[] str2 = str.Split();
int W = int.Parse(str2[0]);
int H = int.Parse(str2[1]);
int x = int.Parse(str2[2]);
int y = int.Parse(str2[3]);
int r = int.Parse(str2[4]);
if (x - r < 0 || W < x + r || y - r < 0 || H < y + r) {
Console.WriteLine("No");
} else {
Console.WriteLine("Yes");
}
Console.ReadLine();
}
}
}
|
[["-", 0, 57, 15, 16, 12, 16, 12, 16, 12, 22], ["+", 0, 57, 15, 16, 12, 16, 12, 16, 12, 22]]
| 8
| 162
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Contest {
class Program {
static int Main(string[] args) {
new Program().Process();
return 0;
}
private CommonInput cin;
private void Process() {
this.cin = new CommonInput();
int W, H, x, y, r;
bool result;
W = cin.GetInt();
H = cin.GetInt();
x = cin.GetInt();
y = cin.GetInt();
r = cin.GetInt();
result = x - r >= 0 && x - r >= 0 && x + r <= W && y + r <= H;
Console.WriteLine("{0}", result ? "Yes" : "No");
}
}
public class CommonInput {
public CommonInput() {
this._s = new string[0];
this._i = 0;
}
private string[] _s;
private int _i;
private char[] _sep = { ' ' };
public string GetLine() {
if (this._i < this._s.Length)
return this._s[this._i++];
string line;
this._i = 0;
do {
line = Console.ReadLine();
} while (line == "");
this._s = line.Split(this._sep, StringSplitOptions.RemoveEmptyEntries);
return this._s[this._i++];
}
public int GetInt() { return int.Parse(this.GetLine()); }
public long GetLong() { return long.Parse(this.GetLine()); }
public double GetDouble() { return double.Parse(this.GetLine()); }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Contest {
class Program {
static int Main(string[] args) {
new Program().Process();
return 0;
}
private CommonInput cin;
private void Process() {
this.cin = new CommonInput();
int W, H, x, y, r;
bool result;
W = cin.GetInt();
H = cin.GetInt();
x = cin.GetInt();
y = cin.GetInt();
r = cin.GetInt();
result = x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H;
Console.WriteLine("{0}", result ? "Yes" : "No");
}
}
public class CommonInput {
public CommonInput() {
this._s = new string[0];
this._i = 0;
}
private string[] _s;
private int _i;
private char[] _sep = { ' ' };
public string GetLine() {
if (this._i < this._s.Length)
return this._s[this._i++];
string line;
this._i = 0;
do {
line = Console.ReadLine();
} while (line == "");
this._s = line.Split(this._sep, StringSplitOptions.RemoveEmptyEntries);
return this._s[this._i++];
}
public int GetInt() { return int.Parse(this.GetLine()); }
public long GetLong() { return long.Parse(this.GetLine()); }
public double GetDouble() { return double.Parse(this.GetLine()); }
}
}
|
[["-", 31, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 31, 22]]
| 8
| 362
| 2
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String[] strArray = Console.ReadLine().Split(' ');
int[] intArray = new int[strArray.Length];
for (int i = 0; i < strArray.Length; ++i) {
intArray[i] = int.Parse(strArray[i]);
}
int w = intArray[0];
int h = intArray[1];
int x = intArray[2];
int y = intArray[3];
int r = intArray[4];
if (x - r > 0 && x + r < w && y - r > 0 && y + r < h) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
String[] strArray = Console.ReadLine().Split(' ');
int[] intArray = new int[strArray.Length];
for (int i = 0; i < strArray.Length; ++i) {
intArray[i] = int.Parse(strArray[i]);
}
int w = intArray[0];
int h = intArray[1];
int x = intArray[2];
int y = intArray[3];
int r = intArray[4];
if (x - r >= 0 && x + r <= w && y - r >= 0 && y + r <= h) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 192
| 8
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int w = int.Parse(s[0]);
int h = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
// if((w < (x+r)) || (0 > (x-r)))
//{
// Console.WriteLine("No");
//}
if (((w > (x + r)) && (0 < (x - r))) && ((h > (y + r)) && (0 < (y - r)))) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
// if ((h > (y - r)) && (0 < (y + r)))
//{
// Console.WriteLine("Yes");
//}
// Console.WriteLine("No"); //??\???????????¶????????????????????£?????¨???
// int n =int.Parse(s);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int w = int.Parse(s[0]);
int h = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
// if((w < (x+r)) || (0 > (x-r)))
//{
// Console.WriteLine("No");
//}
if (((w >= (x + r)) && (0 <= (x - r))) &&
((h >= (y + r)) && (0 <= (y - r)))) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
// if ((h > (y - r)) && (0 < (y + r)))
//{
// Console.WriteLine("Yes");
//}
// Console.WriteLine("No"); //??\???????????¶????????????????????£?????¨???
// int n =int.Parse(s);
}
}
}
|
[["-", 31, 23, 0, 16, 31, 23, 0, 16, 17, 47], ["+", 31, 23, 0, 16, 31, 23, 0, 16, 17, 20], ["-", 31, 23, 0, 16, 12, 23, 0, 16, 17, 18], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 17, 19], ["-", 12, 23, 0, 16, 31, 23, 0, 16, 17, 47], ["+", 12, 23, 0, 16, 31, 23, 0, 16, 17, 20], ["-", 12, 23, 0, 16, 12, 23, 0, 16, 17, 18], ["+", 12, 23, 0, 16, 12, 23, 0, 16, 17, 19]]
| 8
| 196
| 8
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x - r > 0 && x + r < W) {
if (y - r > 0 && y + r < H) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication9 {
class Program {
static void Main(string[] args) {
String[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x - r >= 0 && x + r <= W) {
if (y - r >= 0 && y + r <= H) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["-", 64, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 182
| 8
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int w = int.Parse(s[0]);
int h = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if ((x - r >= 0) && (x + r <= w) && (y - r >= 0) && (x + r <= h)) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int w = int.Parse(s[0]);
int h = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if ((x - r >= 0) && (x + r <= w) && (y - r >= 0) && (y + r <= h)) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 15, 16, 12, 23, 0, 16, 31, 16, 31, 22], ["+", 15, 16, 12, 23, 0, 16, 31, 16, 31, 22]]
| 8
| 162
| 2
|
using System;
namespace ConsoleApplication10 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int W = int.Parse(s[0]);
int H = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if (x + r <= W && y + r <= H && x - r >= W && y - r >= H) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
using System;
namespace ConsoleApplication10 {
class Program {
static void Main(string[] args) {
string[] s = Console.ReadLine().Split(' ');
int W = int.Parse(s[0]);
int H = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if (x + r <= W && y + r <= H && x - r >= 0 && y - r >= 0) {
Console.WriteLine("Yes");
} else {
Console.WriteLine("No");
}
}
}
}
|
[["-", 0, 57, 15, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 12, 203], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 12, 203]]
| 8
| 154
| 4
|
using System;
using System.Collections;
class main {
public static void Main() {
string[] input = Console.ReadLine().Split();
int W = int.Parse(input[0]), H = int.Parse(input[1]),
x = int.Parse(input[2]), y = int.Parse(input[3]),
r = int.Parse(input[4]);
if (x - r > 0 && y - r > 0 && x + r < W && y + r < H) {
Console.WriteLine("Yes");
} else
Console.WriteLine("No");
}
}
|
using System;
using System.Collections;
class main {
public static void Main() {
string[] input = Console.ReadLine().Split();
int W = int.Parse(input[0]), H = int.Parse(input[1]),
x = int.Parse(input[2]), y = int.Parse(input[3]),
r = int.Parse(input[4]);
if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H) {
Console.WriteLine("Yes");
} else
Console.WriteLine("No");
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 19], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 143
| 8
|
// Circle_in_a_Rectangle.cs
// ????????¢?????????????????????????????????????????????????????°?????????
// ????????¢?????????????????????????????¨??????????????????????????§?¨? (W,H)
// ????????????????????????????????????????????????????????§?¨? (x,y) ??¨??????
// r ??§?????????????????????
// ??\????????????????????? W, H, x, y, r ?????????
using System;
class Circle_in_a_Rectangle {
static void Main() {
var str = Console.ReadLine();
string[] s = str.Split(' ');
// ????????¢
var W = int.Parse(s[0]);
var H = int.Parse(s[1]);
// ????????§?¨?
var x = int.Parse(s[2]);
var y = int.Parse(s[3]);
// ????????????
var r = int.Parse(s[4]);
// ??????4?????????????????????????????§?¨?
var North = y + r; // ?????????
var South = y - r; // ?????????
var West = x - r; // ?\???????
var East = x + r; // ??±??????
if (North < H && South > 0 && West > 0 && East < W) {
Console.WriteLine("Yes");
}
else {
Console.WriteLine("No");
}
}
}
|
// Circle_in_a_Rectangle.cs
// ????????¢?????????????????????????????????????????????????????°?????????
// ????????¢?????????????????????????????¨??????????????????????????§?¨? (W,H)
// ????????????????????????????????????????????????????????§?¨? (x,y) ??¨??????
// r ??§?????????????????????
// ??\????????????????????? W, H, x, y, r ?????????
using System;
class Circle_in_a_Rectangle {
static void Main() {
var str = Console.ReadLine();
string[] s = str.Split(' ');
// ????????¢
var W = int.Parse(s[0]);
var H = int.Parse(s[1]);
// ?????????????????§?¨?
var x = int.Parse(s[2]);
var y = int.Parse(s[3]);
// ????????????
var r = int.Parse(s[4]);
// ??????4?????????????????????????????§?¨?
var North = y + r; // ?????????
var South = y - r; // ?????????
var West = x - r; // ?\???????
var East = x + r; // ??±??????
if (North <= H && South >= 0 && West >= 0 && East <= W) {
Console.WriteLine("Yes");
}
else {
Console.WriteLine("No");
}
}
}
|
[["-", 15, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 15, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 16, 31, 16, 12, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 185
| 8
|
using System;
namespace test {
class program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x - r >= 0 && x + r <= W)
if (y - r >= 0 && y + r <= H)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
using System;
namespace test {
class program {
static void Main() {
string[] str = Console.ReadLine().Split(' ');
int W = int.Parse(str[0]);
int H = int.Parse(str[1]);
int x = int.Parse(str[2]);
int y = int.Parse(str[3]);
int r = int.Parse(str[4]);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
}
}
}
|
[["-", 8, 201, 0, 195, 8, 196, 0, 57, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 57, 0, 121], ["-", 0, 195, 8, 196, 0, 57, 64, 57, 0, 24], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 98]]
| 8
| 148
| 4
|
using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int W = int.Parse(s[0]);
int H = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if (x > r && x < W - r) {
if (y > r && y < H - r)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
} else
Console.WriteLine("No");
}
}
|
using System;
class Program {
static void Main() {
string[] s = Console.ReadLine().Split(' ');
int W = int.Parse(s[0]);
int H = int.Parse(s[1]);
int x = int.Parse(s[2]);
int y = int.Parse(s[3]);
int r = int.Parse(s[4]);
if (x >= r && x <= W - r) {
if (y >= r && y <= H - r)
Console.WriteLine("Yes");
else
Console.WriteLine("No");
} else
Console.WriteLine("No");
}
}
|
[["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["-", 8, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 16, 12, 16, 17, 19], ["-", 64, 196, 0, 57, 15, 16, 31, 16, 17, 47], ["+", 64, 196, 0, 57, 15, 16, 31, 16, 17, 20], ["-", 64, 196, 0, 57, 15, 16, 12, 16, 17, 18], ["+", 64, 196, 0, 57, 15, 16, 12, 16, 17, 19]]
| 8
| 152
| 8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.