Skip to content

Instantly share code, notes, and snippets.

View haridutt12's full-sized avatar
🎯
Focusing

haridutt12

🎯
Focusing
View GitHub Profile
#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>
class Person
#attr_accessor :is_alive
def initialize
@is_alive=true
end
def is_alive
return @is_alive
end
require 'minitest/autorun'
require_relative '1june'
class TestPerson < Minitest::Test
def setup
@person = Person.new
end
def test_initialize
package main
import (
"flag"
"fmt"
"os"
"path/filepath"
"strings"
)
#!/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 (
"fmt"
"io/ioutil"
"net/http"
"os"
)
func main() {
package main
import (
"fmt"
"time"
)
func say(s string) {
for i := 0; i < 5; i++ {
package main
import (
"fmt"
)
func sum(a []int, ch chan int) {
s := 0
for i := 0; i < len(a); i++ {
s += a[i]
package main
import (
"fmt"
"io"
"net"
"strconv"
"time"
)