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 / geek04.cpp
Created November 20, 2017 16:40
Model Solution of GEEK04
#include <bits/stdc++.h>
using namespace std;
int n;
vector<int> a;
int dp[1<<20][2];
int rec(int lft_mask, int turn) {
if (lft_mask == 0) {
return 0;
/******************************************
* AUTHOR: BHUVNESH JAIN *
* INSTITUITION: BITS PILANI, PILANI *
******************************************/
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef long double LD;