mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
21 lines
No EOL
267 B
C#
21 lines
No EOL
267 B
C#
class Program
|
|
{
|
|
static int Main()
|
|
{
|
|
int result = GetValue(false, true);
|
|
return result == 0xB0 ? 0 : 1;
|
|
}
|
|
|
|
public static int GetValue(bool a, bool b)
|
|
{
|
|
if (a)
|
|
{
|
|
return 0xA0;
|
|
}
|
|
if (b)
|
|
{
|
|
return 0xB0;
|
|
}
|
|
return 0x10;
|
|
}
|
|
} |