Search found 11 matches

by fayyazkl
Tue Jul 04, 2006 6:57 am
Forum: Volume 1 (100-199)
Topic: 142 - Mouse Clicks
Replies: 58
Views: 11647

WA in 142 :)

I have changed my code to the form that it processes each mouse click as it is entered and now i am getting WA!!

i hate to post code but got no choice. Please help!!!


# include <iostream>
# include <cmath>
# include <iomanip>
//# include <fstream>

using namespace std;

struct icon
{
int x,y ...
by fayyazkl
Tue Jul 04, 2006 6:32 am
Forum: Volume 1 (100-199)
Topic: 142 - Mouse Clicks
Replies: 58
Views: 11647

RUN TIME ERROR :)

HI ALL!

I HAVE READ ALL THE POSTS. ALL IMPROVED MY PROGRAM SO FAR. I HAVE ONE THING DIFFERENT FROM ALL OTHERS. I START PRINTING ANY THING AFTER THE USER HAS INPUT THE '#' CHARACTER. THERE IS NO SUCH SPECIFICATION FORBIDDING THIS. CAN ANY BODY HELP ME ON THAT.

is it okay to store all mouse clicks ...
by fayyazkl
Fri Jun 30, 2006 10:52 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77222

GE finally solved :-)

Hello John!

FINALLLY FINALLY its DONE!!!!!(ACC) Thank you Allah Almighty!!
I am really thankful to you john for extending your help. Since the day i started the board i admit that i do get help from EXISTING POSTS but so far, it has been very rare that some body in particular helped or responded me ...
by fayyazkl
Thu Jun 29, 2006 11:30 am
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77222

Still problems around :)

Hi John!

Thnx alot for your help! I have really been tired of this problem as it simply doesnt seem to work my way. I have followed all the points you have told me.

First, the convention of using cin twice doesnt matter in this problem. That i can tell you from my experience on this online judge ...
by fayyazkl
Wed Jun 21, 2006 2:18 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79366

673 How use cin in C++

It seems quite silly to answer a post two years old. But i thought just in case.... :)

HERE IS THE POST

Zhao Le wrote:

I have occurred to the same question.

I can solve when using
first gets();
then atoi();

but it is C like.

I hate to both include iostream and stdio
my question is how ...
by fayyazkl
Thu Apr 06, 2006 7:17 am
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 22442

576 WA PLEASE HELP

HI EVERYBODY!

I HAVE TRIED MY LEVEL BEST AND MY PROGRAM GIVES THE CORRECT ANSWER FOR EVERY INPUT I CAN THINK OF. BUT I AM GETTING WA. PLEASE TELL ME WHAT'S WRONG WITH THE CODE OR SUPPLY SOME INPUT ON WHICH MY PROGRAM FAILS!! THANK YOU


# include <iostream>
# include <cstring>
using namespace std ...
by fayyazkl
Mon Apr 03, 2006 9:22 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48078

490 please help WA

I have checked all inputs available on the board. Here is my code. Please help a little!! I shall be really grateful


# include <iostream>
using namespace std;

main ()
{

char rot[101][101];
char trans[101][101];
int i=0,k, rows=0;

for (int p=0; p<101; p++) // fill whole array with spaces ...
by fayyazkl
Sat Apr 01, 2006 12:07 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77222

Please any one!! HELP ME

Its been a long time since i have submitted this problem. The only progress is that i now KNOW THAT MY PROGRAM FAILS ON FLOOD FILL IF THE SIZE OF THE IMAGE GETS GREATER THAN 101 x 101. The program gets terminated. I have heard that recursive function is okay. And i wrote it. Secondly, i dont seem to ...
by fayyazkl
Wed Mar 22, 2006 3:53 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152649

I dont think bool data type is part of C++ ANSI standard. You might be using Visual Studio or something which works but this wont
by fayyazkl
Sat Mar 18, 2006 11:09 pm
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 70208

The Trip 10137

You need to find the MINUMUM amount required to be exchanged. For that matter you have to find a way to test ONLY UPTO TWO DECIMAL PLACES as to what is the corrent amount. Secondly your A. Mean should also be rounded upto two decimal places.

Example : in the second test case given in the problem ...
by fayyazkl
Thu Mar 16, 2006 10:03 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77222

10267 Graphical Editor

Hi i am new to this domain! but not to programming
Here is my code! can any body tell why is it getting WA or atleast suggest an input that fails. I shall be really grateful!


# include <iostream>
# include <cstdio>
using namespace std;

char image[250][250];
int n,m;
void fill (int, int, char,char ...

Go to advanced search