Skip to content

Instantly share code, notes, and snippets.

View yaki29's full-sized avatar

Yash Jain yaki29

View GitHub Profile
using namespace std;
#include<bits/stdc++.h>
int main()
{
int n;
cin>>n;
int a[n+2];
a[0] = a[n+1] = 0;
for(int i = 1; i<=n; i++)
using namespace std;
#include <bits/stdc++.h>
#define trace(x) cout<<#x<<": "<<x<<" ";
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
using namespace std;
#include <bits/stdc++.h>
#define trace(x) cout<<#x<<": "<<x<<" ";
typedef struct node
{
int data;
#include <bits/stdc++.h>
using namespace std;
/* A binary tree node has data, pointer to left child
and a pointer to right child */
struct Node
{
int data;
struct Node* left;
struct Node* right;
};
using namespace std;
#include <bits/stdc++.h>
#define trace(x) cout<<#x<<": "<<x<<" ";
int solve(string s, int n, int k)
{
if(n == 0)
return s[k];
int skip = k/((int)pow(2, n));
using namespace std;
#include <bits/stdc++.h>
#define trace(x) cout<<#x<<": "<<x<<" ";
int main(int argc, char const *argv[])
{
vector<string> v;
string s;
getline(cin, s);
int main() {
int n,l,r;
cin>>n>>l>>r;
node *root;
root=new node;
node *trav=root;
for (int i=0 ; i<n ; i++) {
int x;
from kivy.uix.boxlayout import BoxLayout
from kivy.app import App
from kivy.uix.button import Button
from functools import partial
class DemoBox(BoxLayout):
def __init__(self, **kwargs):
super(DemoBox, self).__init__(**kwargs)
self.orientation = "vertical"
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
from kivy.uix.popup import Popup
import libxml2
from pythonforandroid.toolchain import (CythonRecipe, shprint,
current_directory, info, Recipe)
from pythonforandroid.patching import will_build, check_any
import sh
from os.path import join
class Libxml2Recipe(Recipe):
version = '2.9.3'
url = 'ftp://xmlsoft.org/libxml2/libxml2-{version}.tar.gz'