Search found 1 match

by ShaunOfTheLive
Fri Apr 29, 2011 7:35 am
Forum: Volume 103 (10300-10399)
Topic: 10310 - Dog and Gopher
Replies: 47
Views: 23117

Re: 10310 - Dog and Gopher

I got TLE with my code.... Can someone help????

#include<cmath>
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
int N, i, c = 0;
while(1)
{
if(c != 0) cout << endl;
cin >> N;
c++;
int res = 0;
float dogx, dogy, gopx, gopy, escapex, escapey;
float holex[N], holey[N ...

Go to advanced search