Skip to content

Instantly share code, notes, and snippets.

View likecs's full-sized avatar
👨‍💻
Chilling!!!

Bhuvnesh Jain likecs

👨‍💻
Chilling!!!
  • Faridabad, Haryana, India
View GitHub Profile
@likecs
likecs / geek03-2.cpp
Created November 20, 2017 16:42
Model Solution 2 of GEEK03
#include <bits/stdc++.h>
using namespace std;
int main() {
int t, n;
string s;
cin >> t;
while(t--) {
cin >> n;
map<string, int> mp;
@likecs
likecs / geek05-2.cpp
Created November 20, 2017 16:42
Model Solution 2 of GEEK05
#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
const int MOD = 1e9 + 7;
long long a[MAX];
int main() {
a[0] = 1;