Skip to content

Instantly share code, notes, and snippets.

View haridutt12's full-sized avatar
🎯
Focusing

haridutt12

🎯
Focusing
View GitHub Profile
package main
import (
"fmt"
"io/ioutil"
"net/http"
"os"
)
func main() {
#!/bin/bash
declare -A Count
echo "hit CTRL-C to stop"
echo "enter value of n"
read N
while [ 1 ]
do
read input
package main
import (
"flag"
"fmt"
"os"
"path/filepath"
"strings"
)
require 'minitest/autorun'
require_relative '1june'
class TestPerson < Minitest::Test
def setup
@person = Person.new
end
def test_initialize
class Person
#attr_accessor :is_alive
def initialize
@is_alive=true
end
def is_alive
return @is_alive
end
#include <fstream>
#include <iostream>
#include <limits>
#include <string>
//#include <windows.h>
#include <bits/stdc++.h>
using namespace std;
template <typename T>
#include <fstream>
#include <iostream>
#include <limits>
#include <string>
#include<windows.h>
#include<bits/stdc++.h>
using namespace std;
template <typename T>
#include <fstream>
#include <iostream>
#include <limits>
#include <string>
#include <windows.h>
#include <ctime>
#include <bits/stdc++.h>
using namespace std;
template <typename T>
#include <bits/stdc++.h>
using namespace std;
struct job
{
int start;
int end;
};
bool sorting(job const& lhs, job const& rhs)
{
if (lhs.start != rhs.start)
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>