CLICK ME
yes, even hidden code blocks!
print("hello world!")
#include <functional> | |
#include <chrono> | |
#include <iostream> | |
template <class> struct ExeTime; | |
// Execution time decorator | |
template <class R, class... Args> | |
struct ExeTime<R(Args ...)> { | |
public: |
float horizontalInput = Input.GetAxis("Horizontal"); | |
float verticalInput = Input.GetAxis("Vertical"); | |
Debug.Log(horizontalInput + " " + verticalInput); | |
//**************************** | |
// HP MANAGEMENT SEGMENET | |
if(xp<15) //кто блять HP назвал xp | |
UIManager.GetInstance().UIDamaged(); |
namespace OnlineCinema.Domain.Extensions; // just the project where i use this | |
public static class LevenshteinDistanceExtension | |
{ | |
public static int LevenshteinDistance(this string value, string other) | |
{ | |
int m = value.Length, n = other.Length; | |
var ed = new int[m, n]; | |
for (var i = 0; i < m; ++i) |
using System.Timers; | |
public class AsyncCaller : IAsyncDisposable | |
{ | |
private System.Timers.Timer _timer; | |
private readonly CancellationTokenSource _tokenSource; | |
private readonly EventHandler _handler; | |
private bool _completedOk; | |
public AsyncCaller(EventHandler h) |
public static class Server | |
{ | |
private static int _count = 0; | |
private static readonly object Lock = new object(); | |
public static void AddToCount(int value) | |
{ | |
lock (Lock) | |
_count += value; |
public class AsyncCaller : IAsyncDisposable | |
{ | |
private System.Timers.Timer _timer; | |
private readonly CancellationTokenSource _tokenSource; | |
private readonly EventHandler Handler; | |
private bool _completedOk; | |
public AsyncCaller(EventHandler h) | |
{ | |
_tokenSource = new CancellationTokenSource(); |
namespace Codity; | |
public class NumberOfDiscIntersections | |
{ | |
const int MaxIntersectingPairs = 10000000; | |
public int solution(int[] A) | |
{ | |
var result = 0; | |
int[] left = new int[A.Length], |