Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <math.h>
int main(int argc, char const *argv[])
{
long long int array[10000],n,/*array size*/lon,i;
long long int output[10000],j,k,low,high,mid,l,m,lowi,highi,midi;
scanf("%lld", &n);
lon=log2(n);
for (i = 0; i < n; ++i)
{
/*wrong code*/
#include <stdio.h>
#include <math.h>
int main(int argc, char const *argv[])
{
long long int i,n,k,m,t,nin,printout;
scanf("%lld", &t);
while(t--)
{
scanf("%lld%lld%lld",&n,&k,&m);
youtube-dl -f 17 --extract-audio --audio-format=mp3 https://www.youtube.com/watch?v=pM4XqykQQfE
#!/bin/bash
ls *.epub > main
while read line
do
name=$line
ebook-convert "$line" "$line".pdf
done < $1
#!/bin/bash
ls *.epub > main
while read line
do
name=$line
ebook-convert "$line" "$line".pdf
done < $1
sudo apt-get install calibre
ls *.epub
ls *.epub > main
James Bond - 001 - Casino Royale - Ian Fleming.epub
James Bond - 002 - Live and Let Die - Ian Fleming.epub
James Bond - 003 - Moonraker - Ian Fleming.epub
James Bond - 004 - Diamonds Are Forever - Ian Fleming.epub
James Bond - 005 - From Russia with Love - Ian Fleming.epub
James Bond - 006 - Doctor No - Ian Fleming.epub
James Bond - 007 - Goldfinger - Ian Fleming.epub
James Bond - 008 - For Your Eyes Only - Ian Fleming.epub
James Bond - 009 - Thunderball - Ian Fleming.epub
James Bond - 010 - The Spy Who Loved Me - Ian Fleming.epub
#!/bin/bash
ls *.epub > main
while read line
do
ebook-convert "$line" "$line".pdf
done < $1