Search found 1 match

by dik
Mon Aug 28, 2006 6:12 pm
Forum: Volume 110 (11000-11099)
Topic: 11034 - Ferry Loading IV
Replies: 15
Views: 10668

Time Limit

Why I got TL ???

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>

using namespace std;

int main() {

long n,m,l;
vector< pair<long,string> > cars;

cin >>n;
while (n--) {
cin >>l >>m;
l*= 100;

cars.clear();

while (m--) {
long len;
string bank;

cin >>len ...

Go to advanced search