Search found 2 matches

by LeonardoB
Tue Jun 07, 2011 6:51 pm
Forum: Volume 109 (10900-10999)
Topic: 10986 - Sending email
Replies: 65
Views: 39532

TLE Sending email 10986

Hi.

I got tle in this problem using Dijkstra algorithm and priority queu.


include <cstdlib>
#include <string>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <iostream>
#include <map>
#include <list>
#include <utility>
#include <algorithm>
#include <cmath ...
by LeonardoB
Wed May 11, 2011 3:52 pm
Forum: Volume 113 (11300-11399)
Topic: 11351 - Last Man Standing
Replies: 7
Views: 4511

11351 - Last Man Standing

Hi everybody.

I was trying to attack this problem using a tree but got TLE. Which is how I can optimize this?

#include <cstdlib>
#include <string>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <iostream>
#include <map>
#include <algorithm>
#include <cmath ...

Go to advanced search