This file contains hidden or 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.Threading; | |
using System.Threading.Tasks; | |
namespace Project | |
{ | |
class Program | |
{ | |
private struct FnProp | |
{ |
This file contains hidden or 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.Threading; | |
namespace Project | |
{ | |
class Program | |
{ | |
private static List<Fork> fork = new (); |
This file contains hidden or 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.Net; | |
using System.Threading.Tasks; | |
namespace ParseCorrectPages | |
{ | |
class Source | |
{ |
This file contains hidden or 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.Diagnostics; | |
using System.Numerics; | |
MPI.Environment.Run(ref args, comm => | |
{ | |
if (comm.Rank == 0) | |
{ | |
BigInteger x = BigInteger.Parse(args[0]); | |
BigInteger res = 1; |
This file contains hidden or 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 void Parser() | |
{ | |
var src = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); | |
if (src == null) throw new Exception(); | |
src = Path.Combine(src, "..\\..\\..\\assets", "blocks.json"); | |
var blocks = JsonConvert.DeserializeObject<Dictionary<string, Lava.Blocks.json.BlockInfo>>(File.ReadAllText(src)); | |
List<string> b = new List<string>(); |
NewerOlder