Skip to content

Instantly share code, notes, and snippets.

View Hervnzig's full-sized avatar
💭
I got 99 problems, and a bug is still one.

Herve Musangwa Hervnzig

💭
I got 99 problems, and a bug is still one.
View GitHub Profile
public class AnimatedActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
//opening transition animations
overridePendingTransition(R.anim.activity_open_translate,R.anim.activity_close_scale);
}
@Hervnzig
Hervnzig / kingdom-division-long.cpp
Created March 23, 2019 15:00 — forked from Owlree/kingdom-division-long.cpp
Solution for the Kingdom Division problem on HackerRank.
#include <iostream>
#include <map>
#include <set>
#include <tuple>
#include <queue>
using namespace std;
const long long MOD = 1000000007;
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace KingdomDivision
{
class Edge
{
public int start;