Skip to content

Instantly share code, notes, and snippets.

View donjar's full-sized avatar

Herbert Ilhan Tanujaya donjar

View GitHub Profile
#include <bits/stdc++.h>
using namespace std;
#define PI acos(-1.0)
#define MOD 1000000007
template<class T1, class T2>
using umap = unordered_map<T1, T2>;
template<class T>
using uset = unordered_set<T>;
@donjar
donjar / a.rs
Created February 11, 2020 06:34
use actix::prelude::*;
pub struct Msg {
}
impl Message for Msg {
type Result = ();
}
pub struct AsyncActorThatOnlySpewsState {