This file contains hidden or 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 <bits/stdc++.h> | |
using namespace std; | |
using namespace std::chrono; | |
using pii = pair<int, int>; | |
using l = long; | |
using ll = long long; | |
using ull = unsigned long long; | |
void solve(); |
This file contains hidden or 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 <string> | |
#include <algorithm> | |
#include <vector> | |
#include <tuple> | |
#include <iostream> | |
#include <optional> | |
void usage(const std::string& progName) { | |
std::cout << progName << " -X FILE -P FILE -O DIRECTORY " << std::endl |
This file contains hidden or 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
#setting sync |
This file contains hidden or 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
import socket | |
import struct | |
import sys | |
import binascii | |
assert len(sys.argv) ==3 | |
IP = sys.argv[1] | |
PORT = sys.argv[2] | |
print "Connecting to",IP, "on port", PORT |
OlderNewer