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 argparse | |
import numpy as np | |
from scipy import linalg | |
def ReadTillWhite(fd): | |
data = b'' | |
while True: | |
ch = fd.read(1) | |
if ch in b"\r\t\n ": | |
break |
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 argparse | |
import re | |
import copy | |
from collections import defaultdict | |
""" | |
format: | |
*********************** PAPER 1 *********************** | |
+++++++++++++++++ REVIEW 1 ++++++++++++++++ |
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 <iostream> | |
#include <algorithm> | |
#include <vector> | |
#include <deque> | |
using namespace std; | |
template <typename T, typename V> | |
T& operator<<(T& t, V v) | |
{ | |
t.push_back(v); |
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 <iostream> | |
#include <string> | |
#include <deque> | |
#include <array> | |
using namespace std; | |
struct Frame | |
{ | |
int p; | |
int id; |
NewerOlder