## Search found 15 matches

Fri Dec 18, 2009 5:47 am
Forum: Volume 103 (10300-10399)
Topic: 10342 - Always Late
Replies: 25
Views: 10834

### Re: 10342 - Always Late

hi All,
I tried all the cases on the forum and my code produce the same output, any other tricky cases ?!

here is my code

Code: Select all

``Accepted``
Mon Oct 05, 2009 10:11 am
Forum: Volume 116 (11600-11699)
Topic: 11693 - Speedy Escape
Replies: 7
Views: 3455

### Re: 11693 - Speedy Escape

hey
Sat Oct 03, 2009 5:11 pm
Forum: Volume 116 (11600-11699)
Topic: 11693 - Speedy Escape
Replies: 7
Views: 3455

### 11693 - Speedy Escape

Hi all, I got WA in this problem this is what I do:- 1- calculate the shortest path between the brothers start and all exits using dijkstra. 1- calculate the shortest path between the police start and all exits using dijkstra. 3- for(i = 0 to e) if (brotherDistance > policeDistance) continue; else c...
Thu Sep 03, 2009 12:08 am
Forum: Volume 108 (10800-10899)
Topic: 10801 - Lift Hopping
Replies: 56
Views: 26388

### Re: 10801 - Lift Hopping

hi all

how could i know number of changing elevators?

Fri Sep 26, 2008 4:09 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 60394

### Re: 10200 - Prime Time

Why TLE

I first generate all primes from 0 to 100010041 , and save them in array

then count the number of deprime from 0 to i from 0 to 10000

this is my code ,, any help please

Code: Select all

`` deleted ``
Thu Jun 12, 2008 10:01 pm
Forum: Volume 6 (600-699)
Topic: 640 - Self Numbers
Replies: 47
Views: 17890

### Re: 640 - Self Numbers

thanks jan , really what about 1000000
,I have got accepted
Thu Jun 12, 2008 5:25 pm
Forum: Volume 6 (600-699)
Topic: 640 - Self Numbers
Replies: 47
Views: 17890

### Re: 640 - Self Numbers

this is the last Self numbers my code generated

999943
999945
999956
999967
999978
999989

what is the missing one here
i get WA

this is my code ,, plz any help.. thanx in advace

Code: Select all

``````Deleted After accepted
``````
Thu Jun 12, 2008 12:28 am
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22322

### Re: 11371 - Number Theory for Newbies

thaaax rio I get accepted
Fri May 30, 2008 12:23 am
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22322

### Re: 11371 - Number Theory for Newbies

i changed my code and modified it but I still get WA

Code: Select all

``````deleted after accepted
``````
Mon Apr 28, 2008 4:52 pm
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22322

### Re: 11371 - Number Theory for Newbies

i tried all test cases and get correct answer but i get WA from the judje please any help this is my code # include <iostream> # include <algorithm> # include <stdlib.h> # include <string> using namespace std; long long int GetIntVal(string strConvert) { long long int intReturn; intReturn = atoi(str...
Sun Apr 20, 2008 1:52 am
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 27841

### Re: 10279 - Mine Sweeper

commented it but still WA :s
Fri Apr 18, 2008 4:15 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 65705

### Re: 10189 - Minesweeper

Jan wrote:The problem states...
There must be an empty line between field outputs.
But you are printing an empty line after each input set.
thanx Jan i get AC in Minesweeper but now I get WA in Mine Sweeper
Fri Apr 18, 2008 4:10 am
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 27841

### Re: A question of format, problem 10279 Minesweeper

hey all i tried this test cases but i still get WA this is my code and any one help me please # include <iostream> using namespace std; int main() { int numOfgames; cin>>numOfgames; cout<<endl; bool blank = false; for (int N=0;N<numOfgames;N++) { if (blank) cout<<endl; int numOfR; cin>>numOfR; int M...
Sat Apr 12, 2008 4:00 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 65705

### Re: 10189 awful really awful WA!!!!!!

i get WA and i didn't know my error help me pleaaas :cry: this is my code # include <iostream> using namespace std; int main() { int numberOfRows,numberOfColumns,counter=1; while(cin>>numberOfRows>>numberOfColumns) { if (numberOfRows == 0 && numberOfColumns == 0) break; char board[110][110]; int MS[...
Tue Apr 01, 2008 11:07 pm
Forum: Volume 102 (10200-10299)
Topic: 10245 - The Closest Pair Problem
Replies: 92
Views: 10011

### Re: 10245 Trick input?

I'm a beginer in c++, and I get TLE in this problem PLZ any one tell me what make it TLE this is my code # include <iostream> # include <cmath> # include <iomanip> using namespace std; struct Dimension { double X_coordinate; double Y_coordinate; }; double DISTANCE[49995500]; int main() { Dimension p...