Exemplo n.º 1
0
 int solve(vector<Turtle> &tt)
 {
    this->tt = &tt;
    cache.clear();
    sort(tt.begin(), tt.end(), carry_desc());
    return mx(0, INT_MAX);
 }
Exemplo n.º 2
0
	inline void clear()
	{
		cache.clear();
	}