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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
#include <iostream> | |
#include <vector> | |
#include <random> | |
#include <cmath> | |
#include "mergesortTop.h" | |
#include "mergesortUp.h" | |
using namespace std; | |
random_device rd; | |
mt19937 e(rd()); |
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 zuhe(sz, a_list, index): | |
if not index <= len(sz): | |
print("FUCK YOURSELF") | |
return | |
if index == 1: | |
for x in sz: | |
new_array = a_list[:] | |
new_array.append(x) | |
print(new_array) |
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 qpl(sz, index): | |
if len(sz) == index: | |
print(sz) | |
return | |
else: | |
for x in range(index, len(sz)): | |
if x == 0: | |
new_array = sz[:] | |
qpl(new_array, index + 1) | |
else: |