This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class StrUtils | |
{ | |
static string cRef = | |
"\n\n\n\n\n" + | |
"\n'|¦ˉ‘’‚" + | |
"\nј" + | |
"\n !I`ijl ¡¨¯´¸ÌÍÎÏìíîïĨĩĪīĮįİıĵĺļľłˆˇ˘˙˚˛˜˝ІЇії‹›∙" + | |
"\n(),.1:;[]ft{}·ţťŧț" + | |
"\n\"-rªºŀŕŗř" + | |
"\n*²³¹" + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using VRageMath; | |
namespace Script | |
{ | |
#region ingame script start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BigInteger ProdTree(int l, int r) | |
{ | |
if (l > r) | |
return 1; | |
if (l == r) | |
return l; | |
if (r - l == 1) | |
return (BigInteger)l * r; | |
int m = (l + r) / 2; | |
return ProdTree(l, m) * ProdTree(m + 1, r); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace csv | |
{ | |
static class CSV | |
{ |
NewerOlder