Skip to content

Instantly share code, notes, and snippets.

$(document).ready(function() {
// Remove links to articles that are not yet created
$('a.new').replaceWith(function() {
return $(this).contents();
});
// Wrap tables so we can scroll them
$('table.wikitable').wrap('<div class="tablewrapper" />');
// Sort tables
import sys
def create_track(position, value, name):
quality = position * int(value)
# Use a negative position for order
return (quality, -position, name)
def main():
n, m = map(int, sys.stdin.readline().split())