This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
from feedfinder2 import find_feeds | |
#move it to /usr/bin remove that py suffix in the file name, saved it like this for highlighting | |
#add new feeds by typing addfeed "example.com" | |
for i in sys.argv: | |
print(i) | |
ls=sys.argv[1:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def solve(): | |
n=int(input()) | |
l=map(int,input().split()) | |
l=set(l) #in case there are duplicate elements | |
xorall=0 | |
for i in l: | |
xorall^=i | |
#check if this is not zero and satisfies the property | |
newset=[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader=" " | |
set number | |
set mouse=a | |
syntax enable | |
set showcmd | |
set ruler | |
set cursorline | |
set encoding=utf-8 | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'preservim/nerdtree' |